summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2018-09-26 09:42:31 +0100
committerJürg Billeter <j@bitron.ch>2018-09-27 10:18:03 +0100
commit966af3d254ba87df6047c89441840558689e9e29 (patch)
tree67fb300de1f8981e59196b2d0832404380df884b
parentb4ad84c34a0ca94791b85e2b5f90024f1ec65ddc (diff)
downloadbuildstream-966af3d254ba87df6047c89441840558689e9e29.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):