From 6b81dead89c722263740400d4c667fc0291b40f0 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 10 Feb 2003 22:15:54 +0000 Subject: in lilo.conf, "unsafe" is incompatible with "table=..." (fixes bug #1382) --- perl-install/bootloader.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm index 809d666b8..74cc95870 100644 --- a/perl-install/bootloader.pm +++ b/perl-install/bootloader.pm @@ -536,10 +536,11 @@ wait %d seconds for default boot. type => 'other', kernel_or_dev => "/dev/$_->{device}", label => $label . ($nbs{$label}++ ? $nbs{$label} : ''), - if_($_->{device} =~ /[1-4]$/, + $_->{device} =~ /[1-4]$/ ? ( table => "/dev/$_->{rootDevice}" - ), + ) : ( unsafe => 1 + ), }) } } -- cgit v1.2.1