make /run/osbuild in the pipeline class

This commit is contained in:
Martin Sehnoutka 2019-07-11 11:20:58 +02:00 committed by Lars Karlitski
parent 6fb843f7f6
commit a837cc5e82
2 changed files with 1 additions and 2 deletions

View file

@ -25,8 +25,6 @@ if __name__ == "__main__":
help="provide the empty DIRECTORY as output argument to the last stage", required=True)
args = parser.parse_args()
os.makedirs("/run/osbuild", exist_ok=True)
with open(args.pipeline_path) as f:
pipeline = json.load(f)
pipeline = osbuild.Pipeline(pipeline, args.objects)