Overview of mkosi command line verbs
mainmkosi uses a verb-based CLI structure to manage the lifecycle of OS image building, from initialization to deployment. Common verbs include:
build: The default verb. Builds the image based on configuration files and command line settings. Use--to pass arguments to build scripts.init: A one-time operation to set up configuration files (e.g., setting uptmpfiles.dfor the package cache).summary: Displays a human-readable summary of all options used for building, parsed from both CLI and config files, without executing a build.cat-config: Outputs the names and contents of all loaded configuration files to help debug configuration sources.clean: Removes build artifacts. Use-fto also remove incremental build cache and tools tree; use-ftwice to also remove the package cache.dependencies: Lists packages required by mkosi to build and boot images. This list can be piped to a package manager.help: Shows a brief usage explanation.