From 40ea6e11fbfd7d3c6a5792cddb4de2d97eb4b342 Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Wed, 27 Aug 2014 21:11:05 +0000 Subject: Allow /boot on btrfs --- perl-install/NEWS | 2 ++ perl-install/bootloader.pm | 4 ++-- perl-install/fsedit.pm | 2 -- perl-install/install/NEWS | 2 ++ 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/perl-install/NEWS b/perl-install/NEWS index f6ada1ad3..fd93f33c3 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -1,3 +1,5 @@ +- allow /boot on btrfs + Version 16.39 - 17 August 2014 - mygtk3: 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); } diff --git a/perl-install/fsedit.pm b/perl-install/fsedit.pm index 8f5d600b6..47cb1c051 100644 --- a/perl-install/fsedit.pm +++ b/perl-install/fsedit.pm @@ -478,8 +478,6 @@ You should create a separate /boot partition first") if $mntpoint eq "/" && isLV if member($mntpoint, qw(/bin /dev /etc /lib /sbin /mnt /media)); 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) diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS index 8329fe9a2..201dc7067 100644 --- a/perl-install/install/NEWS +++ b/perl-install/install/NEWS @@ -1,3 +1,5 @@ +- allow /boot on btrfs + Version 16.40 - 22 August 2014 - adwaita-gtk3-theme no longer provides a settings.ini file -- cgit v1.2.1