Merge pull request #5185 from ebfe/proot-seccomp
common/chroot-style/proot.sh: disable seccomp
This commit is contained in:
commit
6dda3c2a0e
|
@ -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 $@
|
||||
|
||||
|
|
Loading…
Reference in New Issue