summaryrefslogtreecommitdiffstats
path: root/packages.py
diff options
context:
space:
mode:
authorDavid Lehman <dlehman@redhat.com>2009-03-09 19:47:34 -0500
committerDavid Lehman <dlehman@redhat.com>2009-03-09 20:13:56 -0500
commit65542dd664c9a2d7d2c6af66dc6ecda2ea1544b3 (patch)
tree7482978554dea375cb76dc388223c3348c0092bb /packages.py
parent7db25498c16f455316d6065212542e820c39f972 (diff)
downloadanaconda-65542dd664c9a2d7d2c6af66dc6ecda2ea1544b3.tar.gz
anaconda-65542dd664c9a2d7d2c6af66dc6ecda2ea1544b3.tar.xz
anaconda-65542dd664c9a2d7d2c6af66dc6ecda2ea1544b3.zip
Move the recursive teardown of all devices out of processActions.
For upgrades we won't want to tear down everything, so do it in turnOnFilesystems instead, since we're already doing several things in there based on upgrade -v- install.
Diffstat (limited to 'packages.py')
-rw-r--r--packages.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages.py b/packages.py
index 2dd562d6a..26eb7dfa0 100644
--- a/packages.py
+++ b/packages.py
@@ -103,6 +103,7 @@ def turnOnFilesystems(anaconda):
iutil.execWithRedirect("swapoff", ["-a"],
stdout = "/dev/tty5", stderr="/dev/tty5",
searchPath = 1)
+ anaconda.id.storage.devicetree.teardownAll()
upgrade_migrate = False
if anaconda.id.upgrade: