diff options
Diffstat (limited to 'make_boot_img')
-rwxr-xr-x | make_boot_img | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/make_boot_img b/make_boot_img index d5f3f5c4a..c6f5431bf 100755 --- a/make_boot_img +++ b/make_boot_img @@ -6,7 +6,7 @@ $instdir = "install"; $ks = "kickstart=floppy" if $type =~ s/_ks//; -$mnt = "/tmp/drakx_mnt"; +$mnt = "/mnt/disk"; $mke2fs = "/sbin/mke2fs -q -m 0 -F -s 1"; if ($>) { @@ -14,11 +14,6 @@ if ($>) { $ENV{PATH} = "/sbin:/usr/sbin:$ENV{PATH}"; } -sub __ { print @_, "\n"; system(@_); } -sub _ { __ @_; $? and die; } - -_ "$sudo mkdir $mnt" unless -e $mnt; - $install = $ {{ pcmcia => "full-install", network => "install", @@ -29,6 +24,9 @@ $install = $ {{ $img =~ /rdz$/ ? initrd($mnt, $img) : msg_boot_img($mnt, $img); #boot_img($mnt, $img); +sub __ { print @_, "\n"; system(@_); } +sub _ { __ @_; $? and die; } + sub install_s { _ "strip $_[0]"; _ "$sudo install $_[0] $_[1]" } sub initrd { |