From 63cdb929fd66a362bbaca8d7036ebdc36a9a46b3 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 28 Feb 2002 12:28:52 +0000 Subject: add "nowarn" in lilo.conf --- perl-install/bootloader.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm index a9d09470b..60dce2bef 100644 --- a/perl-install/bootloader.pm +++ b/perl-install/bootloader.pm @@ -319,6 +319,7 @@ sub suggest { bootUnsafe => $unsafe, entries => [], timeout => $onmbr && 10, + nowarn => 1, if_(arch() !~ /ia64/, lba32 => 1, boot => "/dev/" . ($onmbr ? $hds->[0]{device} : fsedit::get_root($fstab, 'boot')->{device}), @@ -711,7 +712,7 @@ sub write_lilo_conf { local $lilo->{default} = make_label_lilo_compatible($lilo->{default}); $lilo->{$_} and print F "$_=$lilo->{$_}" foreach qw(boot map install vga default keytable); - $lilo->{$_} and print F $_ foreach qw(linear lba32 compact prompt restricted); + $lilo->{$_} and print F $_ foreach qw(linear lba32 compact prompt nowarn restricted); print F "append=\"$lilo->{append}\"" if $lilo->{append}; print F "password=", $lilo->{password} if $lilo->{password}; #- also done by msec print F "timeout=", round(10 * $lilo->{timeout}) if $lilo->{timeout}; -- cgit v1.2.1