From 0eacd743cb1ff655a09f7b941320a0235d482df0 Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Sun, 24 May 2009 15:34:32 +0100 Subject: [PATCH] Debian's cpio defaults to writing some obsolete format, not 'newc'. --- febootstrap-to-initramfs.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 1.8.3.1