From: Richard Jones Date: Sun, 24 May 2009 14:34:32 +0000 (+0100) Subject: Debian's cpio defaults to writing some obsolete format, not 'newc'. X-Git-Tag: 2.1~3 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=0eacd743cb1ff655a09f7b941320a0235d482df0;p=febootstrap.git Debian's cpio defaults to writing some obsolete format, not 'newc'. --- diff --git a/febootstrap-to-initramfs.sh b/febootstrap-to-initramfs.sh index 849aa7b..54ee046 100755 --- a/febootstrap-to-initramfs.sh +++ b/febootstrap-to-initramfs.sh @@ -36,7 +36,7 @@ set -e if [ -f fakeroot.log ]; then fakeroot -i fakeroot.log \ - sh -c 'find -not -name fakeroot.log -a -print0 | cpio -o0c | gzip --best' + sh -c 'find -not -name fakeroot.log -a -print0 | cpio -o -0 -c -H newc | gzip --best' else - find -not -name fakeroot.log -a -print0 | cpio -o0c | gzip --best + find -not -name fakeroot.log -a -print0 | cpio -o -0 -c -H newc | gzip --best fi