summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2018-09-26 09:42:31 +0100
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2019-04-14 16:25:19 +0900
commit0e335a8e5ee4ef7e9e7ae7c758c7595b16fb4fbd (patch)
tree36e026baf2badb15ea07b352191539c20b9cfc6c
parent6b1afee2b7d8f6375993a2eebde1e07945622b7c (diff)
downloadbuildstream-0e335a8e5ee4ef7e9e7ae7c758c7595b16fb4fbd.tar.gz
_platform/linux.py: Do not disable push globally
On systems without user namespace support, elements with unsupported sandbox config (UID/GID) are now individually tainted, which disables artifact push.
-rw-r--r--buildstream/_platform/linux.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildstream/_platform/linux.py b/buildstream/_platform/linux.py
index edf223639..119f13605 100644
--- a/buildstream/_platform/linux.py
+++ b/buildstream/_platform/linux.py
@@ -40,7 +40,7 @@ class Linux(Platform):
self._die_with_parent_available = _site.check_bwrap_version(0, 1, 8)
self._user_ns_available = self._check_user_ns_available()
- self._artifact_cache = CASCache(context, enable_push=self._user_ns_available)
+ self._artifact_cache = CASCache(context)
@property
def artifactcache(self):