diff options
author | Erik Troan <ewt@redhat.com> | 1999-09-08 23:21:19 +0000 |
---|---|---|
committer | Erik Troan <ewt@redhat.com> | 1999-09-08 23:21:19 +0000 |
commit | 62e6f1b1ee61f1eb0d0ca1abd4e64e6e2024df74 (patch) | |
tree | fa664da2b22a599e95e50347f78b96803617286c /text.py | |
parent | d41704c76906f93b4a763eab0dceab7f675bb2cf (diff) | |
download | anaconda-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.py | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |