summaryrefslogtreecommitdiffstats
path: root/perl-install/bootloader.pm
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2016-06-22 00:44:03 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2016-06-22 02:36:07 +0200
commit9b6c7b4d612acc1ad8c6f9d573f50993e7e10832 (patch)
tree858358fbc363d0999e7e1bfd62c87ad41ed69f41 /perl-install/bootloader.pm
parent5d85cc4dba16dbf5cd219c21d47677e4b8ad3df8 (diff)
downloaddrakx-9b6c7b4d612acc1ad8c6f9d573f50993e7e10832.tar
drakx-9b6c7b4d612acc1ad8c6f9d573f50993e7e10832.tar.gz
drakx-9b6c7b4d612acc1ad8c6f9d573f50993e7e10832.tar.bz2
drakx-9b6c7b4d612acc1ad8c6f9d573f50993e7e10832.tar.xz
drakx-9b6c7b4d612acc1ad8c6f9d573f50993e7e10832.zip
do not overwite ESP if not installing on it
temporary hack for mga#15583
Diffstat (limited to 'perl-install/bootloader.pm')
-rw-r--r--perl-install/bootloader.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm
index ef0237323..f1e3f4fb8 100644
--- a/perl-install/bootloader.pm
+++ b/perl-install/bootloader.pm
@@ -1914,6 +1914,7 @@ sub write_grub2_install_sh {
my $boot = $bootloader->{boot};
my @options;
if (is_uefi()) {
+ push @options, qw(--bootloader-id=tmp --no-nvram) if $boot =~ /\d$/;
} else {
@options = $boot =~ /\d$/ ? ('--grub-setup=/bin/true', $boot) : $boot;
}