[PATCH f17-branch 1/2] We support resizing ntfs even though it is not supported. (#756319)

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

 



---
 pyanaconda/storage/formats/fs.py |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/pyanaconda/storage/formats/fs.py b/pyanaconda/storage/formats/fs.py
index c47f4c3..a9abe1a 100644
--- a/pyanaconda/storage/formats/fs.py
+++ b/pyanaconda/storage/formats/fs.py
@@ -152,7 +152,7 @@ class FS(DeviceFormat):
         self._size = kwargs.get("size", 0)
         self._minInstanceSize = None    # min size of this FS instance
         self._mountpoint = None     # the current mountpoint when mounted
-        if self.exists and self.supported:
+        if self.exists:
             self._size = self._getExistingSize()
             foo = self.minSize      # force calculation of minimum size
 
@@ -254,7 +254,8 @@ class FS(DeviceFormat):
         """
         size = self._size
 
-        if self.infofsProg and self.exists and not size:
+        if self.infofsProg and self.exists and not size and \
+           iutil.find_program_in_path(self.infofsProg):
             try:
                 values = []
                 argv = self._defaultInfoOptions + [ self.device ]
-- 
1.7.6

_______________________________________________
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