summaryrefslogtreecommitdiffstats
path: root/perl-install/fsedit.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/fsedit.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/fsedit.pm')
-rw-r--r--perl-install/fsedit.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/fsedit.pm b/perl-install/fsedit.pm
index 55efecddd..48da034c7 100644
--- a/perl-install/fsedit.pm
+++ b/perl-install/fsedit.pm
@@ -479,6 +479,8 @@ You should create a separate /boot partition first") if $mntpoint eq "/" && isLV
die N("You need a true filesystem (ext2/3/4, reiserfs, xfs, or jfs) for this mount point\n")
if !isTrueLocalFS($part) && $mntpoint eq '/';
die N("You need a true filesystem (ext2/3/4, reiserfs, xfs, or jfs) for this mount point\n")
+ if $part->{fs_type} eq 'btrfs' && $mntpoint eq '/boot';
+ die N("You need a true filesystem (ext2/3/4, reiserfs, xfs, or jfs) for this mount point\n")
if !isTrueFS($part) && member($mntpoint, '/home', fs::type::directories_needed_to_boot());
die N("You cannot use an encrypted filesystem for mount point %s", $mntpoint)
if $part->{options} =~ /encrypted/ && member($mntpoint, qw(/ /usr /var /boot));