diff options
author | Jeremy Katz <katzj@redhat.com> | 2003-10-14 19:36:32 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2003-10-14 19:36:32 +0000 |
commit | 60a8f9866e39b0eb0f5f0e15057f36679d007522 (patch) | |
tree | e86d39f59a06ada627d57addf02b31810730853d /packages.py | |
parent | 6af42d3070c2528db2c3fb47a3613e150ef1c449 (diff) | |
download | anaconda-60a8f9866e39b0eb0f5f0e15057f36679d007522.tar.gz anaconda-60a8f9866e39b0eb0f5f0e15057f36679d007522.tar.xz anaconda-60a8f9866e39b0eb0f5f0e15057f36679d007522.zip |
read product path from the build stamp if possible, default to RedHat if not
available. basically notting's patch with some fixes and genhdlist handled
Diffstat (limited to 'packages.py')
-rw-r--r-- | packages.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages.py b/packages.py index 4ec77435b..86675d1d3 100644 --- a/packages.py +++ b/packages.py @@ -705,7 +705,7 @@ def doPreInstall(method, id, intf, instPath, dir): # try to copy the comps package. if it doesn't work, don't worry about it try: - id.compspkg = method.copyFileToTemp("RedHat/base/comps.rpm") + id.compspkg = method.copyFileToTemp("%s/base/comps.rpm" % (productPath,)) except: log("Unable to copy comps package") id.compspkg = None |