summaryrefslogtreecommitdiffstats
path: root/packages.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2002-02-01 06:06:36 +0000
committerJeremy Katz <katzj@redhat.com>2002-02-01 06:06:36 +0000
commitd4c252fc5e8342d5737314cf76ec604733f87353 (patch)
tree12f18452513467294c95448f2b10ce110e759100 /packages.py
parent89a60c932f4defaaf565a13cf11cda8233f917c0 (diff)
downloadanaconda-d4c252fc5e8342d5737314cf76ec604733f87353.tar.gz
anaconda-d4c252fc5e8342d5737314cf76ec604733f87353.tar.xz
anaconda-d4c252fc5e8342d5737314cf76ec604733f87353.zip
hack until we write out a proper /etc/lvmtab
Diffstat (limited to 'packages.py')
-rw-r--r--packages.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/packages.py b/packages.py
index 920733ac2..3a4e96afa 100644
--- a/packages.py
+++ b/packages.py
@@ -792,6 +792,15 @@ def doPostInstall(method, id, intf, instPath):
finally:
pass
+ # XXX hack - we should really write a proper /etc/lvmtab
+ if os.access(instPath + "/sbin/vgscan", os.X_OK):
+ rc = iutil.execWithRedirect("/usr/sbin/vgscan",
+ ["vgscan", "-v"],
+ stdout = "/dev/tty5",
+ stderr = "/dev/tty5",
+ root = instPath,
+ searchPath = 1)
+
w.pop ()
sys.stdout.flush()