summaryrefslogtreecommitdiffstats
path: root/perl-install/install
diff options
context:
space:
mode:
authorMartin Whitaker <mageia@martin-whitaker.me.uk>2018-12-16 23:02:26 +0000
committerMartin Whitaker <mageia@martin-whitaker.me.uk>2018-12-17 18:17:09 +0000
commit3903717238342e11f144964dbf97a0605b58c942 (patch)
treefd6a2e63c9067742a86bdc0a3e58fb78fdb5daf5 /perl-install/install
parent5ac101a075536b1f6ceea2a335423c18b2ca2269 (diff)
downloaddrakx-3903717238342e11f144964dbf97a0605b58c942.tar
drakx-3903717238342e11f144964dbf97a0605b58c942.tar.gz
drakx-3903717238342e11f144964dbf97a0605b58c942.tar.bz2
drakx-3903717238342e11f144964dbf97a0605b58c942.tar.xz
drakx-3903717238342e11f144964dbf97a0605b58c942.zip
Support 32-bit UEFI with 64-bit O/S.
Diffstat (limited to 'perl-install/install')
-rw-r--r--perl-install/install/NEWS4
-rw-r--r--perl-install/install/any.pm2
2 files changed, 4 insertions, 2 deletions
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index 89dab99a4..4fbc4e212 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,5 +1,7 @@
- avoid resetting keyboard layout at end of formatting step (mga#23877)
-- bootloader: only prefer rEFInd if it installed in the root fs (mga#23944)
+- bootloader:
+ o only prefer rEFInd if it is installed in the root fs (mga#23944)
+ o support 32-bit UEFI with 64-bit O/S
Version 18.8.1 - 1 Dec 2018
diff --git a/perl-install/install/any.pm b/perl-install/install/any.pm
index 277feac2a..13da840ad 100644
--- a/perl-install/install/any.pm
+++ b/perl-install/install/any.pm
@@ -811,7 +811,7 @@ sub default_bootloader() {
my $p;
if (is_uefi()) {
log::l("defaulting to grub2-efi");
- $p = 'grub2-efi';
+ $p = uefi_type() eq 'ia32' ? 'grub2-efi(x86-32)' : 'grub2-efi(x86-64)';
} else {
log::l("defaulting to grub2");
$p = 'grub2';