- Debug output (with
--debug) will now show the duration of all steps. - When booting an image it is always registered with user session machined instance.
- gzip compressed outputs have been made reproducible.
- Generate locales configured in
/etc/locale.gen. PORTABLE_PREFIXES=can be set viaEnvironment=.- The special value
defaultis now understood forInitrds=, so that it can be used in conjunction with
custom initrds. - Plugins for DNF can be configured via the environment variables
MKOSI_DNF_DISABLE_PLUGINSand
MKOSI_DNF_ENABLE_PLUGINS. This is meant for advanced use cases and is not supported further. - A new option
MakeScriptsExecutable=has been added to make scripts, that are not executable, executable
instead of exiting with an error. - A new option
OutputSize=has been added to resize output images to that size after creation. - Two new options
OciLabels=andOciAnnotations=have been added to support adding custom labels and
annotations for images using the OCI output. - Default initrds are no longer built by default for images using the
directoryoutput. - All cached images are removed when repository metadata will be synced to avoid partial upgrade scenarios.
- When booting images the hostname is no longer set via the kernel command line so as not to overwrite the
hostname set via other means in the image. - Support for using systemd-nsresourced's foreign UID range has been added for directory images via the new
ForeignUIDRange=. This is now the only supported way for booting directory images unprivileged. Building
images unprivileged without a sufficiently new systemd-nsresourced is still supported. - If a
mkosi/directory exists and no output location is configured, the.mkosi-privatewill be put there. LocalMirror=can now be set for tools trees.- A new setting
DriveType=has been added to configures the disk type to use for the root disk when booting
a virtual machine. - Four new settings
ElTorito=,ElToritoSystem=,ElToritoVolume=, andElToritoPublisher=for use with
systemd-repart's El Torito support have been added. mkosi boxdoes not tint the background by itself anymore.- The GitHub integration tests have been made runnable locally.
- Support for distribution-built UKIs have been fixed and they are picked up as
/usr/lib/modules/<kver>/vmlinuz*.efiif a signed bootloader orUnifiedKernelImages=signedis requested. - The
update-grubtrigger of APK is disabled for postmarketOS if/etc/update-grub.confdoes not exist. If
you define the file yourself, you must setdisable_trigger=1yourself, if you pull in the grub package. - A new option
ToolsTreeSnapshotwas added, which defaults to the value of the regularSnapshot=setting
if the same distribution is used for the image and the tools tree.