From 8853c28130c9e3eaf4c6a8135241159f2f08f055 Mon Sep 17 00:00:00 2001
From: Michael Gehring <mg@ebfe.org>
Date: Thu, 17 Nov 2016 08:45:21 +0000
Subject: [PATCH] common/chroot-style/proot.sh: disable seccomp

---
 common/chroot-style/proot.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/chroot-style/proot.sh b/common/chroot-style/proot.sh
index eb61e4ae554..58e7cde01bd 100755
--- a/common/chroot-style/proot.sh
+++ b/common/chroot-style/proot.sh
@@ -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 $@