summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2016-06-02 18:38:16 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2016-06-06 10:35:57 +0200
commit2c0ac3014f2255960461a61039b6139cb9462fa0 (patch)
tree37b6f9ba0e590a15494d5d25505c1aafaeba59ae /perl-install
parentad128f02d165f26d7eec3781952f108efb588c67 (diff)
downloaddrakx-2c0ac3014f2255960461a61039b6139cb9462fa0.tar
drakx-2c0ac3014f2255960461a61039b6139cb9462fa0.tar.gz
drakx-2c0ac3014f2255960461a61039b6139cb9462fa0.tar.bz2
drakx-2c0ac3014f2255960461a61039b6139cb9462fa0.tar.xz
drakx-2c0ac3014f2255960461a61039b6139cb9462fa0.zip
explain
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/bootloader.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm
index 8e70805e1..4d81cb88f 100644
--- a/perl-install/bootloader.pm
+++ b/perl-install/bootloader.pm
@@ -1310,9 +1310,9 @@ sub method_choices {
my $have_dmraid = find { fs::type::is_dmraid($_) } @{$all_hds->{hds}};
grep {
- !(/lilo/ && (isLoopback($root_part) || $have_dmraid))
- && (/grub2/ || $boot_part->{fs_type} ne 'btrfs')
- && !(/grub2?-graphic/ && cat_("/proc/cmdline") =~ /console=ttyS/);
+ !(/lilo/ && (isLoopback($root_part) || $have_dmraid)) # LILO doesn't work fake raid
+ && (/grub2/ || $boot_part->{fs_type} ne 'btrfs') # Only grub2 works on btrfs
+ && !(/grub2?-graphic/ && cat_("/proc/cmdline") =~ /console=ttyS/); # No Gfx mode on console
} method_choices_raw($b_prefix_mounted);
}