Set cpio blocksize to 64K.
authorRichard Jones <rjones@redhat.com>
Wed, 11 Nov 2009 10:55:26 +0000 (10:55 +0000)
committerRichard Jones <rjones@redhat.com>
Wed, 11 Nov 2009 10:55:26 +0000 (10:55 +0000)
See:
https://www.redhat.com/archives/fedora-devel-list/2009-November/thread.html#00523

appliance/libguestfs-supermin-helper.in

index a096ea4..69f22e4 100755 (executable)
@@ -83,4 +83,4 @@ find "$modpath" \( -not -name '*.ko' $whitelist \) -a -print0 |
   ls -1df $(
       cat "$sourcedir"/initramfs.@REPO@.@host_cpu@.supermin.hostfiles
     ) 2>/dev/null |
   ls -1df $(
       cat "$sourcedir"/initramfs.@REPO@.@host_cpu@.supermin.hostfiles
     ) 2>/dev/null |
-  cpio --quiet -o -H newc ) >> "$initrd"
+  cpio -C 65536 --quiet -o -H newc ) >> "$initrd"