summaryrefslogtreecommitdiffstats
path: root/upgrade.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2001-08-08 21:01:33 +0000
committerJeremy Katz <katzj@redhat.com>2001-08-08 21:01:33 +0000
commitb33f2e392253c6e3c3c4b9e7a0fed13ed153265f (patch)
treeafe42d2401c6d0ea7605551818d84e5dff724e8c /upgrade.py
parent0e679cad9a18f7a42aa86507a77d87b4d585ec5d (diff)
downloadanaconda-b33f2e392253c6e3c3c4b9e7a0fed13ed153265f.tar.gz
anaconda-b33f2e392253c6e3c3c4b9e7a0fed13ed153265f.tar.xz
anaconda-b33f2e392253c6e3c3c4b9e7a0fed13ed153265f.zip
minimum swap file size of 32 megs... anything less is just silly
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 4caf70df5..4a95c9a7e 100644
--- a/upgrade.py
+++ b/upgrade.py
@@ -140,6 +140,8 @@ def upgradeSwapSuggestion(dispatch, id, instPath):
fsList.append(info)
suggestion = mem * 2 - swap
+ if suggestion < 32:
+ suggestion = 32
suggSize = 0
suggMnt = None
for (mnt, part, size) in fsList: