summaryrefslogtreecommitdiffstats
path: root/upgrade.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2002-07-30 02:59:57 +0000
committerJeremy Katz <katzj@redhat.com>2002-07-30 02:59:57 +0000
commitceb71328f853a585f7decfe71a290e4550478fd0 (patch)
treeed05c7b40ea9c34eebae823c1b67f149d9ff1821 /upgrade.py
parent210ff0ccd3b4cb2e0dd284e853b3a903a6b2f5c7 (diff)
downloadanaconda-ceb71328f853a585f7decfe71a290e4550478fd0.tar.gz
anaconda-ceb71328f853a585f7decfe71a290e4550478fd0.tar.xz
anaconda-ceb71328f853a585f7decfe71a290e4550478fd0.zip
this fixes 6.2 upgrades (#69960)
Diffstat (limited to 'upgrade.py')
-rw-r--r--upgrade.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/upgrade.py b/upgrade.py
index d54b11fe7..53013e317 100644
--- a/upgrade.py
+++ b/upgrade.py
@@ -293,6 +293,9 @@ def upgradeFindPackages(intf, method, id, instPath, dir):
rpm.addMacro("_dbpath", "/var/lib/rpm")
rpm.addMacro("_dbpath_rebuild", id.dbpath)
rpm.addMacro("_dbapi", "-1")
+ # have to make sure this isn't set, otherwise rpm won't even
+ # *try* to use old-format dbs
+ rpm.addMacro("__dbi_cdb", "")
rebuildpath = instPath + id.dbpath