From 92fbca34173e3533cdae748d6c7196c42ed94e6c Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Wed, 18 Sep 2019 16:31:26 +0000 Subject: [PATCH] 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 --- make.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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} -- 2.39.5