From 2f621b80d5e8cfe4e800507885caf71c6304cc65 Mon Sep 17 00:00:00 2001 From: Vincent Li Date: Sun, 18 Feb 2024 05:20:08 +0000 Subject: [PATCH] Increase build tmpfs size increase build tmpfs size to prepare space for building BPF/BTF enabled kernel Singed-off-by: Vincent Li --- make.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/make.sh b/make.sh index 6178b46cb..4f9dfef79 100755 --- a/make.sh +++ b/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}