Skip to content
Snippets Groups Projects
Commit b7f941da authored by Ruben Rodriguez's avatar Ruben Rodriguez
Browse files

Make sure we umount /tmp in the jails before starting

parent a4f91e78
Branches belenos
No related tags found
No related merge requests found
......@@ -198,8 +198,8 @@ tmpumount(){
}
tmpmount(){
[ $MEM -lt 16000000 ] && return
echo $PACKAGE | grep -q "linux" && return
grep jails/$UPSTREAM-$ARCH/tmp /proc/mounts -q && tmpumount
echo $PACKAGE | grep -q "linux" && return
mount -t tmpfs -o size=15G none jails/$UPSTREAM-$ARCH/tmp
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment