pipeline: don't create "/run/osbuild" eagerly
The "/run/osbuild" path is used as the default runpath by the BuildRoot, which creates it on demand. The only other place is the API (`BaseAPI`) to create the socket directories in, but that is now also created on-demand. Additionally, the API are only run after the build root has been set up so that directory would already exist.
This commit is contained in:
parent
35149c6aec
commit
27d4450352
1 changed files with 0 additions and 1 deletions
|
|
@ -321,7 +321,6 @@ class Pipeline:
|
|||
return results, output
|
||||
|
||||
def run(self, store, monitor, libdir, output_directory):
|
||||
os.makedirs("/run/osbuild", exist_ok=True)
|
||||
results = {"success": True}
|
||||
|
||||
monitor.begin(self)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue