summaryrefslogtreecommitdiff
path: root/buildstream/_platform
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2017-11-28 15:48:24 +0000
committerJürg Billeter <j@bitron.ch>2018-02-08 16:38:48 +0100
commit4b3d83107d80c193b812ddb63b7e6628ba678c87 (patch)
tree4d7bcd23ffda2533baf1bb5ba4accd0c258dd42a /buildstream/_platform
parentce1b5bf600461465d10a61835a2783dddc1ac59a (diff)
downloadbuildstream-4b3d83107d80c193b812ddb63b7e6628ba678c87.tar.gz
_artifactcache: Use project-specific remotes for subprojects
Diffstat (limited to 'buildstream/_platform')
-rw-r--r--buildstream/_platform/linux.py2
-rw-r--r--buildstream/_platform/unix.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/buildstream/_platform/linux.py b/buildstream/_platform/linux.py
index 265352561..5ca1878b9 100644
--- a/buildstream/_platform/linux.py
+++ b/buildstream/_platform/linux.py
@@ -36,7 +36,7 @@ class Linux(Platform):
self._user_ns_available = False
self.check_user_ns_available(context)
- self._artifact_cache = OSTreeCache(context, project, self._user_ns_available)
+ self._artifact_cache = OSTreeCache(context, self._user_ns_available)
def check_user_ns_available(self, context):
diff --git a/buildstream/_platform/unix.py b/buildstream/_platform/unix.py
index a34938a98..6d7b46374 100644
--- a/buildstream/_platform/unix.py
+++ b/buildstream/_platform/unix.py
@@ -32,7 +32,7 @@ class Unix(Platform):
def __init__(self, context, project):
super().__init__(context, project)
- self._artifact_cache = TarCache(context, project)
+ self._artifact_cache = TarCache(context)
# Not necessarily 100% reliable, but we want to fail early.
if os.geteuid() != 0: