osbuild: enable download only mode
Remove the constraint that either checkpoints or the output directory has to be supplied on the command line. Now that we have `--export` and on-demand building it is perfectly fine to supply neither an output directory nor checkpoints and implicitly no --export` which corresponds to a download only mode.
This commit is contained in:
parent
29f2a68eeb
commit
9c0ae8d9d2
1 changed files with 0 additions and 4 deletions
|
|
@ -138,10 +138,6 @@ def osbuild_cli():
|
|||
print("Need --output-directory for --export")
|
||||
return 1
|
||||
|
||||
if not args.output_directory and not args.checkpoint:
|
||||
print("No output directory or checkpoints specified, exited without building.")
|
||||
return 0
|
||||
|
||||
monitor_name = "NullMonitor" if args.json else "LogMonitor"
|
||||
monitor = osbuild.monitor.make(monitor_name, sys.stdout.fileno())
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue