From 2c0ac3014f2255960461a61039b6139cb9462fa0 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 2 Jun 2016 18:38:16 +0200 Subject: explain --- perl-install/bootloader.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'perl-install') 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); } -- cgit v1.2.1