From 7396369ef190a049b3a779a54edd76ff118f3c28 Mon Sep 17 00:00:00 2001 From: Mystery Man Date: Fri, 21 Nov 2003 12:53:39 +0000 Subject: This commit was manufactured by cvs2svn to create tag 'MDK92-AMD64'. --- make_boot_img | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'make_boot_img') diff --git a/make_boot_img b/make_boot_img index 4df3d2c45..f56baaba8 100755 --- a/make_boot_img +++ b/make_boot_img @@ -122,7 +122,7 @@ sub initrd { _ "$sudo mknod $mnt/dev/ttyp0 c 3 0"; } - if (member($type, qw(pcmcia all network)) && $arch !~ /ppc|ia64|x86_64/) { + if (member($type, qw(pcmcia all network)) && $arch !~ /ppc|ia64/) { _ "$sudo cp -a /etc/pcmcia $mnt/etc"; _ "cp $mnt/etc/pcmcia/config /tmp/pcmcia_config_tmp"; _ "tools/patch_pcmcia_config.pl /tmp/pcmcia_config_tmp kernel/all.modules/$main/modules.dep"; @@ -622,7 +622,7 @@ rescue-net: boots the rescue image from a network server sub isolinux { my ($main, @kernels) = @_; - @kernels = ($main, grep { $_ ne $main } @kernels); + @kernels = ($main, grep { $_ ne $main && $_ !~ /cdcom/ } @kernels); _ "rm -rf isolinux"; mkdir "isolinux", 0777; my $i = 0; foreach (@kernels) { @@ -637,7 +637,12 @@ sub isolinux { #- for old style pictures (9.1 and previous) # lilo-bmp2mdk mode:0x103 progress:425,173,16,7,64+21 clear:600,800,64+59 pos:0,0 isolinux/boot.msg #- for current 9.2 pictures. - _ "lilo-bmp2mdk mode:0x103 progress:371,144,4,8,64+60 clear:600,800,64+127 pos:0,0 isolinux/boot.msg"; + if ($arch eq "x86_64") { + _ "bunzip2 -c $instdir/init-data/boot-install-lilo-800-V64.msg.bz2 >isolinux/boot.msg"; + } + else { + _ "lilo-bmp2mdk mode:0x103 progress:371,144,4,8,64+60 clear:600,800,64+127 pos:0,0 isolinux/boot.msg"; + } } _ "cp /usr/lib/syslinux/isolinux.bin isolinux/isolinux.bin"; output "isolinux/isolinux.cfg", " -- cgit v1.2.1