[PATCH] Support XFS on all filesystems except /boot (#766878)

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

 



xfsprogs is now part of the main repo, so we have the utils in the
install image.  Just need these changes to let people create XFS
volumes at install time.
---
 storage/__init__.py   |    5 -----
 storage/formats/fs.py |    1 +
 2 files changed, 1 insertions(+), 5 deletions(-)

diff --git a/storage/__init__.py b/storage/__init__.py
index 3ad9286..0bc10cd 100644
--- a/storage/__init__.py
+++ b/storage/__init__.py
@@ -1019,11 +1019,6 @@ class Storage(object):
                             "for a normal %(productName)s install.")
                           % {'min': self.anaconda.backend.getMinimumSizeMB("/"),
                              'productName': productName})
-        
-        if root and root.format.type == "xfs":
-            errors.append(_("Placing the root partition on an XFS "
-                            "filesystem is not supported in %s.") %
-                          productName)
 
         # livecds have to have the rootfs type match up
         if (root and
diff --git a/storage/formats/fs.py b/storage/formats/fs.py
index d005698..cf72735 100644
--- a/storage/formats/fs.py
+++ b/storage/formats/fs.py
@@ -1267,6 +1267,7 @@ class XFS(FS):
     _maxSize = 16 * 1024 * 1024
     _formattable = True
     _linuxNative = True
+    _bootable = False
     _supported = True
     _dump = True
     _check = True
-- 
1.7.1

_______________________________________________
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