]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - make.sh
make.sh: fix tmpfs build on 32bit machines
[people/pmueller/ipfire-2.x.git] / make.sh
diff --git a/make.sh b/make.sh
index e4c5a3a95909490a4eecbd03f254847981edb1ef..bea4f5d6d75062c86c6ab74e9409fc1021b529a4 100755 (executable)
--- 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}