diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-10-10 15:16:55 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-10-10 15:16:55 +0000 |
commit | 93d86b675a45ae2d9989e480b1a1a380fdafa9b1 (patch) | |
tree | 9b65cd4c01a83719c170ca389e8889cf9a0f6ae3 /perl-install/bootloader.pm | |
parent | 64cb19f38747950a8e739b671ea5dbf763992047 (diff) | |
download | drakx-93d86b675a45ae2d9989e480b1a1a380fdafa9b1.tar drakx-93d86b675a45ae2d9989e480b1a1a380fdafa9b1.tar.gz drakx-93d86b675a45ae2d9989e480b1a1a380fdafa9b1.tar.bz2 drakx-93d86b675a45ae2d9989e480b1a1a380fdafa9b1.tar.xz drakx-93d86b675a45ae2d9989e480b1a1a380fdafa9b1.zip |
- really fix setting lilo when needed (#39878)
Diffstat (limited to 'perl-install/bootloader.pm')
-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 45311d095..f98e04405 100644 --- a/perl-install/bootloader.pm +++ b/perl-install/bootloader.pm @@ -1065,7 +1065,8 @@ sub suggest { $bootloader->{default} ||= $preferred; } $bootloader->{default} ||= "linux"; - $bootloader->{method} ||= first(method_choices($all_hds, 1)); + $bootloader->{method} ||= first(method_choices($all_hds, 1), # best installed + method_choices($all_hds, 0)); # or best if no valid one is installed if (main_method($bootloader->{method}) eq 'grub') { foreach my $c (find_other_distros_grub_conf($fstab)) { |