From 476ece98c429d3645f5c49108810136ea2afe9a7 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Sun, 24 Feb 2013 18:31:50 +0000 Subject: (suggest_onmbr) suggests MBR by default for grub2 too (Manuel Hiebel, #8851) --- perl-install/bootloader.pm | 2 +- perl-install/install/NEWS | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'perl-install') 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) -- cgit v1.2.1