From: Daan De Meyer Date: Wed, 27 Jul 2022 18:02:16 +0000 (+0200) Subject: Only check whether a format can be booted if verb == qemu X-Git-Tag: v14~102 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=846465a0b45472acbfb7b098267cec3ff8a8bf05;p=thirdparty%2Fmkosi.git Only check whether a format can be booted if verb == qemu We can still build these images without any problems, we just can't boot them, so let's still allow building the images, just not booting them. --- diff --git a/mkosi/__init__.py b/mkosi/__init__.py index dea099c7c..6890334d3 100644 --- a/mkosi/__init__.py +++ b/mkosi/__init__.py @@ -6388,7 +6388,7 @@ def load_args(args: argparse.Namespace) -> MkosiArgs: args.release = "rolling" if args.bootable: - if args.output_format in ( + if args.verb == Verb.qemu and args.output_format in ( OutputFormat.directory, OutputFormat.subvolume, OutputFormat.tar,