summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorMartin Whitaker <mageia@martin-whitaker.me.uk>2018-03-12 20:24:44 +0000
committerMartin Whitaker <mageia@martin-whitaker.me.uk>2018-03-12 20:24:44 +0000
commitdae1ba234d72d95ee0bfc775df776ce6775ca90f (patch)
tree39f8d70ce2d7c2604900f7203720e8e24aff0e24 /perl-install
parentb86e6150e694517213467045139b1badbdba5552 (diff)
downloaddrakx-dae1ba234d72d95ee0bfc775df776ce6775ca90f.tar
drakx-dae1ba234d72d95ee0bfc775df776ce6775ca90f.tar.gz
drakx-dae1ba234d72d95ee0bfc775df776ce6775ca90f.tar.bz2
drakx-dae1ba234d72d95ee0bfc775df776ce6775ca90f.tar.xz
drakx-dae1ba234d72d95ee0bfc775df776ce6775ca90f.zip
drakboot: detect 32-bit UEFI GRUB2 bootloader when probing.
This is the only missing piece for supporting 32-bit UEFI boot.
Diffstat (limited to 'perl-install')
-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 c10187002..5c6bd4a01 100644
--- a/perl-install/bootloader.pm
+++ b/perl-install/bootloader.pm
@@ -263,7 +263,7 @@ sub read {
}
# still no boot loader found? let's check for ESP if using UEFI:
if (is_uefi()) {
- if (-f "/boot/EFI/EFI/mageia/grubx64.efi") {
+ if (-f "/boot/EFI/EFI/mageia/grubx64.efi" || -f "/boot/EFI/EFI/mageia/grubia32.efi") {
my $bootloader = bootloader::read_grub2();
return $bootloader if read_($bootloader);
}