diff options
-rw-r--r-- | perl-install/NEWS | 4 | ||||
-rw-r--r-- | perl-install/bootloader.pm | 2 | ||||
-rw-r--r-- | perl-install/install/NEWS | 4 |
3 files changed, 9 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS index 15bf18a31..768db729d 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -1,3 +1,7 @@ +- drakboot: + o fix installing grub2 on MBR (mga#15640) + (regression introduced in 16.76) + Version 16.77 - 7 April 2015 - bootloader: diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm index 425036ba5..3dc05d779 100644 --- a/perl-install/bootloader.pm +++ b/perl-install/bootloader.pm @@ -1975,7 +1975,7 @@ sub install_raw_grub2 { my $error; # if (member($boot, map { "/dev/$_->{device}" } @{$all_hds->{hds}}) { my @options = $boot =~ /\d$/ ? ('--grub-setup=/bin/true', $boot) : $boot; - if (!run_program::rooted($::prefix, 'grub2-install', '2>', \$error, '--grub-setup=/bin/true', @options)) { + if (!run_program::rooted($::prefix, 'grub2-install', '2>', \$error, @options)) { log::explanations("grub2-install failed:\n(grub2-install @options)\nError: <$error>"); die "grub2-install failed: $error"; } diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS index 02d162aad..72a0c7355 100644 --- a/perl-install/install/NEWS +++ b/perl-install/install/NEWS @@ -1,3 +1,7 @@ +- bootloader: + o fix installing grub2 on MBR (mga#15640) + (regression introduced in 16.76) + Version 16.77 - 7 April 2015 - bootloader: |