summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-02-28 12:28:52 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-02-28 12:28:52 +0000
commit63cdb929fd66a362bbaca8d7036ebdc36a9a46b3 (patch)
tree4b1062f1ae6f36b15899aedad5e46f16653d232f
parent26fa3d27e4838b40118010c32b193281d646ad5b (diff)
downloaddrakx-63cdb929fd66a362bbaca8d7036ebdc36a9a46b3.tar
drakx-63cdb929fd66a362bbaca8d7036ebdc36a9a46b3.tar.gz
drakx-63cdb929fd66a362bbaca8d7036ebdc36a9a46b3.tar.bz2
drakx-63cdb929fd66a362bbaca8d7036ebdc36a9a46b3.tar.xz
drakx-63cdb929fd66a362bbaca8d7036ebdc36a9a46b3.zip
add "nowarn" in lilo.conf
-rw-r--r--perl-install/bootloader.pm3
1 files changed, 2 insertions, 1 deletions
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};