diff options
author | Jeremy Katz <katzj@redhat.com> | 2002-02-01 06:06:36 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2002-02-01 06:06:36 +0000 |
commit | d4c252fc5e8342d5737314cf76ec604733f87353 (patch) | |
tree | 12f18452513467294c95448f2b10ce110e759100 /packages.py | |
parent | 89a60c932f4defaaf565a13cf11cda8233f917c0 (diff) | |
download | anaconda-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.py | 9 |
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() |