summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pyanaconda/packages.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/pyanaconda/packages.py b/pyanaconda/packages.py
index 064ba1762..2765630a4 100644
--- a/pyanaconda/packages.py
+++ b/pyanaconda/packages.py
@@ -93,7 +93,9 @@ def turnOnFilesystems(anaconda):
return DISPATCH_NOOP
if not anaconda.upgrade:
- if not anaconda.storage.fsset.active:
+ if (flags.livecdInstall and
+ not flags.imageInstall and
+ not anaconda.storage.fsset.active):
# turn off any swaps that we didn't turn on
# needed for live installs
iutil.execWithRedirect("swapoff", ["-a"],