summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian C. Lane <bcl@redhat.com>2012-05-04 09:10:05 -0700
committerBrian C. Lane <bcl@redhat.com>2012-05-04 15:12:02 -0700
commiteb9ec1f66c74af81747cb0c8e107fd4a96d8e9ec (patch)
treeeb3f331eea853c564e1d729982e98fca8c4a28a7
parent51f1c6620ba7143f9690f6c029e1e7176bb3459a (diff)
downloadanaconda-eb9ec1f66c74af81747cb0c8e107fd4a96d8e9ec.tar.gz
anaconda-eb9ec1f66c74af81747cb0c8e107fd4a96d8e9ec.tar.xz
anaconda-eb9ec1f66c74af81747cb0c8e107fd4a96d8e9ec.zip
lower minimum memory requirements by 256M (#708966)
Now that we are running from the media instead of RAM we can lower our minimum requirements a bit. Tested with a DVD desktop install in 512M and it worked fine.
-rw-r--r--pyanaconda/isys/mem.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/pyanaconda/isys/mem.h b/pyanaconda/isys/mem.h
index 3c4051c26..092999e2f 100644
--- a/pyanaconda/isys/mem.h
+++ b/pyanaconda/isys/mem.h
@@ -25,15 +25,16 @@
#include <glib.h>
+/* The *_RAM sizes are all in KB */
#if defined(__powerpc64__) || defined(__sparc__)
- #define MIN_RAM 1024*1024 // 1 GB
- #define GUI_INSTALL_EXTRA_RAM 512*1024 // 512 MB
+ #define MIN_RAM 768*1024
+ #define GUI_INSTALL_EXTRA_RAM 512*1024
#else
- #define MIN_RAM 768 * 1024 // 768 MB
- #define GUI_INSTALL_EXTRA_RAM 0 * 1024 // 0 MB
+ #define MIN_RAM 512 * 1024
+ #define GUI_INSTALL_EXTRA_RAM 0 * 1024
#endif
#define MIN_GUI_RAM MIN_RAM + GUI_INSTALL_EXTRA_RAM
-#define EARLY_SWAP_RAM 1152 * 1024 // 1152 MB
+#define EARLY_SWAP_RAM 896 * 1024
#define MEMINFO "/proc/meminfo"