summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/NEWS3
-rw-r--r--perl-install/bootloader.pm7
-rw-r--r--perl-install/install/NEWS3
3 files changed, 9 insertions, 4 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index 7720471a0..12207c7d0 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,3 +1,6 @@
+- drakboot:
+ o do not pass useless parameters to grub2 under UEFI (mga#15692)
+
Version 16.82 - 13 April 2015
- diskdrake:
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm
index ebfc89fb2..ad0b5544c 100644
--- a/perl-install/bootloader.pm
+++ b/perl-install/bootloader.pm
@@ -1810,11 +1810,10 @@ sub write_grub2_install_sh {
my ($bootloader, $o_backup_extension) = @_;
my $f = "$::prefix/boot/grub2/install.sh";
my $boot = $bootloader->{boot};
- my @options = $boot =~ /\d$/ || is_uefi() ? ('--grub-setup=/bin/true', $boot) : $boot;
+ my @options;
if (is_uefi()) {
- my ($dir) = glob("$::prefix/usr/lib/grub/*-efi");
- $dir =~ s/$::prefix//;
- push @options, '--directory', $dir;
+ } else {
+ @options = $boot =~ /\d$/ ? ('--grub-setup=/bin/true', $boot) : $boot;
}
renamef($f, $f . ($o_backup_extension || '.old'));
output_with_perm($f, 0755, join(' ', 'grub2-install', @options));
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index 3b0b787d9..3758cbc4f 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,3 +1,6 @@
+- drakboot:
+ o do not pass useless parameters to grub2 under UEFI (mga#15692)
+
Version 16.83 - 13 April 2015
- enable firmware raids with dmraid/kpartx like we do on