summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2013-02-24 18:31:50 +0000
committerThierry Vignaud <tv@mageia.org>2013-02-24 18:31:50 +0000
commit476ece98c429d3645f5c49108810136ea2afe9a7 (patch)
treeadeae61183115ee037a7834a4413fdd1dfc84764 /perl-install
parentaec0a5f4b4cab8dbef76c818d0e67d0245e40d56 (diff)
downloaddrakx-backup-do-not-use-476ece98c429d3645f5c49108810136ea2afe9a7.tar
drakx-backup-do-not-use-476ece98c429d3645f5c49108810136ea2afe9a7.tar.gz
drakx-backup-do-not-use-476ece98c429d3645f5c49108810136ea2afe9a7.tar.bz2
drakx-backup-do-not-use-476ece98c429d3645f5c49108810136ea2afe9a7.tar.xz
drakx-backup-do-not-use-476ece98c429d3645f5c49108810136ea2afe9a7.zip
(suggest_onmbr) suggests MBR by default for grub2 too (Manuel Hiebel, #8851)
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/bootloader.pm2
-rw-r--r--perl-install/install/NEWS1
2 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm
index cecd5aa4c..f15db5f51 100644
--- a/perl-install/bootloader.pm
+++ b/perl-install/bootloader.pm
@@ -556,7 +556,7 @@ sub suggest_onmbr {
if (my $type = partition_table::raw::typeOfMBR($hd->{device})) {
if (member($type, qw(dos dummy empty))) {
$unsafe = 0;
- } elsif (!member($type, qw(lilo grub))) {
+ } elsif (!member($type, qw(lilo grub grub2))) {
$onmbr = 0;
}
log::l("bootloader::suggest_onmbr: type $type, onmbr $onmbr, unsafe $unsafe");
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index eda7aba32..b5a4a2bfc 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,4 +1,5 @@
- summary:
+ o suggests MBR by default for grub2 too (Manuel Hiebel, #8851)
o prevent installing grub2 somewhere else than MBR
- always bypass blkid cache (the cache only includes a subset of the data we need)