You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildstream.apache.org by no...@apache.org on 2020/12/29 12:30:38 UTC

[buildstream] 06/06: Fix bst-here

This is an automated email from the ASF dual-hosted git repository.

not-in-ldap pushed a commit to branch except_intersections
in repository https://gitbox.apache.org/repos/asf/buildstream.git

commit dd7f8c43ce81dae3af51af2281174b0894ef7f84
Author: Tristan Maat <tr...@codethink.co.uk>
AuthorDate: Wed Nov 15 14:08:42 2017 +0000

    Fix bst-here
---
 contrib/bst-here | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/contrib/bst-here b/contrib/bst-here
index 6b4e6b2..a88a635 100755
--- a/contrib/bst-here
+++ b/contrib/bst-here
@@ -66,12 +66,16 @@ fi
 
 exec docker run --rm -i${is_tty:+ -t} \
                 --cap-add SYS_ADMIN \
+                --cap-add SYS_CHROOT \
+                --cap-add NET_ADMIN \
+                --cap-add SETUID \
+                --cap-add SETGID \
                 --env PS1="$BST_HERE_PS1" \
                 --device /dev/fuse \
                 --security-opt seccomp=unconfined \
                 --volume buildstream-cache:/root/.cache/buildstream \
                 --volume buildstream-config:/root/.config \
-                --volume "$PWD":/src \
+                --volume "$PWD":/src:Z \
                 --workdir /src \
                 buildstream/buildstream-fedora:latest \
                 $command