summaryrefslogtreecommitdiffstats
path: root/upgrade.py
diff options
context:
space:
mode:
authorPaul Nasrat <pnasrat@redhat.com>2006-09-20 14:23:00 +0000
committerPaul Nasrat <pnasrat@redhat.com>2006-09-20 14:23:00 +0000
commit48fd68167ad20b4c26c287b27b59e7ee94d81a84 (patch)
tree4b6457f2444eaf394aae7ab19c8bfa7e1740b517 /upgrade.py
parentda55813611f08ea0f189cf3d4f183b16420a1edf (diff)
downloadanaconda-48fd68167ad20b4c26c287b27b59e7ee94d81a84.tar.gz
anaconda-48fd68167ad20b4c26c287b27b59e7ee94d81a84.tar.xz
anaconda-48fd68167ad20b4c26c287b27b59e7ee94d81a84.zip
Format swap on ppc upgrades (#206523)
Diffstat (limited to 'upgrade.py')
-rw-r--r--upgrade.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/upgrade.py b/upgrade.py
index 41ec71e74..1b88c6819 100644
--- a/upgrade.py
+++ b/upgrade.py
@@ -357,5 +357,7 @@ def upgradeMountFilesystems(anaconda):
anaconda.id.fsset.add(entry)
if flags.setupFilesystems:
+ if rhpl.getArch() == "ppc":
+ anaconda.id.fsset.formatSwap(anaconda.rootPath)
anaconda.id.fsset.turnOnSwap(anaconda.rootPath, upgrading=True)
anaconda.id.fsset.mkDevRoot(anaconda.rootPath)