the inode count of tmpfs defaults on availbable low memory page count
which is too low on 32bit machines
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
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}