summaryrefslogtreecommitdiffstats
path: root/mdk-stage1
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@gmail.com>2023-05-05 20:05:41 +0000
committerPascal Terjan <pterjan@gmail.com>2023-05-05 20:11:21 +0000
commit17094e624da9b8e7d27dee1b3b68db40619bdb25 (patch)
treec81ddb5ccf2db684958c47e9d582ab6020d041f3 /mdk-stage1
parentbc1b6ee565efced5ce23ad68a1e302f61bcc8b09 (diff)
downloaddrakx-17094e624da9b8e7d27dee1b3b68db40619bdb25.tar
drakx-17094e624da9b8e7d27dee1b3b68db40619bdb25.tar.gz
drakx-17094e624da9b8e7d27dee1b3b68db40619bdb25.tar.bz2
drakx-17094e624da9b8e7d27dee1b3b68db40619bdb25.tar.xz
drakx-17094e624da9b8e7d27dee1b3b68db40619bdb25.zip
Increase MEM_LIMIT_*
Those are not really relevant now, as no one would not install on a machine with less than 512MB or 1G ram but stage2 currently takes 120MB while we allow downloading it over HTTP if the machine has at least 68MB.
Diffstat (limited to 'mdk-stage1')
-rw-r--r--mdk-stage1/config-stage1.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/mdk-stage1/config-stage1.h b/mdk-stage1/config-stage1.h
index 4d27a58c9..feb621494 100644
--- a/mdk-stage1/config-stage1.h
+++ b/mdk-stage1/config-stage1.h
@@ -22,9 +22,9 @@
/* If we have more than that amount of memory (in Mbytes), we assume we can load the second stage as a ramdisk */
-#define MEM_LIMIT_DRAKX 68
+#define MEM_LIMIT_DRAKX 192
/* If we have more than that amount of memory (in Mbytes), we preload the second stage as a ramdisk */
-#define MEM_LIMIT_DRAKX_PRELOAD 100
+#define MEM_LIMIT_DRAKX_PRELOAD 256
/* If we have more than that amount of memory (in Mbytes), we assume we can load the rescue as a ramdisk */
#define MEM_LIMIT_RESCUE 40