From e4219ae4165122c8fce9380cbf99363454b4586b Mon Sep 17 00:00:00 2001 From: Martin Whitaker Date: Sat, 19 Dec 2020 21:05:47 +0000 Subject: Fix false detection of GRUB2 when installed in ESP but not in /boot. This caused the installer to select non-graphical GRUB2 as the default bootloader method (mga#27816). --- perl-install/NEWS | 2 ++ perl-install/bootloader.pm | 2 +- perl-install/install/NEWS | 3 +++ 3 files changed, 6 insertions(+), 1 deletion(-) (limited to 'perl-install') diff --git a/perl-install/NEWS b/perl-install/NEWS index 553d1d463..f957b43b8 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -1,3 +1,5 @@ +- drakboot: + o fix false detection of GRUB2 when installed in ESP but not in /boot (mga#27816) - diskdrake: o fix adding parts to extended partition on hybrid ISO (mga#27862) o erase iso9660 signature when clearing hybrid ISO disk (mga#27864) diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm index c09b12330..d4533da39 100644 --- a/perl-install/bootloader.pm +++ b/perl-install/bootloader.pm @@ -360,7 +360,7 @@ Read back GRUB2 config =cut sub read_grub2() { - my %bootloader = read_grub2_install_sh(); + my %bootloader = read_grub2_install_sh() if -e get_grub2_install_sh(); return if is_empty_hash_ref(\%bootloader) & !-s "$::prefix/boot/grub2/grub.cfg"; my %h = getVarsFromSh("$::prefix/etc/default/grub"); $bootloader{timeout} = $h{GRUB_TIMEOUT}; diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS index b88e624d5..974a5d1a2 100644 --- a/perl-install/install/NEWS +++ b/perl-install/install/NEWS @@ -1,3 +1,6 @@ +- bootloader: + o fix false detection of GRUB2 when installed in ESP but not in /boot, + which caused boot method to default to non-graphical GRUB2 (mga#27816) - partitioning: o erase iso9660 signature when clearing hybrid ISO disk (mga#27864) - support https in media URL (mga#27776) -- cgit v1.2.1