From a712a822389cb932fbe562e86eddbbecc797fb2f Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Mon, 12 Mar 2001 12:00:11 +0000 Subject: do not use graphical-syslinux for network.img --- make_boot_img | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'make_boot_img') diff --git a/make_boot_img b/make_boot_img index 1d9daecd0..52a432e19 100755 --- a/make_boot_img +++ b/make_boot_img @@ -86,15 +86,17 @@ sub boot_img_i386 { __ "$sudo umount $mnt 2>/dev/null"; my $automatic = ""; - if ($type eq "hd") { + if ($type eq "hd" || $type eq "network") { _ "bunzip2 -c $instdir/init-data/msgboot.img.bz2 > $img"; - $automatic = "automatic=method:disk"; } elsif ($type eq "all") { _ "bunzip2 -c $instdir/init-data/msgboot-graphicallogo-2880.img.bz2 > $img"; } else { _ "bunzip2 -c $instdir/init-data/msgboot-graphicallogo.img.bz2 > $img"; - $automatic = "automatic=method:cdrom" if ($type eq "cdrom"); } + + $automatic = "automatic=method:cdrom" if ($type eq "cdrom"); + $automatic = "automatic=method:disk" if ($type eq "hd"); + _ "$sudo mount -t vfat -o umask=0 $img $mnt -o loop"; _ "cat vmlinuz > $mnt/vmlinuz" if $type !~ /blank/; -f "$type.rdz" ? _ "cp -f $type.rdz $mnt" : initrd("${mnt}2", "$mnt/$type.rdz"); -- cgit v1.2.1