summaryrefslogtreecommitdiffstats
path: root/perl-install/any.pm
diff options
context:
space:
mode:
authorMartin Whitaker <mageia@martin-whitaker.me.uk>2020-06-15 11:01:25 +0100
committerMartin Whitaker <mageia@martin-whitaker.me.uk>2020-06-16 17:01:10 +0100
commit8fca7cfca3baa1639e316c8307dd20479cbe8d1d (patch)
tree9150ee13f37c47c6acc177d812d9ccbccbe954ea /perl-install/any.pm
parenteec464addb2fc99de508dbe990aa4cd899d6419b (diff)
downloaddrakx-8fca7cfca3baa1639e316c8307dd20479cbe8d1d.tar
drakx-8fca7cfca3baa1639e316c8307dd20479cbe8d1d.tar.gz
drakx-8fca7cfca3baa1639e316c8307dd20479cbe8d1d.tar.bz2
drakx-8fca7cfca3baa1639e316c8307dd20479cbe8d1d.tar.xz
drakx-8fca7cfca3baa1639e316c8307dd20479cbe8d1d.zip
Add option to install GRUB2 as EFI default/fallback bootloader.
i.e. in \EFI\BOOT instead of in \EFI\mageia. This should be used if installing on a removable device, and provides a workaround for buggy BIOSs that don't respect the EFI NVRAM settings.
Diffstat (limited to 'perl-install/any.pm')
-rw-r--r--perl-install/any.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm
index 0d58f95cb..c3ab97eb7 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -729,6 +729,10 @@ sub setupBootloader__grub2 {
{ text => N("Probe Foreign OS"), val => \$os_prober, type => 'bool',
help => N("If grub2 takes too long to install, you can use this option to skip detecting other OSes and make it fast"),
},
+ if_(is_uefi(),
+ { text => N("Install in /EFI/BOOT (workaround for some BIOSs)"),
+ val => \$b->{removable}, type => 'bool' },
+ ),
]);
if ($res) {
$b->{entries} = $b2->{entries};