[PATCH] Only /boot needs to be on one of the bootFSTypes. (#557718)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 platform.py |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/platform.py b/platform.py
index 2a841e8..f3154d4 100644
--- a/platform.py
+++ b/platform.py
@@ -125,7 +125,9 @@ class Platform(object):
 
         # Make sure /boot is on a supported FS type.  This prevents crazy
         # things like boot on vfat.
-        if not req.format.bootable or not req.format.type in self.bootFSTypes:
+        if not req.format.bootable or \
+           (getattr(req.format, "mountpoint", None) == "/boot" and
+            req.format.type not in self.bootFSTypes):
             errors.append(_("Bootable partitions cannot be on an %s filesystem.") % req.format.type)
 
         if req.type == "luks/dm-crypt":
-- 
1.6.5.2

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux