-
Download http://download.opensuse.org/repositories/OBS:/Server:/Unstable/images/iso/obs-server.x86_64.install.iso (at the time I tried it was obs-server.x86_64-2.4.51-Build8.12.install.iso)
-
Create a virtual machine. I used virt-manager with the qemu (kvm) backend, 2048M RAM, 2 (out of 4) CPU cores, installing from the .iso to a 120GB qcow2 virtual disk - at the time of writing it needs to be at least
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# Copyright © 2020-2022 Collabora Ltd. | |
# | |
# SPDX-License-Identifier: MIT | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining | |
# a copy of this software and associated documentation files (the | |
# "Software"), to deal in the Software without restriction, including | |
# without limitation the rights to use, copy, modify, merge, publish, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 4313d3755a182cf6dc5ca526549ecb5cd140fde5 Mon Sep 17 00:00:00 2001 | |
From: Simon McVittie <[email protected]> | |
Date: Mon, 26 Oct 2020 13:27:55 +0000 | |
Subject: [PATCH] _v2-entry-point: Check whether launch_args is empty before | |
use | |
In newer versions of bash, an empty array counts as having been set, | |
and can be dereferenced as `"${array[@]}"` without triggering `set -u`. | |
However, in older versions, empty arrays count as being unset, and the | |
entry point script fails with `launch_args[@]: unbound variable`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# python 2.7 and >= 3.4 supported | |
from __future__ import print_function | |
import sys | |
if (sys.version_info < (3, 0)): | |
assert(sys.version_info >= (2, 7)) | |
else: |