summaryrefslogtreecommitdiffstats
path: root/perl-install/bootloader.pm
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2015-04-14 07:50:22 -0400
committerThierry Vignaud <thierry.vignaud@gmail.com>2015-04-14 22:18:18 +0200
commitfea2953faa318091440fbcbd3b632ae7c46d8965 (patch)
tree6369452fd2d6967d5286e631046458adf3b5ddbb /perl-install/bootloader.pm
parent8c3bec9a1c13fed19839e8a85a97ddadfaf17315 (diff)
downloaddrakx-fea2953faa318091440fbcbd3b632ae7c46d8965.tar
drakx-fea2953faa318091440fbcbd3b632ae7c46d8965.tar.gz
drakx-fea2953faa318091440fbcbd3b632ae7c46d8965.tar.bz2
drakx-fea2953faa318091440fbcbd3b632ae7c46d8965.tar.xz
drakx-fea2953faa318091440fbcbd3b632ae7c46d8965.zip
fix kernel booting in blind mode (mga#15291)
adjust gfxpayload on UEFI
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 ad0b5544c..48a2cc4b2 100644
--- a/perl-install/bootloader.pm
+++ b/perl-install/bootloader.pm
@@ -1792,6 +1792,7 @@ sub write_grub2 {
my $f = "$::prefix/etc/default/grub";
my %conf = getVarsFromSh($f);
$conf{GRUB_CMDLINE_LINUX_DEFAULT} = $append;
+ $conf{GRUB_GFXPAYLOAD_LINUX} = 'auto' if is_uefi();
$conf{GRUB_DISABLE_RECOVERY} = 'false'; # for 'failsafe' entry
$conf{GRUB_TIMEOUT} = $bootloader->{timeout};
setVarsInSh($f, \%conf);