]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
make.sh: Increase maximum size of ramdisk to 8GB
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 16 Aug 2020 10:28:09 +0000 (10:28 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 16 Aug 2020 10:29:43 +0000 (10:29 +0000)
The previous 4GB were not enough for a full GCC bootstrap
in the toolchain stage.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
make.sh

diff --git a/make.sh b/make.sh
index f371a36a5159843b7e169a2e3c3393a6eddd2215..ee34db1ac11a535755194807aac83148248691f0 100755 (executable)
--- a/make.sh
+++ b/make.sh
@@ -476,7 +476,7 @@ prepareenv() {
 
        if [ "${ENABLE_RAMDISK}" = "on" ]; then
                mkdir -p $BASEDIR/build/usr/src
-               mount -t tmpfs tmpfs -o size=4G,nr_inodes=1M,mode=1777 $BASEDIR/build/usr/src
+               mount -t tmpfs tmpfs -o size=8G,nr_inodes=1M,mode=1777 $BASEDIR/build/usr/src
 
                mkdir -p ${BASEDIR}/build/tmp
                mount -t tmpfs tmpfs -o size=4G,nr_inodes=1M,mode=1777 ${BASEDIR}/build/tmp