common/chroot-style/proot.sh: put result file to /tmp
This commit is contained in:
parent
8dcf794352
commit
29c210185b
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ if [ -z "$MASTERDIR" -o -z "$DISTDIR" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# proot does not properly return the resultcode. Workaround this
|
# 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 \
|
proot -r $MASTERDIR -w / -b "$RESULT:/.result" -b $DISTDIR:/void-packages \
|
||||||
${HOSTDIR:+-b $HOSTDIR:/host} -b /proc:/proc -b /dev:/dev \
|
${HOSTDIR:+-b $HOSTDIR:/host} -b /proc:/proc -b /dev:/dev \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue