diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2005-05-04 04:07:42 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2005-05-04 04:07:42 +0000 |
commit | 4d8538d5b2cb7db89456f93a4c7f09f45ac0c56e (patch) | |
tree | 43f153ff2550ed640a61da9892e43a18bb43e4ed /perl-install | |
parent | 4bc040d207146265da188ed7aa96e38fc4be943b (diff) | |
download | drakx-4d8538d5b2cb7db89456f93a4c7f09f45ac0c56e.tar drakx-4d8538d5b2cb7db89456f93a4c7f09f45ac0c56e.tar.gz drakx-4d8538d5b2cb7db89456f93a4c7f09f45ac0c56e.tar.bz2 drakx-4d8538d5b2cb7db89456f93a4c7f09f45ac0c56e.tar.xz drakx-4d8538d5b2cb7db89456f93a4c7f09f45ac0c56e.zip |
lilo and grub are launched chrooted, so look for them in $::prefix
(it worked during install since PATH contains /mnt/sbin and the like)
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/bootloader.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm index c41207a61..bf73442f0 100644 --- a/perl-install/bootloader.pm +++ b/perl-install/bootloader.pm @@ -860,8 +860,8 @@ sub method_choices_raw() { arch() =~ /ppc/ ? 'yaboot' : arch() =~ /ia64/ ? 'lilo' : ( - if_(whereis_binary('lilo'), 'lilo-graphic', 'lilo-menu'), - if_(whereis_binary('grub'), 'grub'), + if_(whereis_binary('lilo', $::prefix), 'lilo-graphic', 'lilo-menu'), + if_(whereis_binary('grub', $::prefix), 'grub'), ); } sub method_choices { |