summaryrefslogtreecommitdiffstats
path: root/perl-install/bootloader.pm
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2017-01-16 11:33:04 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2017-01-23 17:48:06 +0100
commit0a8596e052f6574d1f052ef46733bfffa190de40 (patch)
tree8b0fbd6f05d7918c638197e28e16d258fbafa828 /perl-install/bootloader.pm
parent142bf33763b414af82766a7e40ca0f9e4a808785 (diff)
downloaddrakx-0a8596e052f6574d1f052ef46733bfffa190de40.tar
drakx-0a8596e052f6574d1f052ef46733bfffa190de40.tar.gz
drakx-0a8596e052f6574d1f052ef46733bfffa190de40.tar.bz2
drakx-0a8596e052f6574d1f052ef46733bfffa190de40.tar.xz
drakx-0a8596e052f6574d1f052ef46733bfffa190de40.zip
do not offer lilo/grub-legacy in live install
Resolves: mga#20089
Diffstat (limited to 'perl-install/bootloader.pm')
-rw-r--r--perl-install/bootloader.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm
index ac12e1852..526920343 100644
--- a/perl-install/bootloader.pm
+++ b/perl-install/bootloader.pm
@@ -1313,7 +1313,7 @@ sub method_choices_raw {
'grub2-graphic', 'grub2'),
# only grub2 works on UEFI:
# lilo & grub-legacy do not suppport new ext4/xfs format and are unmainted so only allow them on upgrade:
- if_(!is_uefi() && !($::isInstall && !$::o->{isUpgrade}), (
+ if_(!is_uefi() && !($::isInstall && !$::o->{isUpgrade} || $::isLiveInstall), (
if_(!$b_prefix_mounted || whereis_binary('grub', $::prefix) && -f "$::prefix/boot/grub/install.sh",
'grub-graphic', 'grub-menu'),
if_(!$b_prefix_mounted || whereis_binary('lilo', $::prefix) && -f "$::prefix/etc/lilo.conf",