remove tmpfs default 50% memory usage limit

This commit is contained in:
James Swineson 2019-09-01 23:22:25 +08:00 committed by GitHub
parent 2ad8723115
commit 72db133eef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -82,7 +82,7 @@ menhera::prepare_environment() {
echo "Creating workspace in '${WORKDIR}'..." echo "Creating workspace in '${WORKDIR}'..."
# workspace # workspace
mkdir -p "${WORKDIR}" mkdir -p "${WORKDIR}"
mount -t tmpfs tmpfs "${WORKDIR}" mount -t tmpfs -o size=0,nr_blocks=0,nr_inodes=0 tmpfs "${WORKDIR}"
# new rootfs # new rootfs
mkdir -p "${WORKDIR}/newroot" mkdir -p "${WORKDIR}/newroot"