[PATCH] Make BTRFS a supported install target

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

 



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@xxxxxxxxxx>
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)
 
 
_______________________________________________
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