diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2000-07-13 19:34:01 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2000-07-13 19:34:01 +0000 |
commit | 7dcf5d77688ebac9a710f065558f0aa9e3b9ed4c (patch) | |
tree | 87d2bc4f960579c5f401859732a9a818e2759110 /make_boot_img | |
parent | 7a0f1c3eea57413de17756e30eece4018224dec2 (diff) | |
download | drakx-backup-do-not-use-7dcf5d77688ebac9a710f065558f0aa9e3b9ed4c.tar drakx-backup-do-not-use-7dcf5d77688ebac9a710f065558f0aa9e3b9ed4c.tar.gz drakx-backup-do-not-use-7dcf5d77688ebac9a710f065558f0aa9e3b9ed4c.tar.bz2 drakx-backup-do-not-use-7dcf5d77688ebac9a710f065558f0aa9e3b9ed4c.tar.xz drakx-backup-do-not-use-7dcf5d77688ebac9a710f065558f0aa9e3b9ed4c.zip |
no_comment
Diffstat (limited to 'make_boot_img')
-rwxr-xr-x | make_boot_img | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/make_boot_img b/make_boot_img index 55a25f6f9..1b0ed51b3 100755 --- a/make_boot_img +++ b/make_boot_img @@ -10,7 +10,6 @@ my $corporate = $ENV{CORPORATE} && " corporate"; #- use this for building a corp ($img, $type) = @ARGV; $instdir = "install"; -$ks = "kickstart=floppy" if $type =~ s/_ks//; $mnt = "/tmp/drakx_mnt"; $mke2fs = "/sbin/mke2fs -q -m 0 -F -s 1"; @@ -89,7 +88,7 @@ sub boot_img_i386 { _ "cat vmlinuz > $mnt/vmlinuz"; -f "$type.rdz" ? _ "cp -f $type.rdz $mnt" : initrd("${mnt}2", "$mnt/$type.rdz"); - my $timeout = $ks ? 1 : 72; + my $timeout = 72; output("$mnt/syslinux.cfg", " default linux prompt 1 @@ -99,19 +98,19 @@ F1 help.msg F2 boot.msg label linux kernel vmlinuz - append $ks ramdisk_size=32000 initrd=$type.rdz $type vga=788 + append ramdisk_size=32000 initrd=$type.rdz $type vga=788 label vgalo kernel vmlinuz - append $ks ramdisk_size=32000 initrd=$type.rdz $type vga=785 + append ramdisk_size=32000 initrd=$type.rdz $type vga=785 label vgahi kernel vmlinuz - append $ks ramdisk_size=32000 initrd=$type.rdz $type vga=791 + append ramdisk_size=32000 initrd=$type.rdz $type vga=791 label vga16 kernel vmlinuz - append $ks ramdisk_size=32000 initrd=$type.rdz $type vga16 + append ramdisk_size=32000 initrd=$type.rdz $type vga16 label text kernel vmlinuz - append $ks ramdisk_size=32000 initrd=$type.rdz $type text + append ramdisk_size=32000 initrd=$type.rdz $type text label patch kernel vmlinuz append ramdisk_size=32000 initrd=$type.rdz $type patch vga=788 |