[PATCH] Don't hardcode path to tune2fs.

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

 



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

diff --git a/storage/formats/fs.py b/storage/formats/fs.py
index 55c7a2e..dc642d3 100644
--- a/storage/formats/fs.py
+++ b/storage/formats/fs.py
@@ -855,9 +855,10 @@ class Ext2FS(FS):
             return
 
         try:
-            rc = iutil.execWithRedirect("/usr/sbin/tune2fs",
+            rc = iutil.execWithRedirect("tune2fs",
                                         ["-c0", "-i0",
                                          "-ouser_xattr,acl", self.device],
+                                        searchPath = True,
                                         stdout = "/dev/tty5",
                                         stderr = "/dev/tty5")
         except Exception as e:
-- 
1.6.0.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