From d26d0048f47da4e59c8382af1a20b1537fc7dd43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwenol=C3=A9=20Beauchesne?= Date: Wed, 26 Sep 2001 08:27:02 +0000 Subject: - bootloader.pm (suggest): don't search for dos (or windows) boot partition on IA-64 since ELILO can only boot Linux. - bootloader.pm (write_lilo_conf): don't cry if we don't have /boot/boot.b or boot/message on IA-64. --- perl-install/bootloader.pm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'perl-install') diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm index a11d13ace..c2a75e8dc 100644 --- a/perl-install/bootloader.pm +++ b/perl-install/bootloader.pm @@ -368,7 +368,7 @@ wait %d seconds for default boot. kernel_or_dev => $partition_table_mac'macos_part }); } - } else { + } elsif (arch() !~ /ia64/) { #- search for dos (or windows) boot partition. Don't look in extended partitions! my %nbs; foreach (@$hds) { @@ -649,7 +649,9 @@ sub write_lilo_conf { last; } } - -e "$prefix/boot/boot.b" && -e "$prefix/boot/message" or die "unable to get right lilo configuration in $prefix/boot"; + if (arch() !~ /ia64/) { + -e "$prefix/boot/boot.b" && -e "$prefix/boot/message" or die "unable to get right lilo configuration in $prefix/boot"; + } { local *F; -- cgit v1.2.1