Skip to content

Commit

Permalink
Require that default tools tree exists when mkosi -t none is invoked
Browse files Browse the repository at this point in the history
Let's insist on the default tools tree already existing when invoking
mkosi -t none without --force.
  • Loading branch information
DaanDeMeyer committed Nov 18, 2024
1 parent 577f328 commit d88111b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mkosi/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4651,7 +4651,7 @@ def run_verb(args: Args, images: Sequence[Config], *, resources: Path) -> None:
not (tools.output_dir_or_cwd() / tools.output).exists()
or (tools.incremental and not have_cache(tools))
)
and args.verb != Verb.build
and (args.verb != Verb.build or last.output_format == OutputFormat.none)
and not args.force
):
die(
Expand Down

0 comments on commit d88111b

Please sign in to comment.