summaryrefslogtreecommitdiffstats
path: root/move/hack_boot_img
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-12-02 19:11:10 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-12-02 19:11:10 +0000
commit93e0970c6d78b556b2cd248920f6903dfa0e097d (patch)
treec67e13b5ea4570a886abd5c8c893c7b06ef10e34 /move/hack_boot_img
parentdf4589acd9e285e7e16f31e53e0f81777fc1f783 (diff)
downloaddrakx-backup-do-not-use-93e0970c6d78b556b2cd248920f6903dfa0e097d.tar
drakx-backup-do-not-use-93e0970c6d78b556b2cd248920f6903dfa0e097d.tar.gz
drakx-backup-do-not-use-93e0970c6d78b556b2cd248920f6903dfa0e097d.tar.bz2
drakx-backup-do-not-use-93e0970c6d78b556b2cd248920f6903dfa0e097d.tar.xz
drakx-backup-do-not-use-93e0970c6d78b556b2cd248920f6903dfa0e097d.zip
we need usb/firewire support for usb/fireware cdroms!
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";