summaryrefslogtreecommitdiffstats
path: root/perl-install/bootloader.pm
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2016-07-04 15:21:19 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2016-07-04 15:58:15 +0200
commit88cf1c412eb80c6f23252b6554a1ea73e9f145e3 (patch)
tree24f3705eac30e94957a6d481d9c36edb6578690d /perl-install/bootloader.pm
parentcc45151c2132593cc51b2dbda6edf25b388f0190 (diff)
downloaddrakx-88cf1c412eb80c6f23252b6554a1ea73e9f145e3.tar
drakx-88cf1c412eb80c6f23252b6554a1ea73e9f145e3.tar.gz
drakx-88cf1c412eb80c6f23252b6554a1ea73e9f145e3.tar.bz2
drakx-88cf1c412eb80c6f23252b6554a1ea73e9f145e3.tar.xz
drakx-88cf1c412eb80c6f23252b6554a1ea73e9f145e3.zip
explain why only grub2 is offered on UEFI
Diffstat (limited to 'perl-install/bootloader.pm')
-rw-r--r--perl-install/bootloader.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm
index 199ddf293..8d9f01eba 100644
--- a/perl-install/bootloader.pm
+++ b/perl-install/bootloader.pm
@@ -1318,6 +1318,7 @@ sub method_choices_raw {
arch() =~ /arm/ ? 'uboot' :
if_(!$b_prefix_mounted || whereis_binary('grub2-reboot', $::prefix),
'grub2-graphic', 'grub2'),
+ # only grub2 works on UEFI:
if_(!is_uefi(), (
if_(!$b_prefix_mounted || whereis_binary('grub', $::prefix) && -f "$::prefix/boot/grub/install.sh",
'grub-graphic', 'grub-menu'),