common/chroot-style/proot.sh: put result file to /tmp
This commit is contained in:
parent
8dcf794352
commit
29c210185b
|
@ -18,7 +18,7 @@ if [ -z "$MASTERDIR" -o -z "$DISTDIR" ]; then
|
|||
fi
|
||||
|
||||
# proot does not properly return the resultcode. Workaround this
|
||||
RESULT=$(mktemp result.XXXXXXXXXX)
|
||||
RESULT=$(mktemp /tmp/proot_result.XXXXXXXXXX)
|
||||
|
||||
proot -r $MASTERDIR -w / -b "$RESULT:/.result" -b $DISTDIR:/void-packages \
|
||||
${HOSTDIR:+-b $HOSTDIR:/host} -b /proc:/proc -b /dev:/dev \
|
||||
|
|
Loading…
Reference in New Issue