mkosi-addon(1) mkosi-addon(1)

mkosi-addon — Build addons for unified kernel images for the current system using mkosi

mkosi-addon [options...]

mkosi-addon is a wrapper on top of mkosi to simplify the generation of PE addons containing customizations for unified kernel images specific to the running or local system. Will include entries in /etc/crypttab marked with x-initrd.attach, and /etc/kernel/cmdline. Kernel modules and firmwares for the running hardware can be included if a local configuration with the option KernelModulesIncludeHost= is provided.

Kernel version where to look for the kernel modules to include. Defaults to the kernel version of the running system (uname -r).
Name to use for the generated output addon. Defaults to mkosi-local.addon.efi.
Path to a directory where to place all generated artifacts. Defaults to the current working directory.
Enable additional debugging output.
Spawn debug shell in sandbox if a sandboxed command fails.
Show package version.
Show brief usage information.

mkosi(1)