summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--packages.py1
-rw-r--r--storage/devicetree.py1
2 files changed, 1 insertions, 1 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:
diff --git a/storage/devicetree.py b/storage/devicetree.py
index 7bd9ecc1d..4729810d0 100644
--- a/storage/devicetree.py
+++ b/storage/devicetree.py
@@ -473,7 +473,6 @@ class DeviceTree(object):
for action in self._actions:
log.debug("action: %s" % action)
- self.teardownAll()
for action in self._actions:
log.info("executing action: %s" % action)
if not dryRun: