summaryrefslogtreecommitdiffstats
path: root/upgrade.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2002-06-25 20:42:44 +0000
committerJeremy Katz <katzj@redhat.com>2002-06-25 20:42:44 +0000
commit63d6205907feb7cc771abcb546e68c82223ed21e (patch)
tree78cc60fff14da00ed65c8c77ac337a49891e24d2 /upgrade.py
parentdc44a06b95c25dd3dad62ebb2aae0290f279fb46 (diff)
downloadanaconda-63d6205907feb7cc771abcb546e68c82223ed21e.tar.gz
anaconda-63d6205907feb7cc771abcb546e68c82223ed21e.tar.xz
anaconda-63d6205907feb7cc771abcb546e68c82223ed21e.zip
we'll give this a try to see how much not having orphan file handling hurts us on upgrades. some quick stand-alone testing shows it to be reasonable (most things that got pulled in before will still get pulled for deps) with a few exceptions where we need to have a generic way to do these upgrade cases anyway
Diffstat (limited to 'upgrade.py')
-rw-r--r--upgrade.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/upgrade.py b/upgrade.py
index 543f4c3d2..6aaddf4e0 100644
--- a/upgrade.py
+++ b/upgrade.py
@@ -317,7 +317,8 @@ def upgradeFindPackages(intf, method, id, instPath, dir):
rpm.addMacro("_dbpath", id.dbpath)
rpm.addMacro("_dbapi", "3")
try:
- packages = rpm.findUpgradeSet(id.hdList.hdlist, instPath)
+ import findpackageset
+ packages = findpackageset.findpackageset(id.hdList.hdlist, instPath)
except rpm.error:
iutil.rmrf(rebuildpath)
win.pop()