Hello community, here is the log from the commit of package virt-sandbox for openSUSE:Factory checked in at 2017-05-31 12:21:16 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/virt-sandbox (Old) and /work/SRC/openSUSE:Factory/.virt-sandbox.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "virt-sandbox" Wed May 31 12:21:16 2017 rev:13 rq:499771 version:0.6.0 Changes: -------- --- /work/SRC/openSUSE:Factory/virt-sandbox/virt-sandbox.changes 2015-09-17 09:21:56.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.virt-sandbox.new/virt-sandbox.changes 2017-05-31 12:21:18.167182296 +0200 @@ -1,0 +2,6 @@ +Tue May 30 13:22:44 UTC 2017 - cbosdon...@suse.com + +- Add ext4 module to QEMU initrd to load ext* root images. + 559b54d-load-ext4.patch. bsc#944325 + +------------------------------------------------------------------- New: ---- 559b54d-load-ext4.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ virt-sandbox.spec ++++++ --- /var/tmp/diff_new_pack.O52Br4/_old 2017-05-31 12:21:20.010922022 +0200 +++ /var/tmp/diff_new_pack.O52Br4/_new 2017-05-31 12:21:20.010922022 +0200 @@ -1,7 +1,7 @@ # # spec file for package virt-sandbox # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -31,7 +31,8 @@ # Upstream patches Patch0: dhcp-fix.patch -Patch1: f24d003b-sync-unmount-shutdown.patch +Patch1: 559b54d-load-ext4.patch +Patch2: f24d003b-sync-unmount-shutdown.patch # Patches pending upstream review @@ -96,6 +97,7 @@ %setup -q -n libvirt-sandbox-%{version} %patch0 -p1 %patch1 -p1 +%patch2 -p1 %patch200 -p1 %build ++++++ 559b54d-load-ext4.patch ++++++ Index: libvirt-sandbox-0.6.0/libvirt-sandbox/libvirt-sandbox-builder-machine.c =================================================================== --- libvirt-sandbox-0.6.0.orig/libvirt-sandbox/libvirt-sandbox-builder-machine.c +++ libvirt-sandbox-0.6.0/libvirt-sandbox/libvirt-sandbox-builder-machine.c @@ -187,6 +187,13 @@ static gchar *gvir_sandbox_builder_machi * the file isn't found */ gvir_sandbox_config_initrd_add_module(initrd, "af_packet.ko"); + /* In case ext4 is built as a module, include it and its deps + * for the root mount */ + gvir_sandbox_config_initrd_add_module(initrd, "crc16.ko"); + gvir_sandbox_config_initrd_add_module(initrd, "mbcache.ko"); + gvir_sandbox_config_initrd_add_module(initrd, "jbd2.ko"); + gvir_sandbox_config_initrd_add_module(initrd, "ext4.ko"); + if (!gvir_sandbox_builder_initrd_construct(builder, initrd, targetfile, error)) goto cleanup;