From 0a8596e052f6574d1f052ef46733bfffa190de40 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 16 Jan 2017 11:33:04 +0100 Subject: do not offer lilo/grub-legacy in live install Resolves: mga#20089 --- perl-install/bootloader.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", -- cgit v1.2.1