mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-16 14:03:00 +02:00
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 <arne_f@ipfire.org>
This commit is contained in:
2
make.sh
2
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}
|
||||
|
||||
Reference in New Issue
Block a user