Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=dex77testing.git;a=commitdiff;h=f7919e6ce19fbcbeae643d0b1e9bbd2f4dd7ff77
commit f7919e6ce19fbcbeae643d0b1e9bbd2f4dd7ff77 Author: DeX77 <[email protected]> Date: Sun May 4 20:44:24 2014 +0200 dracut-037-5-x86_64 * fix build of kernel-initrd using fakeroot diff --git a/source/base-extra/dracut/FrugalBuild b/source/base-extra/dracut/FrugalBuild index 1ef4de5..e055d844 100644 --- a/source/base-extra/dracut/FrugalBuild +++ b/source/base-extra/dracut/FrugalBuild @@ -3,7 +3,7 @@ pkgname=dracut pkgver=037 -pkgrel=4 +pkgrel=5 pkgdesc="Generic initramfs generation tool" depends=('systemd' 'util-linux' 'bash' 'dash' 'kbd' 'cpio' 'multipath-tools' 'lvm2' 'popt' 'keyutils') makedepends=("docbook-sgml-dtd" "libxslt" "docbook-xsl" "docbook-xml" "asciidoc") @@ -11,8 +11,11 @@ groups=('base-extra') archs=('i686' 'x86_64') url="http://www.kernel.org/pub/linux/utils/boot/dracut/dracut.html" up2date="Flasttar http://www.kernel.org/pub/linux/utils/boot/dracut/" -source=(http://kernel.org/pub/linux/utils/boot/dracut/$pkgname-$pkgver.tar.xz config.patch fix-modsign.patch) -signatures=(${source/.tar.xz/.tar.sign} '' '') +source=(http://kernel.org/pub/linux/utils/boot/dracut/$pkgname-$pkgver.tar.xz \ + config.patch \ + fix-modsign.patch \ + fix_fakeroot.patch) +signatures=(${source/.tar.xz/.tar.sign} '' '' '') backup=(etc/dracut.conf) options=('scriptlet' 'force') diff --git a/source/base-extra/dracut/fix_fakeroot.patch b/source/base-extra/dracut/fix_fakeroot.patch new file mode 100644 index 0000000..ea2e5dd --- /dev/null +++ b/source/base-extra/dracut/fix_fakeroot.patch @@ -0,0 +1,11 @@ +--- dracut-037.old/dracut.sh 2014-03-19 17:16:08.000000000 +0100 ++++ dracut-037.new/dracut.sh 2014-05-04 20:40:39.000000000 +0200 +@@ -1480,7 +1480,7 @@ + rm -f -- "$outfile" + dinfo "*** Creating image file ***" + +-[[ "$UID" != 0 ]] && cpio_owner_root="-R 0:0" ++cpio_owner_root="-R 0:0" + + if [[ $create_early_cpio = yes ]]; then + echo 1 > "$early_cpio_dir/d/early_cpio" _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
