Hello community, here is the log from the commit of package virtme for openSUSE:Factory checked in at 2019-10-25 18:42:54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/virtme (Old) and /work/SRC/openSUSE:Factory/.virtme.new.2990 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "virtme" Fri Oct 25 18:42:54 2019 rev:2 rq:742761 version:0.1.1 Changes: -------- --- /work/SRC/openSUSE:Factory/virtme/virtme.changes 2019-10-24 23:02:51.900081190 +0200 +++ /work/SRC/openSUSE:Factory/.virtme.new.2990/virtme.changes 2019-10-25 18:43:01.375948334 +0200 @@ -1,0 +2,15 @@ +Thu Oct 17 02:06:33 UTC 2019 - Marcos de Souza <[email protected]> + +- Current Tumbleweed's busybox does not work with virtme. For now require + busybox-static since it works; + * 0001-mkinitramfs.py-Search-for-busybox-.-static-first.patch: Check for + busybox-static over dynamically linked busybox +- Change the dependency to busybox-static instead of the dynamically linked on. + +------------------------------------------------------------------- +Wed Oct 16 17:51:50 UTC 2019 - Jan Engelhardt <[email protected]> + +- Trim bias, conjecture and vision from descriptions. +- Use noun phrase in summary. + +------------------------------------------------------------------- New: ---- 0001-mkinitramfs.py-Search-for-busybox-.-static-first.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ virtme.spec ++++++ --- /var/tmp/diff_new_pack.YXcue9/_old 2019-10-25 18:43:01.843948779 +0200 +++ /var/tmp/diff_new_pack.YXcue9/_new 2019-10-25 18:43:01.847948783 +0200 @@ -12,36 +12,36 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # + %define name virtme %define version 0.1.1 %define skip_python2 1 Name: %{name} Version: %{version} -Release: 1 -Summary: Virtualize the running distro or a simple rootfs +Release: 0 +Summary: Tools for virtualize the running distro or a rootfs License: GPL-2.0-only Group: Development/Tools/Other Url: https://git.kernel.org/cgit/utils/kernel/virtme/virtme.git Source0: https://git.kernel.org/pub/scm/utils/kernel/virtme/virtme.git/snapshot/%{name}-%{version}.tar.gz +Patch1: 0001-mkinitramfs.py-Search-for-busybox-.-static-first.patch BuildRequires: %{python_module setuptools} BuildRequires: python-rpm-macros +Requires: busybox-static Requires: qemu -Requires: busybox BuildArch: noarch %description -Virtme is a set of simple tools to run a virtualized Linux kernel that -uses the host Linux distribution or a simple rootfs instead of a whole +Virtme is a set of tools to run a virtualized Linux kernel that +uses the host Linux distribution or a rootfs instead of a whole disk image. -Virtme is tiny, easy to use, and makes testing kernel changes quite simple. - -Some day this might be useful as a sort of sandbox. Right now it's not -really configurable enough for that. +Right now it is not really configurable enough for being useful as a +sort of sandbox. %prep %autosetup -n %{name}-%{version} -p1 @@ -62,3 +62,5 @@ %{_bindir}/virtme-run %{python_sitelib}/%{name} %{python_sitelib}/%{name}-%{version}-py*.egg-info + +%changelog ++++++ 0001-mkinitramfs.py-Search-for-busybox-.-static-first.patch ++++++ >From f2b13f805a203b7aaa5e4ba09cceb06396903e6c Mon Sep 17 00:00:00 2001 From: Marcos Paulo de Souza <[email protected]> Date: Wed, 16 Oct 2019 23:01:56 -0300 Subject: [PATCH] mkinitramfs.py: Search for busybox{.,-}static first In currentl Tumbleweed, using busybox dynamic linked does not work. For now let's check if we have busybox static first. Fix: #51 Signed-off-by: Marcos Paulo de Souza <[email protected]> --- virtme/mkinitramfs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/virtme/mkinitramfs.py b/virtme/mkinitramfs.py index 8fb2f0e..193f510 100644 --- a/virtme/mkinitramfs.py +++ b/virtme/mkinitramfs.py @@ -169,7 +169,7 @@ def mkinitramfs(out, config) -> None: def find_busybox(root, is_native) -> Optional[str]: for p in itertools.product(['usr/local', 'usr', ''], ['bin', 'sbin'], - ['', '-static', '.static']): + ['-static', '.static', '']): path = os.path.join(root, p[0], p[1], 'busybox' + p[2]) if os.path.isfile(path): return path -- 2.23.0
