summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbschubert15 <bschubert15@bloomberg.net>2020-03-18 10:20:38 +0000
committerBenjamin Schubert <contact@benschubert.me>2020-03-24 14:26:22 +0000
commited88bf6819aa83425e52417f7cc93a4e9467f999 (patch)
treea0eb5bf87a4b21e13386e1cf9108852d3a7d0d11
parent4922c0481898ac3d043be7782617d6eebd518b1e (diff)
downloadbuildstream-bschubert/stricter-cas-soc.tar.gz
cascache.py: remove creation of the 'cas/objects' directorybschubert/stricter-cas-soc
buildbox-casd should handle the creation of its own directories. This is especially needed when buildbox-casd and buildstream don't run under the same user.
-rw-r--r--src/buildstream/_cas/cascache.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/buildstream/_cas/cascache.py b/src/buildstream/_cas/cascache.py
index 53cadc744..48b700c68 100644
--- a/src/buildstream/_cas/cascache.py
+++ b/src/buildstream/_cas/cascache.py
@@ -77,7 +77,6 @@ class CASCache:
):
self.casdir = os.path.join(path, "cas")
self.tmpdir = os.path.join(path, "tmp")
- os.makedirs(os.path.join(self.casdir, "objects"), exist_ok=True)
os.makedirs(self.tmpdir, exist_ok=True)
self._cache_usage_monitor = None