summaryrefslogtreecommitdiffstats
path: root/perl-install/bootloader.pm
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@gmail.com>2014-08-27 21:11:05 +0000
committerPascal Terjan <pterjan@gmail.com>2014-10-20 21:29:55 +0000
commit9c28f1e61a447052bdccb3364174745ac7cafa29 (patch)
treefaa24a5830f19990cd2e83adf7783fbe8ca756c2 /perl-install/bootloader.pm
parent84066dbe06d81129709ac743a739cc59aaea12f7 (diff)
downloaddrakx-9c28f1e61a447052bdccb3364174745ac7cafa29.tar
drakx-9c28f1e61a447052bdccb3364174745ac7cafa29.tar.gz
drakx-9c28f1e61a447052bdccb3364174745ac7cafa29.tar.bz2
drakx-9c28f1e61a447052bdccb3364174745ac7cafa29.tar.xz
drakx-9c28f1e61a447052bdccb3364174745ac7cafa29.zip
Allow /boot 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 4d0005cd7..885c30dfa 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))
- && !(/grub/ && isRAID($boot_part))
+ !(/lilo/ && (isLoopback($root_part) || $have_dmraid ||
+ $boot_part->{fs_type} eq 'btrfs'))
&& !(/grub-graphic/ && cat_("/proc/cmdline") =~ /console=ttyS/);
} method_choices_raw($b_prefix_mounted);
}