diff options
author | Francois Pons <fpons@mandriva.com> | 2001-03-02 16:09:31 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2001-03-02 16:09:31 +0000 |
commit | 0a6678837ce51a3086ec07bac3be9706240a8562 (patch) | |
tree | 9b107249b81e75adcecb6bfd4e01e2c253b4a0f1 /perl-install/bootloader.pm | |
parent | 5668430f2dfc8512118e734c1263087b7f50856c (diff) | |
download | drakx-0a6678837ce51a3086ec07bac3be9706240a8562.tar drakx-0a6678837ce51a3086ec07bac3be9706240a8562.tar.gz drakx-0a6678837ce51a3086ec07bac3be9706240a8562.tar.bz2 drakx-0a6678837ce51a3086ec07bac3be9706240a8562.tar.xz drakx-0a6678837ce51a3086ec07bac3be9706240a8562.zip |
added graphical LILO by default.
Diffstat (limited to 'perl-install/bootloader.pm')
-rw-r--r-- | perl-install/bootloader.pm | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm index 637681098..f30e664df 100644 --- a/perl-install/bootloader.pm +++ b/perl-install/bootloader.pm @@ -339,7 +339,13 @@ wait %d seconds for default boot. grub => bool(arch() !~ /sparc/ && availableRamMB() < 800), #- don't use grub if more than 800MB loadlin => bool(arch() !~ /sparc/) && -e "/initrd/loopfs/lnx4win", ); - $lilo->{methods} ||= { map { $_ => 1 } grep { $l{$_} } keys %l }; + unless ($lilo->{methods}) { + $lilo->{methods} ||= { map { $_ => 1 } grep { $l{$_} } keys %l }; + if ($lilo->{methods}{lilo} && -e "$prefix/boot/boot-graphic.b") { + $lilo->{methods}{lilo} = "boot-graphic.b"; + exists $lilo->{methods}{grub} and $lilo->{methods}{grub} = undef; + } + } } sub suggest_floppy { |