From 5b76050f1adf01c29ad5b08cf959614cbf76ec92 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 27 Feb 2013 06:39:58 +0000 Subject: (method_choices_raw) put grub2 before grub-legacy thus fixing detecting grub2 if there's a remaining grub-legacy signature basically reverting commit r6650 from 2012-12-09: "(method_choices_raw) put grub-legacy before grub2" --- perl-install/NEWS | 3 +++ perl-install/bootloader.pm | 4 ++-- perl-install/install/NEWS | 2 ++ 3 files changed, 7 insertions(+), 2 deletions(-) (limited to 'perl-install') diff --git a/perl-install/NEWS b/perl-install/NEWS index 8faf2a43d..7f1d540cb 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -1,3 +1,6 @@ +- drakboot: + o fix detecting grub2 if there's a remaining grub-legacy signature + Version 15.21 - 26 February 2013 - bootloader-config: diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm index 6171a1618..d912a183f 100644 --- a/perl-install/bootloader.pm +++ b/perl-install/bootloader.pm @@ -1205,10 +1205,10 @@ sub method_choices_raw { arch() =~ /mips/ ? 'pmon2000' : arch() =~ /arm/ ? 'uboot' : ( - if_(!$b_prefix_mounted || whereis_binary('grub', $::prefix), - 'grub-graphic', 'grub-menu'), if_(!$b_prefix_mounted || whereis_binary('grub2-reboot', $::prefix), 'grub2'), + if_(!$b_prefix_mounted || whereis_binary('grub', $::prefix), + 'grub-graphic', 'grub-menu'), if_(!$b_prefix_mounted || whereis_binary('lilo', $::prefix), 'lilo-menu'), ); diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS index 60ed8a992..f2fdd7c8e 100644 --- a/perl-install/install/NEWS +++ b/perl-install/install/NEWS @@ -1,3 +1,5 @@ +- bootloader: + o fix detecting grub2 if there's a remaining grub-legacy signature - do not attempt to use gurpmi.addmedia or gurpmi if in text mode Version 15.22 - 26 February 2013 -- cgit v1.2.1