summaryrefslogtreecommitdiffstats
path: root/todo.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2000-01-17 01:10:00 +0000
committerMatt Wilson <msw@redhat.com>2000-01-17 01:10:00 +0000
commit65c2f33c42c356e9f38cd8175d8322276929d37f (patch)
tree3461c29978bc6f75fe190258ef36976047145a36 /todo.py
parent9419378576c578cb0f6b661aee5bb8e2f606e592 (diff)
downloadanaconda-65c2f33c42c356e9f38cd8175d8322276929d37f.tar.gz
anaconda-65c2f33c42c356e9f38cd8175d8322276929d37f.tar.xz
anaconda-65c2f33c42c356e9f38cd8175d8322276929d37f.zip
delay unmount in upgrade examine
Diffstat (limited to 'todo.py')
-rw-r--r--todo.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/todo.py b/todo.py
index 47fc0d5d7..d259992dd 100644
--- a/todo.py
+++ b/todo.py
@@ -898,7 +898,6 @@ class ToDo:
raid.stopAllRaid(mdList)
self.fstab.mountFilesystems (self.instPath)
packages = rpm.findUpgradeSet (self.hdList.hdlist, self.instPath)
- self.fstab.umountFilesystems (self.instPath)
# unselect all packages
for package in self.hdList.packages.values ():
@@ -932,6 +931,10 @@ class ToDo:
# new package dependency fixup
deps = self.verifyDeps (self.instPath, db)
+ del db
+
+ self.fstab.umountFilesystems (self.instPath)
+
for (name, suggest) in deps:
self.log ("Upgrade Dependency: %s needs %s, automatically added.", name, suggest)
self.selectDeps (deps)