osbuild: allow empty output dir
We wanted to force an empty output dir to avoid assembly stages using previous output when creating their new one, and hence creating dependencies between osbuild runs. We may still do that, but for now let's remove the restriction as it seems rather arbitrary to protect people from themselves to this extent. Signed-off-by: Tom Gundersen <teg@jklm.no>
This commit is contained in:
parent
4b69d02dc8
commit
28fd21ba40
1 changed files with 0 additions and 4 deletions
4
osbuild
4
osbuild
|
|
@ -52,10 +52,6 @@ if __name__ == "__main__":
|
|||
|
||||
os.makedirs("/run/osbuild", exist_ok=True)
|
||||
|
||||
if args.output_dir and os.path.exists(args.output_dir) and len(os.listdir(args.output_dir)) != 0:
|
||||
print("Error: output directory is not empty", file=sys.stderr)
|
||||
sys.exit(1)
|
||||
|
||||
try:
|
||||
run_interactive(args.pipeline_path, args.input_dir, args.output_dir)
|
||||
except KeyboardInterrupt:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue