mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-10 02:55:55 +02:00
make.sh: Make BUILD_DIR a mountpoint
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
3
make.sh
3
make.sh
@@ -426,6 +426,9 @@ prepareenv() {
|
||||
|
||||
mkdir -p $BASEDIR/build/usr/src/{cache,config,doc,html,langs,lfs,log,src,ccache}
|
||||
|
||||
# Make BUILD_DIR a mountpoint
|
||||
mount -o bind "${BUILD_DIR}" "${BUILD_DIR}"
|
||||
|
||||
# Create a new, minimal /dev
|
||||
mount build_dev "${BUILD_DIR}/dev" \
|
||||
-t tmpfs -o "nosuid,noexec,mode=0755,size=4m,nr_inodes=64k"
|
||||
|
||||
Reference in New Issue
Block a user