Debian's cpio defaults to writing some obsolete format, not 'newc'.
authorRichard Jones <rjones@debian5x64.home.annexia.org>
Sun, 24 May 2009 14:34:32 +0000 (15:34 +0100)
committerRichard Jones <rjones@debian5x64.home.annexia.org>
Sun, 24 May 2009 14:34:32 +0000 (15:34 +0100)
febootstrap-to-initramfs.sh

index 849aa7b..54ee046 100755 (executable)
@@ -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