summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Jones <rjones@debian5x64.home.annexia.org>2009-05-24 15:34:32 +0100
committerRichard Jones <rjones@debian5x64.home.annexia.org>2009-05-24 15:34:32 +0100
commit0eacd743cb1ff655a09f7b941320a0235d482df0 (patch)
treec5bca4084711cb940815d75d85a6578bae1065c5
parent2536674e8ad5c2ffd32336141154cefa5140632e (diff)
downloadfebootstrap-0eacd743cb1ff655a09f7b941320a0235d482df0.tar.gz
febootstrap-0eacd743cb1ff655a09f7b941320a0235d482df0.tar.xz
febootstrap-0eacd743cb1ff655a09f7b941320a0235d482df0.zip
Debian's cpio defaults to writing some obsolete format, not 'newc'.
-rwxr-xr-xfebootstrap-to-initramfs.sh4
1 files 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