summaryrefslogtreecommitdiffstats
path: root/partitioning.py
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2003-06-23 20:39:54 +0000
committerMike Fulbright <msf@redhat.com>2003-06-23 20:39:54 +0000
commit0804e9a0a958be39dbd83985924bedb70922621d (patch)
tree7392cc968de27f93d78a1518dcfad347dbb851c2 /partitioning.py
parentc3c6186f119894bedba234debf9caadf8ef04f03 (diff)
downloadanaconda-0804e9a0a958be39dbd83985924bedb70922621d.tar.gz
anaconda-0804e9a0a958be39dbd83985924bedb70922621d.tar.xz
anaconda-0804e9a0a958be39dbd83985924bedb70922621d.zip
switch to using memory sniffer which gives a more accurate measure of space available for anaconda to run by taking into account memory allocated to ramfs filesystems (/tmp).
Diffstat (limited to 'partitioning.py')
-rw-r--r--partitioning.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/partitioning.py b/partitioning.py
index 0f83cd06e..06efec103 100644
--- a/partitioning.py
+++ b/partitioning.py
@@ -6,7 +6,7 @@
# Mike Fulbright <msf@redhat.com>
# Harald Hoyer <harald@redhat.de>
#
-# Copyright 2001-2002 Red Hat, Inc.
+# Copyright 2001-2003 Red Hat, Inc.
#
# This software may be freely redistributed under the terms of the GNU
# library public license.
@@ -98,8 +98,8 @@ def partitioningComplete(bl, fsset, diskSet, partitions, intf, instPath, dir):
else:
raise RuntimeError, ("Managed to not get an entry back from "
"request.toEntry")
-
- if iutil.memInstalled() > isys.EARLY_SWAP_RAM:
+
+ if iutil.memAvailable() > isys.EARLY_SWAP_RAM:
return
# XXX this attribute is probably going away