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

[PATCH] Make BTRFS a supported install target



Hello,

Looks like my original patch got held up at moderation, so trying
again from a different address.  This patch removes the need for a
special anaconda option to install onto BTRFS, which has become stable
enough for wider testing.  This is based on what is done for XFS, so
hopefully it's right.  Thanks,

Signed-off-by: Josef Bacik <josef redhat com>
diff --git a/pyanaconda/storage/formats/fs.py b/pyanaconda/storage/formats/fs.py
index c3ea79c..0d01fd4 100644
--- a/pyanaconda/storage/formats/fs.py
+++ b/pyanaconda/storage/formats/fs.py
@@ -1101,7 +1101,7 @@ class BTRFS(FS):
     _linuxNative = True
     _bootable = False
     _maxLabelChars = 256
-    _supported = False
+    _supported = True
     _dump = True
     _check = True
     _packages = ["btrfs-progs"]
@@ -1125,15 +1125,6 @@ class BTRFS(FS):
         argv = ["-r", "%dm" % (self.targetSize,), self.device]
         return argv
 
-    @property
-    def supported(self):
-        """ Is this filesystem a supported type? """
-        supported = self._supported
-        if flags.cmdline.has_key("btrfs"):
-            supported = self.utilsAvailable
-
-        return supported
-
 register_device_format(BTRFS)
 
 

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