v26
- Extra options to commands invoked by mkosi (e.g. when using
mkosi boot
ormkosi shell) should now be delimited from regular options using
--. Options passed after the verb without using the--delimiter
are now interpreted as regular mkosi options. - Boolean options specified on the command line now always expect a
boolean argument. For example,--repository-key-checkneeds to
become--repository-key-check=yes. The reason for this change is to
remove ambiguity when parsing e.g.--repository-key-check build
wherebuildwould be interpreted as the argument for
--repository-key-checkwhereas now it'll be properly interpreted as
the verb. - Teach
--veritya newhashvalue, which skips the verity signature
partition for extension / portable images. To align the possible values,
yesis renamed tosigned. - Teach
--veritya newdefervalue, which defers creation of the
verity signature partition for disk, extension and portable images (but
still allocates space for it). This is useful to implement offline
signing of the verity roothash. - A new way to specify modules included in the initrd has been added.
The new default is that modules need to be specified to be included.
Previous separate Include and Exclude options that take regexps are now
deprecated and are replaced by a single option that takes a list of
positive and negative globs. The new options are KernelModules=
and KernelInitrdModules=. - A new way to specify firmware files included in the initrd has been added.
Previous separate Include and Exclude options that take regexps are now
deprecated and are replaced by a single option that takes a list of
positive and negative globs. The new option is FirmwareFiles=. - The
RuntimeScratch=option has been dropped. UseRuntimeSize=
instead to grow the image before booting it. - The
CDROM=option has been dropped. - Unknown settings now generate a warning message instead of failing the
image build. This allows configs to work across a wider range of mkosi
versions while still taking advantage of newer settings. MinimumVersion
can still be used to enforce a minimum version of mkosi that knows all
required settings.