From: Arne Fitzenreiter Date: Wed, 18 Sep 2019 16:31:26 +0000 (+0000) Subject: make.sh: fix tmpfs build on 32bit machines X-Git-Tag: v2.23-core136 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fheads%2Fcore136;p=ipfire-2.x.git make.sh: fix tmpfs build on 32bit machines the inode count of tmpfs defaults on availbable low memory page count which is too low on 32bit machines Signed-off-by: Arne Fitzenreiter --- diff --git a/make.sh b/make.sh index e4c5a3a959..bea4f5d6d7 100755 --- a/make.sh +++ b/make.sh @@ -473,7 +473,7 @@ prepareenv() { if [ "${ENABLE_RAMDISK}" = "on" ]; then mkdir -p $BASEDIR/build/usr/src - mount -t tmpfs tmpfs -o size=4G,mode=1777 $BASEDIR/build/usr/src + mount -t tmpfs tmpfs -o size=4G,nr_inodes=1M,mode=1777 $BASEDIR/build/usr/src fi mkdir -p $BASEDIR/build/usr/src/{cache,config,doc,html,langs,lfs,log,src,ccache}