summaryrefslogtreecommitdiffstats
path: root/move/hack_boot_img
diff options
context:
space:
mode:
Diffstat (limited to 'move/hack_boot_img')
-rwxr-xr-xmove/hack_boot_img2
1 files changed, 1 insertions, 1 deletions
diff --git a/move/hack_boot_img b/move/hack_boot_img
index 3d564616b..1f95cce8e 100755
--- a/move/hack_boot_img
+++ b/move/hack_boot_img
@@ -67,7 +67,7 @@ sub initrd {
my $tar = "$instdir/stage1-data/stage1-with-busybox.tar.bz2";
__ "$sudo umount $tmp $mnt 2>/dev/null";
- _ "dd if=/dev/zero of=$tmp bs=1k count=4000";
+ _ "dd if=/dev/zero of=$tmp bs=1k count=" . ($arch =~ /ia64/ ? 16386 : ($type eq "all" ? 6000 : 4000));
_ "$mke2fs $tmp";
_ "$sudo mount -t ext2 $tmp $mnt -o loop";