From 4ee38561c97468ef5c99ed329d70a7331332059f Mon Sep 17 00:00:00 2001 From: Martin Whitaker Date: Sat, 8 Dec 2018 18:37:24 +0000 Subject: bootloader: only prefer rEFInd if it installed in the root fs (mga#23944) --- perl-install/NEWS | 1 + perl-install/bootloader.pm | 2 +- perl-install/install/NEWS | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/perl-install/NEWS b/perl-install/NEWS index 8e7dfc310..121f45bb0 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -1,3 +1,4 @@ +- drakboot: only prefer rEFInd if it installed in the root fs (mga#23944) - desktop kernels are now PAE, for PTI security fixes to work properly, so if cpu is not supporting it, install the desktop586 kernel diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm index 71d50eaa6..9b8372522 100644 --- a/perl-install/bootloader.pm +++ b/perl-install/bootloader.pm @@ -1469,7 +1469,7 @@ sub method_choices_raw { arch() =~ /arm/ ? 'uboot' : if_(!$b_prefix_mounted || whereis_binary('grub2-reboot', $::prefix), 'grub2-graphic', 'grub2'), - if_(is_uefi() && (!$b_prefix_mounted || -e "$::prefix/boot/EFI/EFI/refind"), 'refind'), + if_(is_uefi() && (!$b_prefix_mounted || whereis_binary('refind-install', $::prefix)), 'refind'), # only grub2 & rEFInd work 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} || $::isLiveInstall), ( diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS index 9a220a1e7..617526315 100644 --- a/perl-install/install/NEWS +++ b/perl-install/install/NEWS @@ -1,3 +1,5 @@ +- bootloader: only prefer rEFInd if it installed in the root fs (mga#23944) + Version 18.8.1 - 1 Dec 2018 - desktop kernels are now PAE, for PTI security fixes to work properly, -- cgit v1.2.1