summaryrefslogtreecommitdiffstats
path: root/text.py
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>1999-09-08 23:21:19 +0000
committerErik Troan <ewt@redhat.com>1999-09-08 23:21:19 +0000
commit62e6f1b1ee61f1eb0d0ca1abd4e64e6e2024df74 (patch)
treefa664da2b22a599e95e50347f78b96803617286c /text.py
parentd41704c76906f93b4a763eab0dceab7f675bb2cf (diff)
downloadanaconda-62e6f1b1ee61f1eb0d0ca1abd4e64e6e2024df74.tar.gz
anaconda-62e6f1b1ee61f1eb0d0ca1abd4e64e6e2024df74.tar.xz
anaconda-62e6f1b1ee61f1eb0d0ca1abd4e64e6e2024df74.zip
turn on swap early on low memory machines
Diffstat (limited to 'text.py')
-rw-r--r--text.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/text.py b/text.py
index 603873fa8..43d0378f8 100644
--- a/text.py
+++ b/text.py
@@ -786,6 +786,11 @@ class PartitionWindow:
for partition, mount, fstype, size in todo.ddruid.getFstab ():
todo.addMount(partition, mount, fstype)
+
+ if iutil.memAvailable() < 14000:
+ todo.ddruid.save ()
+ todo.makeFilesystems (createFs = 0)
+ todo.ddruidAlreadySaved = 1
return dir