diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2017-01-16 11:33:04 +0100 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2017-01-23 17:48:06 +0100 |
commit | 0a8596e052f6574d1f052ef46733bfffa190de40 (patch) | |
tree | 8b0fbd6f05d7918c638197e28e16d258fbafa828 | |
parent | 142bf33763b414af82766a7e40ca0f9e4a808785 (diff) | |
download | drakx-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
-rw-r--r-- | perl-install/bootloader.pm | 2 |
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", |