summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2013-02-27 17:44:19 +0000
committerThierry Vignaud <tv@mageia.org>2013-02-27 17:44:19 +0000
commit17e0446be129455d16c02375d9482f0fe4ea6e64 (patch)
treea4b0b297fb42b31763f8e08885a345794a7eecb0 /perl-install
parentc3bf55979df2978ff72d1d2e31b712665b8b2ed8 (diff)
downloaddrakx-17e0446be129455d16c02375d9482f0fe4ea6e64.tar
drakx-17e0446be129455d16c02375d9482f0fe4ea6e64.tar.gz
drakx-17e0446be129455d16c02375d9482f0fe4ea6e64.tar.bz2
drakx-17e0446be129455d16c02375d9482f0fe4ea6e64.tar.xz
drakx-17e0446be129455d16c02375d9482f0fe4ea6e64.zip
do not forbid installing grub2 on a partition anymore now that we support it
reverting commit r7350 from 2013-02-20: "prevent installing grub2 somewhere else than MBR"
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/any.pm8
1 files changed, 0 insertions, 8 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm
index a8786dc89..990813f74 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -426,14 +426,6 @@ sub setupBootloader__general {
$in->ask_from_({ #messages => N("Bootloader main options"),
title => N("Bootloader main options"),
interactive_help_id => 'setupBootloader',
- validate => sub {
- if ($b->{method} eq 'grub2' && $b->{boot} =~ /\d$/) {
- log::l("Impossible to install Grub2 on something else than a MBR.\nWe should chain load grub2 when not on MBR");
- $in->ask_warn(N("Error"), N("Grub2 cannot be installed on a partition, only on the MBR (whole disk)"));
- return 0;
- }
- return 1;
- },
}, [
#title => N("Bootloader main options"),
{ label => N("Bootloader"), title => 1 },