summaryrefslogtreecommitdiff
path: root/src/buildstream/data
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2020-03-30 17:47:12 +0200
committerbst-marge-bot <marge-bot@buildstream.build>2020-04-14 15:30:49 +0000
commitafb35bb157ae02df5022f220c2e10dcd4e51d4ad (patch)
tree03c0690ec98b03e3982f8519f5f94c7e2181f426 /src/buildstream/data
parent96430e2cf83ed0140968870e537494c130d43b7f (diff)
downloadbuildstream-afb35bb157ae02df5022f220c2e10dcd4e51d4ad.tar.gz
sandbox: Make build-uid and build-gid configuration optional
This allows use of sandbox implementations that don't support configuring sandbox UID/GID such as buildbox-run-userchroot.
Diffstat (limited to 'src/buildstream/data')
-rw-r--r--src/buildstream/data/projectconfig.yaml8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/buildstream/data/projectconfig.yaml b/src/buildstream/data/projectconfig.yaml
index d84edbf92..a2dc4ad9b 100644
--- a/src/buildstream/data/projectconfig.yaml
+++ b/src/buildstream/data/projectconfig.yaml
@@ -74,12 +74,8 @@ environment:
environment-nocache: []
# Configuration for the sandbox other than environment variables
-# should go in 'sandbox'. This just contains the UID and GID that
-# the user in the sandbox will have. Not all sandboxes will support
-# changing the values.
-sandbox:
- build-uid: 0
- build-gid: 0
+# should go in 'sandbox'.
+sandbox: {}
# Defaults for the 'split-rules' public data found on elements
# in the 'bst' domain.