mkosi-addon(1)
π mkosi-addon β the glow-up page
Okay bestie, welcome to mkosi-addon(1), straight out of the General Commands Manual β¨ this is the page where we build addons for unified kernel images for the current system using mkosi, and honestly? iconic behavior.
πΈ NAME πΈ
mkosi-addon β builds addons for unified kernel images for the current system using mkosi. That's the whole vibe. No cap. π«Ά
β¨ SYNOPSIS β¨
mkosi-addon [options...]
That's it. That's the summoning ritual.
π¦ DESCRIPTION π¦
okay so, mkosi-addon is a wrapper on top of mkosi β think of it as mkosi's hype squad β and its whole job is to simplify the generation of PE addons containing customizations for unified kernel images that are specific to the running or local system. π
The way it just includes stuff for you:
- entries in
/etc/crypttabthat are marked withx-initrd.attachπ /etc/kernel/cmdlineπ
and β plot twist β kernel modules and firmwares for the running hardware can also be included, but only if you provide a local configuration with the option KernelModulesIncludeHost= set. iykyk. π
π OPTIONS π
--kernel-version=β tells it which kernel version to go look for the kernel modules in. defaults to the kernel version of the running system, akauname -r. it's giving "just ask the machine." π--output=,-oβ the name to use for the generated output addon. defaults tomkosi-local.addon.efi. name your baby. πΌ--output-dir=,-Oβ path to a directory where all the generated artifacts go. defaults to the current working directory. ποΈ--debugβ enable additional debugging output. more words! more clues! π--debug-shellβ spawns a debug shell in the sandbox if a sandboxed command fails. so when it goes wrong you get to poke around in there yourself. π--debug-sandboxβ runsmkosi-sandboxwithstrace. yes, we're watching everything. π--show-documentation,-Dβ shows the man page formkosi-addon. hi, that's this one. you are here. π--versionβ shows the package version. number time. π’--help,-hβ shows brief usage information. the snack-sized version. π
π SEE ALSO π
mkosi(1)β the parent, the blueprint, the main character. go read it next, bestie. π§
friendly reminder: every one of these flags is exactly what it says on the tin, so type them carefully β no invented options, no vibes-based guessing. periodt. β
and that's the page, bestie π β brought to you by the General Commands Manual, page mkosi-addon(1), wrapping it up with love and a little sparkle. stay slaying, stay sandboxed. πβ¨
π¦ where this page comes from
- arch rolling: mkosi 27.1-1 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms