diff options
author | Pascal Rigaux <pixel@mandriva.com> | 1999-10-28 09:41:32 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 1999-10-28 09:41:32 +0000 |
commit | f438f4f5caf143c0c6f263e09c9702b6876b91cf (patch) | |
tree | c4195a73c64e7ed42531a8b0ca997d0fec60b544 /make_boot_img | |
parent | b4a722c16e9be060fac6a9e5bb14ee43ea048163 (diff) | |
download | drakx-f438f4f5caf143c0c6f263e09c9702b6876b91cf.tar drakx-f438f4f5caf143c0c6f263e09c9702b6876b91cf.tar.gz drakx-f438f4f5caf143c0c6f263e09c9702b6876b91cf.tar.bz2 drakx-f438f4f5caf143c0c6f263e09c9702b6876b91cf.tar.xz drakx-f438f4f5caf143c0c6f263e09c9702b6876b91cf.zip |
no_comment
Diffstat (limited to 'make_boot_img')
-rwxr-xr-x | make_boot_img | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/make_boot_img b/make_boot_img index 6ef982280..9c1f5e25c 100755 --- a/make_boot_img +++ b/make_boot_img @@ -7,6 +7,8 @@ $instdir = "install"; $ks = "kickstart=floppy" if $type =~ s/_ks//; $mnt = "/mnt/disk"; +$mke2fs = "/sbin/mke2fs -q -m 0 -F"; + if ($>) { $sudo = "sudo"; $ENV{PATH} = "/sbin:/usr/sbin:$ENV{PATH}"; @@ -39,7 +41,7 @@ sub initrd { __ "$sudo umount $tmp $mnt 2>/dev/null"; _ "dd if=/dev/zero of=$tmp bs=1k count=2000"; - _ "echo y | mke2fs $tmp"; + _ "$mke2fs $tmp"; _ "$sudo mount -t ext2 $tmp $mnt -o loop"; _ "$sudo cp -a $instdir/$inst1/* $mnt"; _ "$sudo cp -f install_${type}_modules/* $mnt/modules/" if -d "install_${type}_modules"; |