summaryrefslogtreecommitdiffstats
path: root/perl-install/bootloader.pm
diff options
context:
space:
mode:
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",