summaryrefslogtreecommitdiffstats
path: root/storage/formats
diff options
context:
space:
mode:
authorDavid Lehman <dlehman@redhat.com>2009-08-28 11:09:34 -0500
committerDavid Lehman <dlehman@redhat.com>2009-08-31 12:45:33 -0500
commit48f064b2faa49cdd9cb43ba34b1be4452b268673 (patch)
tree1c1865a9c18c04234e33f189093d7f14b2966c0c /storage/formats
parent202a0b589d3ee86302953726c576b44b60bd50f1 (diff)
downloadanaconda-48f064b2faa49cdd9cb43ba34b1be4452b268673.tar.gz
anaconda-48f064b2faa49cdd9cb43ba34b1be4452b268673.tar.xz
anaconda-48f064b2faa49cdd9cb43ba34b1be4452b268673.zip
Don't hardcode path to tune2fs.
Diffstat (limited to 'storage/formats')
-rw-r--r--storage/formats/fs.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/storage/formats/fs.py b/storage/formats/fs.py
index 55c7a2e8b..dc642d38c 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: