Merge pull request #5185 from ebfe/proot-seccomp

common/chroot-style/proot.sh: disable seccomp
This commit is contained in:
Enno Boland 2017-01-10 17:48:59 +01:00 committed by GitHub
commit 6dda3c2a0e

View file

@ -20,7 +20,7 @@ fi
# proot does not properly return the resultcode. Workaround this
RESULT=$(mktemp /tmp/proot_result.XXXXXXXXXX)
proot -r $MASTERDIR -w / -b "$RESULT:/.result" -b $DISTDIR:/void-packages \
PROOT_NO_SECCOMP=1 proot -r $MASTERDIR -w / -b "$RESULT:/.result" -b $DISTDIR:/void-packages \
${HOSTDIR:+-b $HOSTDIR:/host} -b /proc:/proc -b /dev:/dev \
-b /sys:/sys $EXTRA_ARGS /bin/sh -c '$@; echo $? > /.result' $0 $@