From ed88bf6819aa83425e52417f7cc93a4e9467f999 Mon Sep 17 00:00:00 2001 From: bschubert15 Date: Wed, 18 Mar 2020 10:20:38 +0000 Subject: cascache.py: remove creation of the 'cas/objects' directory 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. --- src/buildstream/_cas/cascache.py | 1 - 1 file changed, 1 deletion(-) (limited to 'src/buildstream/_cas') 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 -- cgit v1.2.1