buildroot: remove api temporary directory
Now that no API provider is using the temporary directory to place its sockets in it anymore, this directory can be removed.
This commit is contained in:
parent
0c7284572e
commit
aebff47908
1 changed files with 0 additions and 6 deletions
|
|
@ -41,7 +41,6 @@ class BuildRoot(contextlib.AbstractContextManager):
|
|||
self._libdir = libdir
|
||||
self._runner = runner
|
||||
self._apis = []
|
||||
self.api = None
|
||||
self.dev = None
|
||||
self.var = None
|
||||
|
||||
|
|
@ -70,11 +69,6 @@ class BuildRoot(contextlib.AbstractContextManager):
|
|||
# create throw-away data that it does not want to put into a
|
||||
# tmpfs.
|
||||
|
||||
# Used to be bound to /run/osbuild/api, but not anymore, still around
|
||||
# as the APIs have yet to be converted to not use temp directory anymore
|
||||
api = tempfile.TemporaryDirectory(prefix="osbuild-api-", dir=self._rundir)
|
||||
self.api = self._exitstack.enter_context(api)
|
||||
|
||||
dev = tempfile.TemporaryDirectory(prefix="osbuild-dev-", dir=self._rundir)
|
||||
self.dev = self._exitstack.enter_context(dev)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue