When building a cpio/UKI image, it doesn't generally make sense to
generate a UKI to put inside the cpio/UKI. This isn't entirely true
for directory images though, it could be that the directory image
is intended to be packed up as some kind of disk image later, so
let's not skip UKI generation automatically when building a directory
image.
break
if (
- state.config.output_format in (OutputFormat.cpio, OutputFormat.uki, OutputFormat.directory) and
+ state.config.output_format in (OutputFormat.cpio, OutputFormat.uki) and
state.config.bootable == ConfigFeature.auto
):
return