summaryrefslogtreecommitdiffstats
path: root/perl-install/any.pm
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2015-05-20 03:38:54 -0400
committerThierry Vignaud <thierry.vignaud@gmail.com>2015-05-20 18:34:47 +0200
commit916e112f0d5fe753be24db15bc8555f8058699f0 (patch)
tree0565148d89fcde3de436eb37d0094a480c76ac9f /perl-install/any.pm
parentab9277b3b0dd782ac099399b229e43f42da76952 (diff)
downloaddrakx-916e112f0d5fe753be24db15bc8555f8058699f0.tar
drakx-916e112f0d5fe753be24db15bc8555f8058699f0.tar.gz
drakx-916e112f0d5fe753be24db15bc8555f8058699f0.tar.bz2
drakx-916e112f0d5fe753be24db15bc8555f8058699f0.tar.xz
drakx-916e112f0d5fe753be24db15bc8555f8058699f0.zip
fix default grub2 kernel parameters (mga#15984)
Diffstat (limited to 'perl-install/any.pm')
-rw-r--r--perl-install/any.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm
index a6be98d7e..c37c444c6 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -618,7 +618,7 @@ sub setupBootloader__grub2 {
my $b2 = bootloader::read_grub2();
# get default parameters:
- my $append = bootloader::get_grub2_append($b2);
+ my $append = $b->{entries}[0]{append} ||= bootloader::get_grub2_append($b2);
my $default = $b2->{default};
require Xconfig::resolution_and_depth;