mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
Increase build tmpfs size
increase build tmpfs size to prepare space for building BPF/BTF enabled kernel Singed-off-by: Vincent Li <vincent.mc.li@gmail.com>
This commit is contained in:
4
make.sh
4
make.sh
@@ -444,10 +444,10 @@ prepareenv() {
|
||||
|
||||
if [ "${ENABLE_RAMDISK}" = "on" ]; then
|
||||
mkdir -p $BASEDIR/build/usr/src
|
||||
mount -t tmpfs tmpfs -o size=8G,nr_inodes=1M,mode=1777 $BASEDIR/build/usr/src
|
||||
mount -t tmpfs tmpfs -o size=32G,nr_inodes=1M,mode=1777 $BASEDIR/build/usr/src
|
||||
|
||||
mkdir -p ${BASEDIR}/build/tmp
|
||||
mount -t tmpfs tmpfs -o size=4G,nr_inodes=1M,mode=1777 ${BASEDIR}/build/tmp
|
||||
mount -t tmpfs tmpfs -o size=16G,nr_inodes=1M,mode=1777 ${BASEDIR}/build/tmp
|
||||
fi
|
||||
|
||||
mkdir -p $BASEDIR/build/usr/src/{cache,config,doc,html,langs,lfs,log,src,ccache}
|
||||
|
||||
Reference in New Issue
Block a user