diff options
author | Pascal Terjan <pterjan@gmail.com> | 2014-09-01 14:12:03 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@gmail.com> | 2014-10-20 21:29:56 +0000 |
commit | fb5ed803ca2ce58117b8bf97a9717cab766b0d71 (patch) | |
tree | f5f62342532aa3072e6ba3dba301744190d1b162 /perl-install/bootloader.pm | |
parent | 0ecc318a668efc5b43711ec1a3101560e30eb407 (diff) | |
download | drakx-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.pm | 4 |
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); } |