common/chroot-style/proot.sh: disable seccomp
This commit is contained in:
parent
26d5b15d92
commit
8853c28130
|
@ -20,7 +20,7 @@ fi
|
||||||
# proot does not properly return the resultcode. Workaround this
|
# proot does not properly return the resultcode. Workaround this
|
||||||
RESULT=$(mktemp /tmp/proot_result.XXXXXXXXXX)
|
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 \
|
${HOSTDIR:+-b $HOSTDIR:/host} -b /proc:/proc -b /dev:/dev \
|
||||||
-b /sys:/sys $EXTRA_ARGS /bin/sh -c '$@; echo $? > /.result' $0 $@
|
-b /sys:/sys $EXTRA_ARGS /bin/sh -c '$@; echo $? > /.result' $0 $@
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue