summaryrefslogtreecommitdiffstats
path: root/perl-install/bootloader.pm
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@gmail.com>2014-09-01 14:12:03 +0000
committerPascal Terjan <pterjan@gmail.com>2014-10-20 21:29:56 +0000
commitfb5ed803ca2ce58117b8bf97a9717cab766b0d71 (patch)
treef5f62342532aa3072e6ba3dba301744190d1b162 /perl-install/bootloader.pm
parent0ecc318a668efc5b43711ec1a3101560e30eb407 (diff)
downloaddrakx-fb5ed803ca2ce58117b8bf97a9717cab766b0d71.tar
drakx-fb5ed803ca2ce58117b8bf97a9717cab766b0d71.tar.gz
drakx-fb5ed803ca2ce58117b8bf97a9717cab766b0d71.tar.bz2
drakx-fb5ed803ca2ce58117b8bf97a9717cab766b0d71.tar.xz
drakx-fb5ed803ca2ce58117b8bf97a9717cab766b0d71.zip
Only allow GRUB2 when booting on btrfs
Diffstat (limited to 'perl-install/bootloader.pm')
-rw-r--r--perl-install/bootloader.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm
index 885c30dfa..7ca1fdbf5 100644
--- a/perl-install/bootloader.pm
+++ b/perl-install/bootloader.pm
@@ -1270,8 +1270,8 @@ sub method_choices {
my $have_dmraid = find { fs::type::is_dmraid($_) } @{$all_hds->{hds}};
grep {
- !(/lilo/ && (isLoopback($root_part) || $have_dmraid ||
- $boot_part->{fs_type} eq 'btrfs'))
+ !(/lilo/ && (isLoopback($root_part) || $have_dmraid))
+ && (/grub2/ || $boot_part->{fs_type} ne 'btrfs')
&& !(/grub-graphic/ && cat_("/proc/cmdline") =~ /console=ttyS/);
} method_choices_raw($b_prefix_mounted);
}