diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-02-28 12:28:52 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-02-28 12:28:52 +0000 |
commit | 63cdb929fd66a362bbaca8d7036ebdc36a9a46b3 (patch) | |
tree | 4b1062f1ae6f36b15899aedad5e46f16653d232f /perl-install | |
parent | 26fa3d27e4838b40118010c32b193281d646ad5b (diff) | |
download | drakx-backup-do-not-use-63cdb929fd66a362bbaca8d7036ebdc36a9a46b3.tar drakx-backup-do-not-use-63cdb929fd66a362bbaca8d7036ebdc36a9a46b3.tar.gz drakx-backup-do-not-use-63cdb929fd66a362bbaca8d7036ebdc36a9a46b3.tar.bz2 drakx-backup-do-not-use-63cdb929fd66a362bbaca8d7036ebdc36a9a46b3.tar.xz drakx-backup-do-not-use-63cdb929fd66a362bbaca8d7036ebdc36a9a46b3.zip |
add "nowarn" in lilo.conf
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/bootloader.pm | 3 |
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}; |