summaryrefslogtreecommitdiffstats
path: root/perl-install/bootloader.pm
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2015-01-10 17:10:40 +0100
committerThomas Backlund <tmb@mageia.org>2015-01-10 23:29:18 +0159
commit0e299f3208a63db72396a23d1ab0ed8502c68559 (patch)
tree68771db292d7232bef2b7de14b4b4ab4c861966d /perl-install/bootloader.pm
parent9748f8799c988bad6c2e0bac57a405b07309fd53 (diff)
downloaddrakx-0e299f3208a63db72396a23d1ab0ed8502c68559.tar
drakx-0e299f3208a63db72396a23d1ab0ed8502c68559.tar.gz
drakx-0e299f3208a63db72396a23d1ab0ed8502c68559.tar.bz2
drakx-0e299f3208a63db72396a23d1ab0ed8502c68559.tar.xz
drakx-0e299f3208a63db72396a23d1ab0ed8502c68559.zip
only grub2 supports UEFI for now
Diffstat (limited to 'perl-install/bootloader.pm')
-rw-r--r--perl-install/bootloader.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm
index 7ca1fdbf5..9e7516658 100644
--- a/perl-install/bootloader.pm
+++ b/perl-install/bootloader.pm
@@ -1253,14 +1253,14 @@ sub method_choices_raw {
detect_devices::is_xbox() ? 'cromwell' :
arch() =~ /mips/ ? 'pmon2000' :
arch() =~ /arm/ ? 'uboot' :
- (
if_(!$b_prefix_mounted || whereis_binary('grub2-reboot', $::prefix),
'grub2'),
+ if_(!is_uefi(), (
if_(!$b_prefix_mounted || whereis_binary('grub', $::prefix),
'grub-graphic', 'grub-menu'),
if_(!$b_prefix_mounted || whereis_binary('lilo', $::prefix),
'lilo-menu'),
- );
+ ));
}
sub method_choices {
my ($all_hds, $b_prefix_mounted) = @_;