summaryrefslogtreecommitdiffstats
path: root/perl-install/bootloader.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-04-28 19:49:53 +0000
committerThierry Vignaud <tv@mageia.org>2012-04-28 19:49:53 +0000
commit900590657e31ed9da66718da7d7fdbe59408c226 (patch)
treecb2e4c53f7397027405fc36e9e9098d3c1021f1c /perl-install/bootloader.pm
parent9df220c4b6b5ace71378306095454c1d97fcd3cf (diff)
downloaddrakx-900590657e31ed9da66718da7d7fdbe59408c226.tar
drakx-900590657e31ed9da66718da7d7fdbe59408c226.tar.gz
drakx-900590657e31ed9da66718da7d7fdbe59408c226.tar.bz2
drakx-900590657e31ed9da66718da7d7fdbe59408c226.tar.xz
drakx-900590657e31ed9da66718da7d7fdbe59408c226.zip
(install,check_mntpoint) forbid having /boot as btrfs (mga#5627)
Diffstat (limited to 'perl-install/bootloader.pm')
-rw-r--r--perl-install/bootloader.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm
index c7546a125..757b3022e 100644
--- a/perl-install/bootloader.pm
+++ b/perl-install/bootloader.pm
@@ -1968,7 +1968,7 @@ sub install {
if (my $part = fs::get::device2part($bootloader->{boot}, [ fs::get::fstab($all_hds) ])) {
die N("You cannot install the bootloader on a %s partition\n", $part->{fs_type})
- if $part->{fs_type} eq 'xfs';
+ if member($part->{fs_type}, qw(btrfs xfs));
}
$bootloader->{keytable} = keytable($bootloader->{keytable});
action($bootloader, 'install', $all_hds);