diff --git a/libguestfs.changes b/libguestfs.changes index c25cf30..d1de9df 100644 --- a/libguestfs.changes +++ b/libguestfs.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Nov 29 20:25:33 CET 2012 - ohering@suse.de + +- update BuildRequire ext4-writeable-kmp-default handling + enable it unconditional in sles11 builds, but not in the + Virtualization repo because its a private package. + ------------------------------------------------------------------- Thu Nov 29 20:15:11 CET 2012 - ohering@suse.de diff --git a/libguestfs.spec b/libguestfs.spec index 55ef527..6b31182 100644 --- a/libguestfs.spec +++ b/libguestfs.spec @@ -281,9 +281,18 @@ BuildRequires: cryptsetup BuildRequires: diffutils BuildRequires: dosfstools BuildRequires: e2fsprogs -%if "%_project" == "Devel:Virt:SLE-11-SP3" +# ext4 in the sles11 kernel-binary.rpm packages operates only in read-only mode. +# The generated initrd operates inside the temporary guest on image files. +# For that reason it needs to make modifications to any kind of filesystems. +# Make use of an ext4 driver with write support. But: +# This package exists only in the internal buildservice, so require it only there. +%if %suse_version == 1110 +%if "%_project" == "Virtualization" +# package does not exist in OBS main repo +%else BuildRequires: ext4-writeable-kmp-default %endif +%endif BuildRequires: file BuildRequires: findutils BuildRequires: gawk