# SOME DESCRIPTIVE TITLE # Copyright (C) YEAR Free Software Foundation, Inc. # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "POT-Creation-Date: 2026-06-05 06:31+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. type: TH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "mkosi" msgstr "" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "NAME" msgstr "" #. type: Plain text #: archlinux debian-trixie fedora-44 fedora-rawhide opensuse-leap-16-1 msgid "mkosi \\[em] Build Bespoke OS Images" msgstr "" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "SYNOPSIS" msgstr "" #. type: Plain text #: archlinux msgid "\\f[CR]mkosi [options\\&...] init\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "\\f[CR]mkosi [options\\&...] summary\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "\\f[CR]mkosi [options\\&...] cat-config\\fR" msgstr "" #. type: Plain text #: archlinux msgid "\\f[CR]mkosi [options\\&...] build [-- command line\\&...]\\fR" msgstr "" #. type: Plain text #: archlinux msgid "\\f[CR]mkosi [options\\&...] shell [-- command line\\&...]\\fR" msgstr "" #. type: Plain text #: archlinux msgid "\\f[CR]mkosi [options\\&...] boot [-- nspawn settings\\&...]\\fR" msgstr "" #. type: Plain text #: archlinux msgid "\\f[CR]mkosi [options\\&...] vm [-- vmm parameters\\&...]\\fR" msgstr "" #. type: Plain text #: archlinux msgid "\\f[CR]mkosi [options\\&...] ssh [-- command line\\&...]\\fR" msgstr "" #. type: Plain text #: archlinux msgid "\\f[CR]mkosi [options\\&...] journalctl [-- command line\\&...]\\fR" msgstr "" #. type: Plain text #: archlinux msgid "\\f[CR]mkosi [options\\&...] coredumpctl [-- command line\\&...]\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "\\f[CR]mkosi [options\\&...] sysupdate [-- sysupdate settings\\&...]\\fR" msgstr "" #. type: Plain text #: archlinux msgid "\\f[CR]mkosi [options\\&...] box [-- command line\\&...]\\fR" msgstr "" #. type: Plain text #: archlinux msgid "\\f[CR]mkosi [options\\&...] dependencies [-- options\\&...]\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "\\f[CR]mkosi [options\\&...] clean\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "\\f[CR]mkosi [options\\&...] serve\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "\\f[CR]mkosi [options\\&...] burn EdeviceE\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "\\f[CR]mkosi [options\\&...] bump\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "\\f[CR]mkosi [options\\&...] genkey\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "\\f[CR]mkosi [options\\&...] documentation [manual]\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "\\f[CR]mkosi [options\\&...] completion [shell]\\fR" msgstr "" #. type: Plain text #: archlinux msgid "\\f[CR]mkosi [options\\&...] latest-snapshot\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "\\f[CR]mkosi [options\\&...] help\\fR" msgstr "" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "DESCRIPTION" msgstr "" #. type: Plain text #: archlinux debian-trixie fedora-44 fedora-rawhide opensuse-leap-16-1 msgid "" "\\f[B]mkosi\\f[R] is a tool for easily building customized OS images. It\\" "[cq]s a fancy wrapper around \\f[B]dnf\\f[R], \\f[B]apt\\f[R], " "\\f[B]pacman\\f[R] and \\f[B]zypper\\f[R] that may generate disk images with " "a number of bells and whistles.\\fR" msgstr "" #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Command Line Verbs" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "The following command line verbs are known:" msgstr "" #. type: TP #: archlinux #, no-wrap msgid "\\f[CR]init\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "Initialize \\f[B]mkosi\\f[R]. This is a one time operation that sets up " "various config files required for an optimal experience. Currently this " "only initialized a \\f[CR]tmpfiles.d\\f[R] dropin for the mkosi package " "cache directory to make sure old, unused files are cleaned up automatically." "\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]summary\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Show a human-readable summary of all options used for building the images. " "This will parse the command line and configuration files, but only print " "what it is configured for and not actually build or run anything." msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]cat-config\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Output the names and contents of all loaded configuration files. " "\\f[B]mkosi\\f[R] loads a bunch of files from different locations and this " "command makes it easier to figure out what is configured where.\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]build\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "Build the image-based on the settings passed on the command line and in the " "configuration files. This command is the default if no verb is specified. " "Arguments may be passed to the build scripts, if some are defined. To pass " "options to the build scripts, separate them from regular mkosi options with " "\\f[CR]--\\f[R].\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]shell\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "This builds the image if it is not built yet, and then invokes \\f[B]systemd-" "nspawn\\f[R] to run an interactive shell in the image. This doesn\\[cq]t " "require booting the system, it\\[cq]s like a better chroot. An optional " "command line may be specified after the \\f[CR]shell\\f[R] verb, to be " "invoked in place of the shell in the container. To pass extra options to " "nspawn, separate them from regular options with \\f[CR]--\\f[R].\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]boot\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "Similar to \\f[CR]shell\\f[R], but instead of spawning a shell, it boots " "systemd in the image using \\f[B]systemd-nspawn\\f[R]. Extra arguments may " "be specified after the \\f[CR]boot\\f[R] verb, which are passed as the " "\\f[I]kernel command line\\f[R] to the init system in the image. To pass " "extra options to nspawn, separate them from regular options with \\f[CR]--" "\\f[R].\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]vm\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "Similar to \\f[CR]boot\\f[R], but uses the configured virtual machine " "monitor (by default \\f[CR]qemu\\f[R]) to boot up the image, i.e.\\ instead " "of container virtualization, virtual machine virtualization is used. How " "extra command line arguments are interpreted depends on the configured " "virtual machine monitor. See \\f[CR]VirtualMachineMonitor=\\f[R] for more " "information. To pass extra options to the configured virtual machine " "monitor, separate them from regular options with \\f[CR]--\\f[R].\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]ssh\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "When the image is built with the \\f[CR]Ssh=always\\f[R] option or if " "systemd\\[cq]s \\f[CR]sshd-vsock\\f[R] service is running in the VM (systemd " "v256+), this command connects to a booted virtual machine via SSH. Make " "sure to run \\f[CR]mkosi ssh\\f[R] with the same config as \\f[CR]mkosi " "build\\f[R] so that it has the necessary information available to connect to " "the running virtual machine via SSH. Specifically, the SSH private key from " "the \\f[CR]SshKey=\\f[R] setting is used to connect to the virtual machine. " "Use \\f[CR]mkosi genkey\\f[R] to automatically generate a key and " "certificate that will be picked up by \\f[B]mkosi\\f[R]. Any arguments " "passed after the \\f[CR]ssh\\f[R] verb are passed as arguments to the " "\\f[B]ssh\\f[R] invocation. To pass extra options, separate them from " "regular options with \\f[CR]--\\f[R].To connect to a container, use " "\\f[CR]machinectl login\\f[R] or \\f[CR]machinectl shell\\f[R].\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "The \\f[CR]Machine=\\f[R] option can be used to give the machine a custom " "hostname when booting it which can later be used to \\f[B]ssh\\f[R] into the " "image (e.g.\\ \\f[CR]mkosi --machine=mymachine vm\\f[R] followed by " "\\f[CR]mkosi --machine=mymachine ssh\\f[R]).\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]journalctl\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "Uses \\f[B]journalctl\\f[R] to inspect the journal inside the image. All " "arguments specified after the \\f[CR]journalctl\\f[R] verb and separated by " "\\f[CR]--\\f[R] from the regular options are appended to the " "\\f[B]journalctl\\f[R] invocation.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]coredumpctl\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "Uses \\f[B]coredumpctl\\f[R] to look for coredumps inside the image. All " "arguments specified after the \\f[CR]coredumpctl\\f[R] verb and separated by " "\\f[CR]--\\f[R] from the regular options are appended to the " "\\f[B]coredumpctl\\f[R] invocation.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]sysupdate\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "Invokes \\f[B]systemd-sysupdate\\f[R] with the \\f[CR]--transfer-" "source=\\f[R] option set to the output directory and the \\f[CR]--" "definitions=\\f[R] option set to the directory configured with " "\\f[CR]SysupdateDirectory=\\f[R]. All arguments specified after the " "\\f[CR]sysupdate\\f[R] verb and separated from the regular options with " "\\f[CR]--\\f[R] are passed directly to \\f[B]systemd-sysupdate\\f[R].\\fR" msgstr "" #. type: TP #: archlinux #, no-wrap msgid "\\f[CR]box\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "Run arbitrary commands inside of the same environment used to execute other " "verbs such as \\f[CR]boot\\f[R], \\f[CR]shell\\f[R], \\f[CR]vm\\f[R] and " "more. This means \\f[CR]/usr\\f[R] will be replaced by \\f[CR]/usr\\f[R] " "from the tools tree if one is used while everything else will remain in " "place. If no command is provided, \\f[CR]$SHELL\\f[R] will be executed or " "\\f[B]bash\\f[R] if \\f[CR]$SHELL\\f[R] is not set. To pass extra options " "to the given command, separate them from regular options with \\f[CR]--" "\\f[R].\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]clean\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "Remove build artifacts generated on a previous build. If combined with " "\\f[CR]-f\\f[R], also removes incremental build cache images and the tools " "tree. If \\f[CR]-f\\f[R] is specified twice, also removes any package cache." "\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]serve\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "This builds the image if it is not built yet, and then serves the output " "directory (i.e.\\ usually \\f[CR]mkosi.output/\\f[R], see below) via a small " "embedded HTTP server, listening on port 8081. Combine with \\f[CR]-f\\f[R] " "in order to rebuild the image unconditionally before serving it. This " "command is useful for testing network-based acquisition of OS images, for " "example via \\f[CR]machinectl pull-raw \\&...\\f[R] and \\f[CR]machinectl " "pull-tar \\&...\\f[R].\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]burn EdeviceE\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "This builds the image if it is not built yet, and then writes it to the " "specified block device. The partition contents are written as-is, but the " "GPT partition table is corrected to match sector and disk size of the " "specified medium." msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]bump\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "Bumps the image version from \\f[CR]mkosi.version\\f[R] and writes the " "resulting version string to \\f[CR]mkosi.version\\f[R]. This is useful for " "implementing a simple versioning scheme: each time this verb is called the " "version is bumped in preparation for the subsequent build. Note that " "\\f[CR]--auto-bump\\f[R]/\\f[CR]-B\\f[R] may be used to automatically bump " "the version as part of a build. The new version is only written to " "\\f[CR]mkosi.version\\f[R] if the build succeeds in that case.\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "If \\f[CR]mkosi.bump\\f[R] exists, it is invoked to generate the new version " "to be used instead of using mkosi\\[cq]s own logic.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]genkey\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Generate a pair of SecureBoot keys for usage with the " "\\f[CR]SecureBootKey=\\f[R]/\\f[CR]--secure-boot-key=\\f[R] and " "\\f[CR]SecureBootCertificate=\\f[R]/\\f[CR]--secure-boot-certificate=\\f[R] " "options.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]documentation\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Show \\f[B]mkosi\\f[R]\\[cq]s documentation. If no argument is given, the " "\\f[B]mkosi\\f[R] man page is shown, but the arguments \\f[CR]mkosi\\f[R], " "\\f[CR]mkosi-initrd\\f[R], \\f[CR]initrd\\f[R], \\f[CR]mkosi-sandbox\\f[R], " "\\f[CR]sandbox\\f[R], \\f[CR]mkosi.news\\f[R] and \\f[CR]news\\f[R] are " "supported and respectively show the man pages for \\f[B]mkosi\\f[R], " "\\f[B]mkosi-initrd\\f[R], \\f[B]mkosi-sandbox\\f[R] and \\f[B]mkosi\\f[R]\\" "[cq]s NEWS file.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "By default this verb will try several ways to output the documentation, but " "a specific option can be chosen with the \\f[CR]--doc-format\\f[R] option. " "Distro packagers are encouraged to add a file \\f[CR]mkosi.1\\f[R] into the " "\\f[CR]mkosi/resources\\f[R] directory of the Python package, if it is " "missing, as well as to install it in the appropriate search path for man " "pages. The man page can be generated from the markdown file \\f[CR]mkosi/" "resources/man/mkosi.1.md\\f[R] e.g via \\f[CR]pandoc -t man -s -o mkosi.1 " "mkosi.1.md\\f[R].\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]completion\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Generate shell completion for the shell given as argument and print it to " "stdout. The arguments \\f[CR]bash\\f[R], \\f[CR]fish\\f[R], and " "\\f[CR]zsh\\f[R] are understood.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]dependencies\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Output the list of packages required by \\f[B]mkosi\\f[R] to build and boot " "images.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie fedora-44 fedora-rawhide opensuse-leap-16-1 msgid "" "This list can be piped directly to a package manager to install the " "packages. For example, if the host system uses the \\f[B]dnf\\f[R] package " "manager, the packages could be installed as follows:\\fR" msgstr "" #. type: Plain text #: archlinux fedora-44 fedora-rawhide opensuse-leap-16-1 #, no-wrap msgid "mkosi dependencies \\f[B]|\\f[R] xargs -d \\[aq]\\[rs]n\\[aq] dnf install\\fR\n" msgstr "" #. type: Plain text #: archlinux msgid "" "By default, only the dependencies required to build images with mkosi are " "shown. Extra tools tree profiles can be enabled to also output the packages " "belonging to those profiles. For example, running \\f[CR]mkosi dependencies " "-- --profile runtime\\f[R] will also output the packages in the runtime " "profile on top of the regular packages. See the documentation for " "\\f[CR]ToolsTreeProfiles=\\f[R] for a list of available profiles.\\fR" msgstr "" #. type: TP #: archlinux #, no-wrap msgid "\\f[CR]latest-snapshot\\fR" msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "Output the latest available snapshot in the configured mirror." msgstr "" #. type: Plain text #: archlinux fedora-44 fedora-rawhide msgid "" "This verb is useful to automatically bump snapshots every so often. Note " "that this verb only outputs the latest snapshot. It\\[cq]s up to the caller " "to ensure that the snapshot is written to the intended configuration file." msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]help\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "This verb is equivalent to the \\f[CR]--help\\f[R] switch documented below: " "it shows a brief usage explanation.\\fR" msgstr "" #. type: SS #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "Command-Line-Only Options" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Those settings cannot be configured in the configuration files." msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]--force\\f[R], \\f[CR]-f\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "Replace the output file if it already exists, when building an image. By " "default when building an image and an output artifact already exists " "\\f[B]mkosi\\f[R] will refuse operation. Specify this option once to delete " "all build artifacts from a previous run before re-building the image. If " "incremental builds are enabled, specifying this option twice will ensure the " "intermediary cache files are removed, too, before the re-build is " "initiated. If a package cache is used (also see the \\f[B]FILES\\f[R] " "section below), specifying this option thrice will ensure the package cache " "is removed too, before the re-build is initiated. For the " "\\f[CR]clean\\f[R] operation this option has a slightly different effect: by " "default the verb will only remove build artifacts from a previous run, when " "specified once the incremental cache files and the tools tree are deleted " "too, and when specified twice the package cache is also removed.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]--directory=\\f[R], \\f[CR]-C\\fR" msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Takes a path to a directory. \\f[B]mkosi\\f[R] switches to this directory " "before doing anything. Note that the various configuration files are " "searched for in this directory, hence using this option is an effective way " "to build a project located in a specific directory. Defaults to the current " "working directory. If the empty string is specified, all configuration in " "the current working directory will be ignored.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]--debug\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Enable additional debugging output." msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]--debug-shell\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "When executing a command in the image fails, \\f[B]mkosi\\f[R] will start an " "interactive shell in the image allowing further debugging.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]--debug-workspace\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "When specified, the workspace directory will not be deleted and its location " "will be logged when \\f[B]mkosi\\f[R] exits.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]--debug-sandbox\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Run \\f[B]mkosi-sandbox\\f[R] with \\f[B]strace\\f[R].\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]--version\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Show package version." msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]--help\\f[R], \\f[CR]-h\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Show brief usage information." msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]--genkey-common-name=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Common name to be used when generating keys via \\f[B]mkosi\\f[R]\\[cq]s " "\\f[CR]genkey\\f[R] command. Defaults to \\f[CR]mkosi of %u\\f[R], where " "\\f[CR]%u\\f[R] expands to the username of the user invoking " "\\f[B]mkosi\\f[R].\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]--genkey-valid-days=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Number of days that the keys should remain valid when generating keys via " "\\f[B]mkosi\\f[R]\\[cq]s \\f[CR]genkey\\f[R] command. Defaults to two years " "(730 days).\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]--auto-bump=\\f[R], \\f[CR]-B\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "If specified, the version is bumped and if the build succeeds, the version " "is written to \\f[CR]mkosi.version\\f[R] in a fashion equivalent to the " "\\f[CR]bump\\f[R] verb. This is useful for simple, linear version " "management: each build in a series will have a version number one higher " "then the previous one.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]--doc-format\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "The format to show the documentation in. Supports the values " "\\f[CR]markdown\\f[R], \\f[CR]man\\f[R], \\f[CR]pandoc\\f[R], " "\\f[CR]system\\f[R] and \\f[CR]auto\\f[R]. In the case of " "\\f[CR]markdown\\f[R] the documentation is shown in the original Markdown " "format. \\f[CR]man\\f[R] shows the documentation in man page format, if it " "is available. \\f[B]pandoc\\f[R] will generate the man page format on the " "fly, if \\f[B]pandoc\\f[R] is available. \\f[CR]system\\f[R] will show the " "system-wide man page for \\f[B]mkosi\\f[R], which may or may not correspond " "to the version you are using, depending on how you installed " "\\f[B]mkosi\\f[R]. \\f[CR]auto\\f[R], which is the default, will try all " "methods in the order \\f[CR]man\\f[R], \\f[CR]pandoc\\f[R], " "\\f[CR]markdown\\f[R], \\f[CR]system\\f[R].\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]--json\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Show the summary output as JSON-SEQ." msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]--wipe-build-dir\\f[R], \\f[CR]-w\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Wipe the build directory if one is configured before building the image." msgstr "" #. type: TP #: archlinux #, no-wrap msgid "\\f[CR]--rerun-build-scripts\\f[R], \\f[CR]-R\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "Rerun build scripts. Requires the \\f[CR]Incremental=\\f[R] option to be " "enabled and the image to have been built once already. If " "\\f[CR]History=\\f[R] is enabled, the history from the previous build will " "be reused and no new history will be written.\\fR" msgstr "" #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Supported output formats" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "The following output formats are supported:" msgstr "" #. type: IP #: archlinux debian-trixie fedora-44 fedora-rawhide opensuse-leap-16-1 #, no-wrap msgid "\\[bu]" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Raw \\f[I]GPT\\f[R] disk image, created using \\f[B]systemd-repart\\f[R] " "(\\f[I]disk\\f[R])\\fR" msgstr "" #. type: IP #: archlinux debian-trixie fedora-44 fedora-rawhide opensuse-leap-16-1 #, no-wrap msgid "\\f[R]\\[bu]\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Plain directory, containing the OS tree (\\f[I]directory\\f[R])\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Tar archive (\\f[I]tar\\f[R])\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "CPIO archive (\\f[I]cpio\\f[R])\\fR" msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "Unified Kernel Image (\\f[I]UKI\\f[R])\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "\\&... and much more. See \\f[CR]Format=\\f[R] documentation below.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The output format may also be set to \\f[I]none\\f[R] to have " "\\f[B]mkosi\\f[R] produce no image at all. This can be useful if you only " "want to use the image to produce another output in the build scripts (e.g.\\ " "build an RPM).\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "When a \\f[I]GPT\\f[R] disk image is created, repart partition definition " "files may be placed in \\f[CR]mkosi.repart/\\f[R] to configure the generated " "disk image.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "It is highly recommended to run \\f[B]mkosi\\f[R] on a file system that " "supports reflinks such as XFS and btrfs and to keep all related directories " "on the same file system. This allows \\f[B]mkosi\\f[R] to create images " "very quickly by using reflinks to perform copying via copy-on-write " "operations.\\fR" msgstr "" #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Configuration Settings" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "The following settings can be set through configuration files (the syntax " "with \\f[CR]SomeSetting=value\\f[R]) and on the command line (the syntax " "with \\f[CR]--some-setting=value\\f[R]). For some command line parameters, " "a single-letter shortcut is also allowed. In the configuration files, the " "setting must be in the appropriate section, so the settings are grouped by " "section below.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Configuration is parsed in the following order:" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "The command line arguments are parsed." msgstr "" #. type: Plain text #: archlinux msgid "" "\\f[CR]mkosi.local.conf\\f[R] and \\f[CR]mkosi.local/\\f[R] are parsed if " "they exists (in that order). This file and directory should be in " "\\f[CR].gitignore\\f[R] (or equivalent) and are intended for local " "configuration.\\fR" msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "If an option has a corresponding default path, it is parsed if the " "corresponding default path exists." msgstr "" #. type: Plain text #: archlinux msgid "" "\\f[CR]mkosi.conf\\f[R] is parsed if it exists in the directory configured " "with \\f[CR]--directory=\\f[R] or the current working directory if \\f[CR]--" "directory=\\f[R] is not used. If the specified directory does not contain a " "\\f[CR]mkosi.conf\\f[R] or \\f[CR]mkosi.tools.conf\\f[R] and a \\f[CR]mkosi/" "mkosi.conf\\f[R] or \\f[CR]mkosi/mkosi.tools.conf\\f[R] exists, the " "configuration will be parsed from the \\f[CR]mkosi/\\f[R] subdirectory of " "the specified directory instead.\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "\\f[CR]mkosi.conf.d/\\f[R] is parsed in the same directory as " "\\f[CR]mkosi.conf\\f[R] if it exists. Each directory and each file with the " "\\f[CR].conf\\f[R] extension in \\f[CR]mkosi.conf.d/\\f[R] is parsed. Any " "directory in \\f[CR]mkosi.conf.d\\f[R] is parsed as if it were a regular top " "level directory, except for \\f[CR]mkosi.images/\\f[R] and " "\\f[CR]mkosi.tools.conf\\f[R], which are only picked up in the top level " "directory.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "If any profiles are configured, their configuration is parsed from the " "\\f[CR]mkosi.profiles/\\f[R] directory.\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "Subimages are parsed from the \\f[CR]mkosi.images/\\f[R] directory if it " "exists.\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "Note that settings configured via the command line always override settings " "configured via configuration files. If the same setting is configured more " "than once via configuration files, later assignments override earlier " "assignments except for settings that take a collection of values. Also, " "settings read from \\f[CR]mkosi.local.conf\\f[R] or \\f[CR]mkosi.local/" "\\f[R] will override settings from configuration files that are parsed " "later, but not settings specified on the CLI.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "For settings that take a single value, the empty assignment " "(\\f[CR]SomeSetting=\\f[R] or \\f[CR]--some-setting=\\f[R]) can be used to " "override a previous setting and reset to the default.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Settings that take a collection of values are merged by appending the new " "values to the previously configured values. Assigning the empty string to " "such a setting removes all previously assigned values, and overrides any " "configured default values as well. The values specified on the CLI are " "appended after all the values from configuration files." msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "To conditionally include configuration files, the \\f[CR][Match]\\f[R] " "section can be used. A \\f[CR][Match]\\f[R] section consists of individual " "conditions. Conditions can use a pipe symbol (\\f[CR]|\\f[R]) after the " "equals sign (\\f[CR]\\&...=|\\&...\\f[R]), which causes the condition to " "become a triggering condition. The config file will be included if the " "logical AND of all non-triggering conditions and the logical OR of all " "triggering conditions is satisfied. To negate the result of a condition, " "prefix the argument with an exclamation mark. If an argument is prefixed " "with the pipe symbol and an exclamation mark, the pipe symbol must be passed " "first, and the exclamation second.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Note that \\f[CR][Match]\\f[R] conditions compare against the current values " "of specific settings, and do not take into account changes made to the " "setting in configuration files that have not been parsed yet (settings " "specified on the CLI are taken into account). Also note that matching " "against a setting and then changing its value afterwards in a different " "config file may lead to unexpected results.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "The \\f[CR][Match]\\f[R] section of a \\f[CR]mkosi.conf\\f[R] file in a " "directory applies to the entire directory. If the conditions are not " "satisfied, the entire directory is skipped. The \\f[CR][Match]\\f[R] " "sections of files in \\f[CR]mkosi.conf.d/\\f[R] and " "\\f[CR]mkosi.local.conf\\f[R] only apply to the file itself.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "If there are multiple \\f[CR][Match]\\f[R] sections in the same " "configuration file, each of them has to be satisfied in order for the " "configuration file to be included. Specifically, triggering conditions only " "apply to the current \\f[CR][Match]\\f[R] section and are reset between " "multiple \\f[CR][Match]\\f[R] sections. As an example, the following will " "only match if the output format is one of \\f[CR]disk\\f[R] or " "\\f[CR]directory\\f[R] and the architecture is one of \\f[CR]x86-64\\f[R] or " "\\f[CR]arm64\\f[R]:\\fR" msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "" "\\f[B][Match]\\f[R]\n" "Format=|disk\n" "Format=|directory\\fR\n" msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "" "\\f[B][Match]\\f[R]\n" "Architecture=|x86-64\n" "Architecture=|arm64\\fR\n" msgstr "" #. type: Plain text #: archlinux msgid "" "The \\f[CR][TriggerMatch]\\f[R] section can be used to indicate triggering " "matches. These are identical to triggering conditions in systemd units " "except they apply to the entire match section instead of just a single " "condition. As an example, the following will match if the distribution is " "\\f[CR]debian\\f[R] and the release is \\f[CR]bookworm\\f[R] or if the " "distribution is \\f[CR]ubuntu\\f[R] and the release is \\f[CR]noble\\f[R]." "\\fR" msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "" "\\f[B][TriggerMatch]\\f[R]\n" "Distribution=debian\n" "Release=bookworm\\fR\n" msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "" "\\f[B][TriggerMatch]\\f[R]\n" "Distribution=ubuntu\n" "Release=noble\\fR\n" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "The semantics of conditions in \\f[CR][TriggerMatch]\\f[R] sections is the " "same as in \\f[CR][Match]\\f[R], i.e.\\ all normal conditions are joined by " "a logical AND and all triggering conditions are joined by a logical OR. " "When mixing \\f[CR][Match]\\f[R] and \\f[CR][TriggerMatch]\\f[R] sections, a " "match is achieved when all \\f[CR][Match]\\f[R] sections match and at least " "one \\f[CR][TriggerMatch]\\f[R] section matches. The absence of match " "sections is valued as true. Logically this means:\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "(⋀ᵢ Matchᵢ) ∧ (⋁ᵢ TriggerMatchᵢ)\n" msgstr "" #. type: Plain text #: archlinux msgid "" "There is also support for \\f[CR][Assert]\\f[R] and \\f[CR][TriggerAssert]" "\\f[R] sections which behave identically to match sections except parsing " "configuration will fail if the assert sections are not satisfied, i.e.\\ all " "\\f[CR][Assert]\\f[R] sections in a file as well as at least one \\f[CR]" "[TriggertAssert]\\f[R] section have to be satisfied or config parsing will " "fail.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Command line options that take no argument are shown without \\f[CR]=\\f[R] " "in their long version. In the config files, they should be specified with a " "boolean argument: either \\f[CR]1\\f[R], \\f[CR]yes\\f[R], or " "\\f[CR]true\\f[R] to enable, or \\f[CR]0\\f[R], \\f[CR]no\\f[R], " "\\f[CR]false\\f[R] to disable.\\fR" msgstr "" #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "[Distribution] Section" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]Distribution=\\f[R], \\f[CR]--distribution=\\f[R], \\f[CR]-d\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "The distribution to install in the image. Takes one of the following " "arguments: \\f[CR]fedora\\f[R], \\f[CR]debian\\f[R], \\f[CR]kali\\f[R], " "\\f[CR]ubuntu\\f[R], \\f[CR]arch\\f[R], \\f[CR]opensuse\\f[R], " "\\f[CR]mageia\\f[R], \\f[CR]centos\\f[R], \\f[CR]rhel\\f[R], \\f[CR]rhel-" "ubi\\f[R], \\f[CR]openmandriva\\f[R], \\f[CR]rocky\\f[R], \\f[CR]alma\\f[R], " "\\f[CR]azure\\f[R] or \\f[CR]custom\\f[R]. If not specified, defaults to " "the distribution of the host or \\f[CR]custom\\f[R] if the distribution of " "the host is not a supported distribution.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]Release=\\f[R], \\f[CR]--release=\\f[R], \\f[CR]-r\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "The release of the distribution to install in the image. The precise syntax " "of the argument this takes depends on the distribution used, and is either a " "numeric string (in case of Fedora Linux, CentOS, \\&..., e.g.\\ " "\\f[CR]29\\f[R]), or a distribution version name (in case of Debian, Kali, " "Ubuntu, \\&..., e.g.\\ \\f[CR]artful\\f[R]). Defaults to a recent version " "of the chosen distribution, or the version of the distribution running on " "the host if it matches the configured distribution.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]Architecture=\\f[R], \\f[CR]--architecture=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie fedora-44 fedora-rawhide opensuse-leap-16-1 msgid "" "The architecture to build the image for. The architectures that are " "actually supported depends on the distribution used and whether a bootable " "image is requested or not. When building for a foreign architecture, you\\" "[cq]ll also need to install and register a user mode emulator for that " "architecture." msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "One of the following architectures can be specified per image built: " "\\f[CR]alpha\\f[R], \\f[CR]arc\\f[R], \\f[CR]arm\\f[R], \\f[CR]arm64\\f[R], " "\\f[CR]ia64\\f[R], \\f[CR]loongarch64\\f[R], \\f[CR]mips64-le\\f[R], " "\\f[CR]mips-le\\f[R], \\f[CR]parisc\\f[R], \\f[CR]ppc\\f[R], " "\\f[CR]ppc64\\f[R], \\f[CR]ppc64-le\\f[R], \\f[CR]riscv32\\f[R], " "\\f[CR]riscv64\\f[R], \\f[CR]s390\\f[R], \\f[CR]s390x\\f[R], " "\\f[CR]tilegx\\f[R], \\f[CR]x86\\f[R], \\f[CR]x86-64\\f[R].\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]Mirror=\\f[R], \\f[CR]--mirror=\\f[R], \\f[CR]-m\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The mirror to use for downloading the distribution packages. Expects a " "mirror URL as argument. If not provided, the default mirror for the " "distribution is used." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The default mirrors for each distribution are as follows (unless specified, " "the same mirror is used for all architectures):" msgstr "" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "x86-64" msgstr "" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "aarch64" msgstr "" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "_" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]debian\\fR" msgstr "" #. type: tbl table #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[R]http://deb.debian.org\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]arch\\fR" msgstr "" #. type: tbl table #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[R]https://fastly.mirror.pkgbuild.com\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\f[R]http://mirror.archlinuxarm.org\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]opensuse\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\f[R]http://download.opensuse.org\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]kali\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\f[R]http://http.kali.org/kali\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]ubuntu\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\f[R]http://archive.ubuntu.com\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\f[R]http://ports.ubuntu.com\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]centos\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\f[R]https://mirrors.centos.org\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]rocky\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\f[R]https://mirrors.rockylinux.org\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]alma\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\f[R]https://mirrors.almalinux.org\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]fedora\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\f[R]https://mirrors.fedoraproject.org\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]rhel-ubi\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\f[R]https://cdn-ubi.redhat.com\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]mageia\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\f[R]https://www.mageia.org\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]openmandriva\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\f[R]http://mirrors.openmandriva.org\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]azure\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\f[R]https://packages.microsoft.com/\\fR" msgstr "" #. type: TP #: archlinux #, no-wrap msgid "\\f[CR]Snapshot=\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "Download packages from the given snapshot instead of downloading the latest " "distribution packages from the given mirror. Takes a snapshot ID (the " "format of the snapshot ID differs per distribution), use the \\f[CR]latest-" "snapshot\\f[R] verb to figure out the latest available snapshot.\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "If this setting is configured and \\f[CR]Mirror=\\f[R] is not explicitly " "configured, different default mirrors are used:\\fR" msgstr "" #. type: tbl table #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[R]https://snapshot.debian.org\\fR" msgstr "" #. type: tbl table #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[R]https://archive.archlinux.org\\fR" msgstr "" #. type: tbl table #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[R]https://composes.stream.centos.org\\fR" msgstr "" #. type: tbl table #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[R]https://kojipkgs.fedoraproject.org\\fR" msgstr "" #. type: Plain text #: archlinux fedora-44 fedora-rawhide msgid "For any distribution not listed above, snapshots are not supported." msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]LocalMirror=\\f[R], \\f[CR]--local-mirror=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "The mirror will be used as a local, plain and direct mirror instead of using " "it as a prefix for the full set of repositories normally supported by " "distributions. Useful for fully offline builds with a single repository. " "Supported on \\f[B]deb\\f[R]-, \\f[B]rpm\\f[R]-, and \\f[B]pacman\\f[R]-" "based distributions. Overrides \\f[CR]--mirror=\\f[R] but only for the " "local \\f[B]mkosi\\f[R] build, it will not be configured inside the final " "image, \\f[CR]--mirror=\\f[R] (or the default repository) will be configured " "inside the final image instead.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]RepositoryKeyCheck=\\f[R], \\f[CR]--repository-key-check=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Controls signature/key checks when using repositories, enabled by default. " "Useful to disable checks when combined with \\f[CR]--local-mirror=\\f[R] and " "using only a repository from a local filesystem.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]RepositoryKeyFetch=\\f[R], \\f[CR]--repository-key-fetch=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Controls whether \\f[B]mkosi\\f[R] will fetch distribution GPG keys " "remotely. Enabled by default on Ubuntu when not using a tools tree or when " "using Ubuntu tools trees to build Arch Linux or RPM-based distributions. " "Disabled by default on all other distributions. When disabled, the " "distribution GPG keys for the target distribution have to be installed " "locally on the host system alongside the package manager for that " "distribution.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "This setting is only implemented for distributions using \\f[B]dnf\\f[R], " "\\f[B]pacman\\f[R] or \\f[B]zypper\\f[R] as their package manager. For " "other distributions the distribution GPG keys are always looked up locally " "regardless of the value of this setting. To make the distribution GPG keys " "for distributions available without enabling this setting, the corresponding " "package has to be installed on the host. This is usually one of " "\\f[CR]archlinux-keyring\\f[R], \\f[CR]debian-keyring\\f[R], \\f[CR]kali-" "archive-keyring\\f[R], \\f[CR]ubuntu-keyring\\f[R] or \\f[CR]distribution-" "gpg-keys\\f[R] (for RPM-based distributions).\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]Repositories=\\f[R], \\f[CR]--repositories=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Enable package repositories that are disabled by default. This can be used " "to enable the EPEL repos for CentOS or different components of the Debian/" "Kali/Ubuntu repositories." msgstr "" #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "[Output] Section" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]Format=\\f[R], \\f[CR]--format=\\f[R], \\f[CR]-t\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "The image format type to generate. One of \\f[CR]directory\\f[R] (for " "generating an OS image directly in a local directory), \\f[CR]tar\\f[R] " "(similar, but a tarball of the OS image is generated), \\f[CR]cpio\\f[R] " "(similar, but a cpio archive is generated), \\f[CR]disk\\f[R] (a block " "device OS image with a GPT partition table), \\f[CR]uki\\f[R] (a unified " "kernel image with the OS image in the \\f[CR].initrd\\f[R] PE section), " "\\f[CR]esp\\f[R] (a disk image with only an ESP partition, bootloader and " "optionally a UKI), \\f[CR]oci\\f[R] (a directory compatible with the OCI " "image specification), \\f[CR]sysext\\f[R], \\f[CR]confext\\f[R], " "\\f[CR]portable\\f[R], \\f[CR]addon\\f[R] or \\f[CR]none\\f[R] (the OS image " "is solely intended as a build image to produce another artifact).\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "If the \\f[CR]disk\\f[R] output format is used, the disk image is generated " "using \\f[B]systemd-repart\\f[R]. The repart partition definition files to " "use can be configured using the \\f[CR]RepartDirectories=\\f[R] setting or " "via \\f[CR]mkosi.repart/\\f[R]. When verity partitions are configured using " "\\f[B]systemd-repart\\f[R]\\[cq]s \\f[CR]Verity=\\f[R] setting, " "\\f[B]mkosi\\f[R] will automatically parse the verity hash partition\\[cq]s " "roothash from \\f[B]systemd-repart\\f[R]\\[cq]s JSON output and include it " "in the kernel command line of every unified kernel image built by " "\\f[B]mkosi\\f[R].\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "If the \\f[CR]none\\f[R] output format is used, the outputs from a previous " "build are not removed, but clean scripts (see \\f[CR]CleanScripts=\\f[R]) " "are still executed. This allows rerunning a build script (see " "\\f[CR]BuildScripts=\\f[R]) without removing the results of a previous " "build.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]ManifestFormat=\\f[R], \\f[CR]--manifest-format=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "The manifest format type or types to generate. A comma-delimited list " "consisting of \\f[CR]json\\f[R] (the standard JSON output format that " "describes the packages installed), \\f[CR]changelog\\f[R] (a human-readable " "text format designed for diffing). By default no manifest is generated.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]Output=\\f[R], \\f[CR]--output=\\f[R], \\f[CR]-o\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Name to use for the generated output image file or directory. Defaults to " "\\f[CR]image\\f[R] or, if \\f[CR]ImageId=\\f[R] is specified, it is used as " "the default output name, optionally suffixed with the version set with " "\\f[CR]ImageVersion=\\f[R] or if a specific image is built from " "\\f[CR]mkosi.images\\f[R], the name of the image is preferred over " "\\f[CR]ImageId\\f[R]. Note that this option does not allow configuring the " "output directory, use \\f[CR]OutputDirectory=\\f[R] for that.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Note that this only specifies the output prefix, depending on the specific " "output format, compression and image version used, the full output name " "might be \\f[CR]image_7.8.raw.xz\\f[R].\\fR" msgstr "" #. type: TP #: archlinux #, no-wrap msgid "\\f[CR]OutputExtension=\\f[R], \\f[CR]--output-extension=\\fR" msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Use the specified extension for the output file. Defaults to the " "appropriate extension based on the output format. Only includes the file " "extension, not any compression extension which will be appended to this " "extension if compression is enabled." msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]CompressOutput=\\f[R], \\f[CR]--compress-output=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Configure compression for the resulting image or archive. The argument can " "be either a boolean or a compression algorithm (\\f[B]xz\\f[R], " "\\f[B]zstd\\f[R]). \\f[B]zstd\\f[R] compression is used by default, except " "CentOS and derivatives up to version 8, which default to \\f[B]xz\\f[R], and " "OCI images, which default to \\f[B]gzip\\f[R]. Note that when applied to " "block device image types, compression means the image cannot be started " "directly but needs to be decompressed first. This also means that the " "\\f[CR]shell\\f[R], \\f[CR]boot\\f[R], \\f[CR]vm\\f[R] verbs are not " "available when this option is used. Implied for \\f[CR]tar\\f[R], " "\\f[CR]cpio\\f[R], \\f[CR]uki\\f[R], \\f[CR]esp\\f[R], \\f[CR]oci\\f[R] and " "\\f[CR]addon\\f[R].\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]CompressLevel=\\f[R], \\f[CR]--compress-level=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Configure the compression level to use. Takes an integer. The possible " "values depend on the compression being used." msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]OutputDirectory=\\f[R], \\f[CR]--output-directory=\\f[R], \\f[CR]-O\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Path to a directory where to place all generated artifacts. If this is not " "specified and the directory \\f[CR]mkosi.output/\\f[R] exists in the local " "directory, it is automatically used for this purpose.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]OutputMode=\\f[R], \\f[CR]--output-mode=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "File system access mode used when creating the output image file. Takes an " "access mode in octal notation. If not set, uses the current system defaults." msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]ImageVersion=\\f[R], \\f[CR]--image-version=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Configure the image version. This accepts any string, but it is recommended " "to specify a series of dot separated components. The version may also be " "configured by reading a \\f[CR]mkosi.version\\f[R] file (in which case it " "may be conveniently managed via the \\f[CR]bump\\f[R] verb or the \\f[CR]--" "auto-bump\\f[R] option) or by reading stdout if it is executable (see the " "\\f[B]Scripts\\f[R] section below). When specified the image version is " "included in the default output file name, i.e.\\ instead of " "\\f[CR]image.raw\\f[R] the default will be \\f[CR]image_0.1.raw\\f[R] for " "version \\f[CR]0.1\\f[R] of the image, and similar. The version is also " "passed via the \\f[CR]$IMAGE_VERSION\\f[R] to any build scripts invoked " "(which may be useful to patch it into \\f[CR]/usr/lib/os-release\\f[R] or " "similar, in particular the \\f[CR]IMAGE_VERSION=\\f[R] field of it).\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]ImageId=\\f[R], \\f[CR]--image-id=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Configure the image identifier. This accepts a freeform string that shall " "be used to identify the image with. If set the default output file will be " "named after it (possibly suffixed with the version). The identifier is also " "passed via the \\f[CR]$IMAGE_ID\\f[R] to any build scripts invoked. The " "image ID is automatically added to \\f[CR]/usr/lib/os-release\\f[R].\\fR" msgstr "" #. type: TP #: archlinux #, no-wrap msgid "\\f[CR]SplitArtifacts=\\f[R], \\f[CR]--split-artifacts=\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "The artifact types to split out of the final image. A comma-delimited list " "consisting of \\f[CR]uki\\f[R], \\f[CR]kernel\\f[R], \\f[CR]initrd\\f[R], " "\\f[CR]os-release\\f[R], \\f[CR]prcs\\f[R], \\f[CR]partitions\\f[R], " "\\f[CR]roothash\\f[R], \\f[CR]kernel-modules-initrd\\f[R], \\f[CR]repart-" "definitions\\f[R] and \\f[CR]tar\\f[R]. When building a bootable image " "\\f[CR]kernel\\f[R] and \\f[CR]initrd\\f[R] correspond to their artifact " "found in the image (or in the UKI), while \\f[CR]uki\\f[R] copies out the " "entire UKI. If \\f[CR]pcrs\\f[R] is specified, a JSON file containing the " "pre-calculated TPM2 digests is written out, according to the E<.UR https://" "uapi-group.org/specifications/specs/unified_kernel_image/#json-format-for-" "pcrsig> UKI specification E<.UE > , which is useful for offline signing.\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "When building a disk image and \\f[CR]partitions\\f[R] is specified, pass " "\\f[CR]--split=yes\\f[R] to \\f[B]systemd-repart\\f[R] to have it write out " "split partition files for each configured partition. Read the E<.UR https://" "www.freedesktop.org/software/systemd/man/systemd-repart.html#--split=BOOL> " "man E<.UE > \\ page for more information. This is useful in A/B update " "scenarios where an existing disk image shall be augmented with a new version " "of a root or \\f[CR]/usr\\f[R] partition along with its Verity partition and " "unified kernel.\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "When \\f[CR]tar\\f[R] is specified, the rootfs is additionally archived as a " "tar archive (compressed according to \\f[CR]CompressOutput=\\f[R]).\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "When \\f[CR]roothash\\f[R] is specified and a dm-verity disk image is built, " "the dm-verity roothash is written out as a separate file, which is useful " "for offline signing.\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "\\f[CR]kernel-modules-initrd\\f[R] corresponds to the separate kernel " "modules initrd which mkosi appends to the main initrd. This is primarily " "intended for debugging as many initrd inspection tools don\\[cq]t properly " "handle multiple initrds appended to each other.\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "When \\f[CR]repart-definitions\\f[R] is specified, a directory containing " "the used repart definition files is written to the output directory. If " "multiple directories are configured via \\f[CR]RepartDirectories=\\f[R], " "they are merged, with later directories taking priority over earlier ones " "when files with identical names exist.\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "By default \\f[CR]uki\\f[R], \\f[CR]kernel\\f[R] and \\f[CR]initrd\\f[R] are " "split out.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]RepartDirectories=\\f[R], \\f[CR]--repart-directory=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Paths to directories containing \\f[B]systemd-repart\\f[R] partition " "definition files that are used when \\f[B]mkosi\\f[R] invokes \\f[B]systemd-" "repart\\f[R] when building a disk image. If \\f[CR]mkosi.repart/\\f[R] " "exists in the local directory, it will be used for this purpose as well. " "Note that \\f[B]mkosi\\f[R] invokes repart with \\f[CR]--root=\\f[R] set to " "the root of the image root, so any \\f[CR]CopyFiles=\\f[R] source paths in " "partition definition files will be relative to the image root directory.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]SectorSize=\\f[R], \\f[CR]--sector-size=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Override the default sector size that \\f[B]systemd-repart\\f[R] uses when " "building a disk image.\\fR" msgstr "" #. type: TP #: archlinux #, no-wrap msgid "\\f[CR]Overlay=\\f[R], \\f[CR]--overlay=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "When used together with \\f[CR]BaseTrees=\\f[R], the output will consist " "only out of changes to the specified base trees. Each base tree is attached " "as a lower layer in an overlayfs structure, and the output becomes the upper " "layer, initially empty. Thus files that are not modified compared to the " "base trees will not be present in the final output.\\fR" msgstr "" #. type: Plain text #: archlinux fedora-44 fedora-rawhide msgid "" "This option may be used to create E<.UR https://uapi-group.org/" "specifications/specs/extension_image> systemd \\f[I]system extensions\\f[R] " "E<.UE > \\&.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]Seed=\\f[R], \\f[CR]--seed=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Takes a UUID as argument or the special value \\f[CR]random\\f[R]. " "Overrides the seed that \\f[B]systemd-repart\\f[R] uses when building a disk " "image. This is useful to achieve reproducible builds, where deterministic " "UUIDs and other partition metadata should be derived on each build. If not " "specified explicitly and the file \\f[CR]mkosi.seed\\f[R] exists in the " "local directory, the UUID to use is read from it. Otherwise, a random UUID " "is used.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]CleanScripts=\\f[R], \\f[CR]--clean-script=\\fR" msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Takes a comma-separated list of paths to executables that are used as the " "clean scripts for this image. See the \\f[B]SCRIPTS\\f[R] section for more " "information.\\fR" msgstr "" #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "[Content] Section" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]Packages=\\f[R], \\f[CR]--package=\\f[R], \\f[CR]-p\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Install the specified distribution packages (i.e.\\ RPM, deb, \\&...) in " "the image. Takes a comma-separated list of package specifications. This " "option may be used multiple times in which case the specified package lists " "are combined. Use \\f[CR]BuildPackages=\\f[R] to specify packages that " "shall only be installed in an overlay that is mounted when the prepare " "scripts are executed with the \\f[CR]build\\f[R] argument and when the build " "scripts are executed.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie fedora-44 fedora-rawhide opensuse-leap-16-1 msgid "" "The types and syntax of \\f[I]package specifications\\f[R] that are allowed " "depend on the package installer (e.g.\\ \\f[B]dnf\\f[R] for RPM-based " "distros or \\f[B]apt\\f[R] for deb-based distros), but may include package " "names, package names with version and/or architecture, package name globs, " "package groups, and virtual provides, including file paths.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "See \\f[CR]PackageDirectories=\\f[R] for information on how to make local " "packages available for installation with \\f[CR]Packages=\\f[R].\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "\\f[B]Example\\f[R]: when using a distro that uses \\f[B]dnf\\f[R], the " "following configuration would install the \\f[B]meson\\f[R] package (in the " "latest version), the 32-bit version of the \\f[CR]libfdisk-devel\\f[R] " "package, all available packages that start with the \\f[CR]git-\\f[R] " "prefix, a \\f[B]systemd\\f[R] RPM from the local file system, one of the " "packages that provides \\f[CR]/usr/bin/ld\\f[R], the packages in the " "\\f[I]Development Tools\\f[R] group, and the package that contains the " "\\f[CR]mypy\\f[R] python module.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie fedora-44 fedora-rawhide opensuse-leap-16-1 #, no-wrap msgid "" "Packages=meson\n" " libfdisk-devel.i686\n" " git-*\n" " /usr/bin/ld\n" " \\[at]development-tools\n" " python3dist(mypy)\n" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]BuildPackages=\\f[R], \\f[CR]--build-package=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Similar to \\f[CR]Packages=\\f[R], but configures packages to install only " "in an overlay that is made available on top of the image to the prepare " "scripts when executed with the \\f[CR]build\\f[R] argument and the build " "scripts. This option should be used to list packages containing header " "files, compilers, build systems, linkers and other build tools the " "\\f[CR]mkosi.build\\f[R] scripts require to operate. Note that packages " "listed here will be absent in the final image.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]VolatilePackages=\\f[R], \\f[CR]--volatile-package=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Similar to \\f[CR]Packages=\\f[R], but packages configured with this setting " "are not cached when \\f[CR]Incremental=\\f[R] is enabled and are installed " "after executing any build scripts.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie fedora-44 fedora-rawhide opensuse-leap-16-1 msgid "" "Specifically, this setting can be used to install packages that change often " "or which are built by a build script." msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]PackageDirectories=\\f[R], \\f[CR]--package-directory=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Specify directories containing extra packages to be made available during " "the build. \\f[B]mkosi\\f[R] will create a local repository containing all " "packages in these directories and make it available when installing packages " "or running scripts. If the \\f[CR]mkosi.packages/\\f[R] directory is found " "in the local directory it is also used for this purpose.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]VolatilePackageDirectories=\\f[R], \\f[CR]--volatile-package-directory=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Like \\f[CR]PackageDirectories=\\f[R], but any changes to the packages in " "these directories will not invalidate the cached images if " "\\f[CR]Incremental=\\f[R] is enabled.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Additionally, build scripts can add more packages to the local repository by " "placing the built packages in \\f[CR]$PACKAGEDIR\\f[R]. The packages placed " "in \\f[CR]$PACKAGEDIR\\f[R] are shared between all image builds and thus " "available for installation in all images using " "\\f[CR]VolatilePackages=\\f[R].\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]WithRecommends=\\f[R], \\f[CR]--with-recommends=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Configures whether to install recommended or weak dependencies, depending on " "how they are named by the used package manager, or not. By default, " "recommended packages are not installed. This is only used for package " "managers that support the concept, which are currently \\f[B]apt\\f[R], " "\\f[B]dnf\\f[R] and \\f[B]zypper\\f[R].\\fR" msgstr "" #. type: TP #: archlinux #, no-wrap msgid "\\f[CR]WithDocs=\\f[R], \\f[CR]--with-docs=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Include documentation in the image. Enabled by default. When disabled, if " "the underlying distribution package manager supports it documentation is not " "included in the image. The \\f[CR]$WITH_DOCS\\f[R] environment variable " "passed to the \\f[CR]mkosi.build\\f[R] scripts is set to \\f[CR]0\\f[R] or " "\\f[CR]1\\f[R] depending on whether this option is enabled or disabled.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]BaseTrees=\\f[R], \\f[CR]--base-tree=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Takes a comma-separated list of paths to use as base trees. When used, " "these base trees are each copied into the OS tree and form the base " "distribution instead of installing the distribution from scratch. Only " "extra packages are installed on top of the ones already installed in the " "base trees. Note that for this to work properly, the base image still needs " "to contain the package manager metadata by setting " "\\f[CR]CleanPackageMetadata=no\\f[R] (see " "\\f[CR]CleanPackageMetadata=\\f[R]).\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie fedora-44 fedora-rawhide opensuse-leap-16-1 msgid "" "Instead of a directory, a tar file or a disk image may be provided. In this " "case it is unpacked into the OS tree. This mode of operation allows setting " "permissions and file ownership explicitly, in particular for projects stored " "in a version control system such as \\f[B]git\\f[R] which retain full file " "ownership and access mode metadata for committed files.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]SkeletonTrees=\\f[R], \\f[CR]--skeleton-tree=\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "Takes a comma-separated list of colon-separated path pairs. The first path " "of each pair refers to a directory to copy into the OS tree before invoking " "the package manager. The second path of each pair refers to the target " "directory inside the image. If the second path is not provided, the " "directory is copied on top of the root directory of the image. The second " "path is always interpreted as an absolute path. Use this to insert files " "and directories into the OS tree before the package manager installs any " "packages. If the \\f[CR]mkosi.skeleton/\\f[R] directory is found in the " "local directory it is also used for this purpose with the root directory as " "target (also see the \\f[B]FILES\\f[R] section below).\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Note that skeleton trees are cached and any changes to skeleton trees after " "a cached image has been built (when using \\f[CR]Incremental=\\f[R]) are " "only applied when the cached image is rebuilt (by using \\f[CR]-ff\\f[R] or " "running \\f[CR]mkosi -f clean\\f[R]).\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "As with the base tree logic above, instead of a directory, a tar file may be " "provided too. \\f[CR]mkosi.skeleton.tar\\f[R] will be automatically used if " "found in the local directory.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "To add extra package manager configuration files such as extra repositories, " "use \\f[CR]SandboxTrees=\\f[R] as \\f[B]mkosi\\f[R] invokes the package " "managers from outside the image and not inside so any package manager " "configuration files provided via \\f[CR]SkeletonTrees=\\f[R] won\\[cq]t take " "effect when \\f[B]mkosi\\f[R] invokes a package manager to install packages." "\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]ExtraTrees=\\f[R], \\f[CR]--extra-tree=\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "Takes a comma-separated list of colon-separated path pairs. The first path " "of each pair refers to a directory to copy from the host into the image. " "The second path of each pair refers to the target directory inside the " "image. If the second path is not provided, the directory is copied on top " "of the root directory of the image. The second path is always interpreted " "as an absolute path. Use this to override any default configuration files " "shipped with the distribution. If the \\f[CR]mkosi.extra/\\f[R] directory " "is found in the local directory it is also used for this purpose with the " "root directory as target (also see the \\f[B]FILES\\f[R] section below).\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "As with the base tree logic above, instead of a directory, a tar file may be " "provided too. \\f[CR]mkosi.extra.tar\\f[R] will be automatically used if " "found in the local directory.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]RemovePackages=\\f[R], \\f[CR]--remove-package=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Takes a comma-separated list of package specifications for removal, in the " "same format as \\f[CR]Packages=\\f[R]. The removal will be performed as one " "of the last steps. This step is skipped if " "\\f[CR]CleanPackageMetadata=no\\f[R] is used.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]RemoveFiles=\\f[R], \\f[CR]--remove-files=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Takes a comma-separated list of globs. Files in the image matching the " "globs will be purged at the end." msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]CleanPackageMetadata=\\f[R], \\f[CR]--clean-package-metadata=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Enable/disable removal of package manager databases and repository metadata " "at the end of installation. Can be specified as \\f[CR]true\\f[R], " "\\f[CR]false\\f[R], or \\f[CR]auto\\f[R] (the default). With " "\\f[CR]auto\\f[R], package manager databases and repository metadata will be " "removed if the respective package manager executable is \\f[I]not\\f[R] " "present at the end of the installation.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]SourceDateEpoch=\\f[R], \\f[CR]--source-date-epoch=\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "Takes a timestamp in seconds since the UNIX epoch as argument. File " "modification times of all files will be clamped to this value. The variable " "is also propagated to \\f[B]systemd-repart\\f[R] and scripts executed by " "\\f[B]mkosi\\f[R]. If not set explicitly, \\f[CR]SOURCE_DATE_EPOCH\\f[R] " "from \\f[CR]--environment=\\f[R] and from the host environment are tried in " "that order. This is useful to make builds reproducible. See E<.UR https://" "reproducible-builds.org/specs/source-date-epoch/> SOURCE_DATE_EPOCH E<.UE > " "\\ for more information.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]SyncScripts=\\f[R], \\f[CR]--sync-script=\\fR" msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Takes a comma-separated list of paths to executables that are used as the " "sync scripts for this image. See the \\f[B]SCRIPTS\\f[R] section for more " "information.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]PrepareScripts=\\f[R], \\f[CR]--prepare-script=\\fR" msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Takes a comma-separated list of paths to executables that are used as the " "prepare scripts for this image. See the \\f[B]SCRIPTS\\f[R] section for " "more information.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]BuildScripts=\\f[R], \\f[CR]--build-script=\\fR" msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Takes a comma-separated list of paths to executables that are used as the " "build scripts for this image. See the \\f[B]SCRIPTS\\f[R] section for more " "information.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]PostInstallationScripts=\\f[R], \\f[CR]--postinst-script=\\fR" msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Takes a comma-separated list of paths to executables that are used as the " "post-installation scripts for this image. See the \\f[B]SCRIPTS\\f[R] " "section for more information.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]FinalizeScripts=\\f[R], \\f[CR]--finalize-script=\\fR" msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Takes a comma-separated list of paths to executables that are used as the " "finalize scripts for this image. See the \\f[B]SCRIPTS\\f[R] section for " "more information.\\fR" msgstr "" #. type: TP #: archlinux #, no-wrap msgid "\\f[CR]PostOutputScripts=\\f[R], \\f[CR]--postoutput-script=\\fR" msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Takes a comma-separated list of paths to executables that are used as the " "post output scripts for this image. See the \\f[B]SCRIPTS\\f[R] section for " "more information.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]Bootable=\\f[R], \\f[CR]--bootable=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Takes a boolean or \\f[CR]auto\\f[R]. Enables or disables generation of a " "bootable image. If enabled, \\f[B]mkosi\\f[R] will install an EFI " "bootloader, and add an ESP partition when the disk image output is used. If " "the selected EFI bootloader (see \\f[CR]Bootloader=\\f[R]) is not installed " "or no kernel images can be found, the build will fail. \\f[CR]auto\\f[R] " "behaves as if the option was enabled, but the build won\\[cq]t fail if " "either no kernel images or the selected EFI bootloader can\\[cq]t be found. " "If disabled, no bootloader will be installed even if found inside the image, " "no unified kernel images will be generated and no ESP partition will be " "added to the image if the disk output format is used.\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "If the \\f[CR]esp\\f[R] output format is used, an ESP partition and " "bootloader are always added, and the \\f[CR]Bootable=\\f[R] option only " "controls whether a UKI is added to the ESP partition or not.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]Bootloader=\\f[R], \\f[CR]--bootloader=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Takes one of \\f[CR]none\\f[R], \\f[CR]systemd-boot\\f[R], \\f[CR]uki\\f[R], " "\\f[CR]grub\\f[R], \\f[CR]systemd-boot-signed\\f[R], \\f[CR]uki-signed\\f[R] " "or \\f[CR]grub-signed\\f[R]. Defaults to \\f[CR]systemd-boot\\f[R]. If set " "to \\f[CR]none\\f[R], no EFI bootloader will be installed into the image. " "If set to \\f[CR]systemd-boot\\f[R], \\f[B]systemd-boot\\f[R] will be " "installed and for each installed kernel, a UKI will be generated and stored " "in \\f[CR]EFI/Linux\\f[R] in the ESP. If set to \\f[CR]uki\\f[R], a single " "UKI will be generated for the latest installed kernel (the one with the " "highest version) which is installed to \\f[CR]EFI/BOOT/BOOTX64.EFI\\f[R] in " "the ESP. If set to \\f[CR]grub\\f[R], for each installed kernel, a UKI will " "be generated and stored in \\f[CR]EFI/Linux\\f[R] in the ESP. For each " "generated UKI, a menu entry is appended to the grub configuration in " "\\f[CR]grub/grub.cfg\\f[R] in the ESP which chainloads into the UKI. A shim " "grub.cfg is also written to \\f[CR]EFI/EdistributionE/grub.cfg\\f[R] " "in the ESP which loads \\f[CR]grub/grub.cfg\\f[R] in the ESP for " "compatibility with signed versions of grub which load the grub configuration " "from this location.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "The \\f[CR]signed\\f[R] variants will only install pre-signed EFI binaries " "shipped by the distribution.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Kernels need to be placed into the root filesystem (for example using " "\\f[CR]ExtraTrees=\\f[R]) under \\f[CR]/usr/lib/modules/$version\\f[R], " "named \\f[CR]vmlinux\\f[R] or \\f[CR]vmlinuz\\f[R]. The \\f[CR]" "$version\\f[R] is as produced by Kbuild\\[cq]s \\f[CR]kernelversion\\f[R] " "make target.\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "Note: When using \\f[CR]systemd-boot\\f[R] or \\f[CR]systemd-boot-" "signed\\f[R], \\f[CR]mkosi\\f[R] expects the \\f[CR]systemd-boot\\f[R] EFI " "binaries to be present in the image. Depending on your distribution, these " "may be packaged separately. For example, Debian- based images will need " "\\f[CR]systemd-boot-efi\\f[R].\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]BiosBootloader=\\f[R], \\f[CR]--bios-bootloader=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Takes one of \\f[CR]none\\f[R] or \\f[CR]grub\\f[R]. Defaults to " "\\f[CR]none\\f[R]. If set to \\f[CR]none\\f[R], no BIOS bootloader will be " "installed. If set to \\f[CR]grub\\f[R], grub is installed as the BIOS boot " "loader if a bootable image is requested with the \\f[CR]Bootable=\\f[R] " "option. If no repart partition definition files are configured, " "\\f[B]mkosi\\f[R] will add a grub BIOS boot partition and an EFI system " "partition to the default partition definition files.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Note that this option is not mutually exclusive with " "\\f[CR]Bootloader=\\f[R]. It is possible to have an image that is both " "bootable on UEFI and BIOS by configuring both \\f[CR]Bootloader=\\f[R] and " "\\f[CR]BiosBootloader=\\f[R].\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "The grub BIOS boot partition should have UUID " "\\f[CR]21686148-6449-6e6f-744e-656564454649\\f[R] and should be at least 1MB." "\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie fedora-44 fedora-rawhide opensuse-leap-16-1 msgid "" "Even if no EFI bootloader is installed, we still need an ESP for BIOS boot " "as that\\[cq]s where we store the kernel, initrd and grub modules." msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]ShimBootloader=\\f[R], \\f[CR]--shim-bootloader=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Takes one of \\f[CR]none\\f[R], \\f[CR]unsigned\\f[R], or " "\\f[CR]signed\\f[R]. Defaults to \\f[CR]none\\f[R]. If set to " "\\f[CR]none\\f[R], shim and MokManager will not be installed to the ESP. If " "set to \\f[CR]unsigned\\f[R], \\f[B]mkosi\\f[R] will search for unsigned " "shim and MokManager EFI binaries and install them. If " "\\f[CR]SecureBoot=\\f[R] is enabled, \\f[B]mkosi\\f[R] will sign the " "unsigned EFI binaries before installing them. If set to " "\\f[CR]signed\\f[R], \\f[B]mkosi\\f[R] will search for signed EFI binaries " "and install those. Even if \\f[CR]SecureBoot=\\f[R] is enabled, " "\\f[B]mkosi\\f[R] won\\[cq]t sign these binaries again.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Note that this option only takes effect when an image that is bootable on " "UEFI firmware is requested using other options (\\f[CR]Bootable=\\f[R], " "\\f[CR]Bootloader=\\f[R]).\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie fedora-44 fedora-rawhide opensuse-leap-16-1 msgid "" "Note that when this option is enabled, \\f[B]mkosi\\f[R] will only install " "already signed bootloader binaries, kernel image files and unified kernel " "images as self-signed binaries would not be accepted by the signed version " "of shim.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]UnifiedKernelImages=\\f[R], \\f[CR]--unified-kernel-images=\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "Specifies whether to use unified kernel images or not when " "\\f[CR]Bootloader=\\f[R] is set to \\f[CR]systemd-boot\\f[R] or " "\\f[CR]grub\\f[R]. Takes one of \\f[CR]none\\f[R], \\f[CR]unsigned\\f[R], " "\\f[CR]signed\\f[R] or \\f[CR]auto\\f[R]. Defaults to \\f[CR]auto\\f[R]. " "If \\f[CR]unsigned\\f[R] or \\f[CR]signed\\f[R], unified kernel images are " "always used and the build will fail if any components required to build " "unified kernel images are missing. If set to \\f[CR]auto\\f[R], unified " "kernel images will be used if all necessary components are available. " "Otherwise Type 1 entries as defined by the Boot Loader Specification will be " "used instead. If disabled, Type 1 entries will always be used. If " "\\f[CR]Bootloader=\\f[R] is set to one of the signed variant, a pre-built " "UKI will be searched and the build will fail if it cannot be found, unless " "\\f[CR]UnifiedKernelImages=\\f[R] is set to \\f[CR]unsigned\\f[R], in which " "case the UKI will be built locally. This is useful when combined with the " "runtime \\f[CR]Firmware=\\f[R] option set to \\f[CR]custom\\f[R] so that the " "local signing key is enrolled in UEFI db.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]UnifiedKernelImageFormat=\\f[R], \\f[CR]--unified-kernel-image-format=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Takes a filename without any path components to specify the format that " "unified kernel images should be installed as. This may include both the " "regular specifiers (see \\f[B]Specifiers\\f[R]) and special delayed " "specifiers, that are expanded during the installation of the files, which " "are described below. The default format for this parameter is \\f[CR]&e-" "&k\\f[R] with \\f[CR]-&h\\f[R] being appended if \\f[CR]roothash=\\f[R] or " "\\f[CR]usrhash=\\f[R] is found on the kernel command line and \\f[CR]" "+&c\\f[R] if \\f[CR]/etc/kernel/tries\\f[R] is found in the image.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie fedora-44 fedora-rawhide opensuse-leap-16-1 msgid "The following specifiers may be used:" msgstr "" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Specifier" msgstr "" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Value" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]&&\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]&\\f[R] character\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]&e\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\f[R]Entry Token\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]&k\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\f[R]Kernel version\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]&h\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]roothash=\\f[R] or \\f[CR]usrhash=\\f[R] value of kernel argument\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]UnifiedKernelImageProfiles=\\f[R], \\f[CR]--uki-profile=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Build additional UKI profiles. Takes a comma-separated list of paths to UKI " "profile config files. This option may be used multiple times in which case " "each config gets built into a corresponding UKI profile. Config files in " "the \\f[CR]mkosi.uki-profiles/\\f[R] directory are automatically picked up. " "All configured UKI profiles are added as additional UKI profiles to each UKI " "built by \\f[B]mkosi\\f[R].\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "See the documentation for the \\f[CR]UKIProfile\\f[R] section for " "information on which settings can be configured in UKI profile config files." "\\fR" msgstr "" #. type: TP #: archlinux #, no-wrap msgid "\\f[CR]Initrds=\\f[R], \\f[CR]--initrd=\\fR" msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Use user-provided initrd(s). Takes a comma-separated list of paths to " "initrd files. This option may be used multiple times in which case the " "initrd lists are combined. If no initrds are specified and a bootable image " "is requested, \\f[B]mkosi\\f[R] will automatically build a default initrd." "\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "\\f[B]mkosi\\f[R] will also look for initrds in a subdirectory " "\\f[CR]io.mkosi.initrd\\f[R] of the artifact directory (see \\f[CR]" "$ARTIFACTDIR\\f[R] in the section \\f[B]ENVIRONMENT VARIABLES\\f[R]). Any " "initrds found there are appended to the user-provided initrd(s) and any " "default initrd built by mkosi.\\fR" msgstr "" #. type: TP #: archlinux #, no-wrap msgid "\\f[CR]InitrdProfiles=\\f[R], \\f[CR]--initrd-profile=\\fR" msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Set the profiles to enable for the default initrd. Takes a comma-delimited " "list of profiles. By default, all profiles are disabled." msgstr "" #. type: Plain text #: archlinux msgid "" "The \\f[CR]lvm\\f[R] profile enables support for LVM. The " "\\f[CR]network\\f[R] profile enables support for network via \\f[B]systemd-" "networkd\\f[R]. The \\f[CR]nfs\\f[R] profile enables support for NFS. It " "requires networking in the initrd, using the \\f[CR]network\\f[R] profile, " "or some other custom method. The \\f[CR]pkcs11\\f[R] profile enables " "support for PKCS#11. The \\f[CR]plymouth\\f[R] profile provides a graphical " "interface at boot (animation and password prompt). The \\f[CR]raid\\f[R] " "profile enables support for RAID arrays.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]InitrdPackages=\\f[R], \\f[CR]--initrd-package=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Extra packages to install into the default initrd. Takes a comma separated " "list of package specifications. This option may be used multiple times in " "which case the specified package lists are combined." msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]InitrdVolatilePackages=\\f[R], \\f[CR]--initrd-volatile-package=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Similar to \\f[CR]VolatilePackages=\\f[R], except it applies to the default " "initrd.\\fR" msgstr "" #. type: TP #: archlinux #, no-wrap msgid "\\f[CR]Devicetrees=\\f[R], \\f[CR]--devicetrees=\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "Comma-separated list of devicetree patterns for automatic hardware-based " "selection. Patterns are glob expressions. \\f[B]mkosi\\f[R] searches for " "devicetree files in standard locations relative to \\f[CR]/usr/lib/modules/" "EkverE/dtb/\\f[R], \\f[CR]/usr/lib/firmware/EkverE/device-" "tree/\\f[R], and \\f[CR]/usr/lib/linux-image-EkverE/\\f[R].\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "For UKI builds, multiple matches enable automatic hardware-based selection " "using the \\f[CR].dtbauto\\f[R] sections. Type 1 boot entries require " "exactly one match.\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "Example: \\f[CR]Devicetrees=rockchip/*,imx.*\\f[R] would include all " "Rockchip devicetrees and any IMX devicetrees.\\fR" msgstr "" #. type: TP #: archlinux #, no-wrap msgid "\\f[CR]Splash=\\f[R], \\f[CR]--splash=\\fR" msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "When set, the boot splash for any unified kernel image built by " "\\f[B]mkosi\\f[R] will be picked up from the given path inside the image.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]MicrocodeHost=\\f[R], \\f[CR]--microcode-host=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie fedora-44 fedora-rawhide opensuse-leap-16-1 msgid "" "When set to true only include microcode for the host\\[cq]s CPU in the image." msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]KernelCommandLine=\\f[R], \\f[CR]--kernel-command-line=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Use the specified kernel command line when building images." msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "If the root or usr partition are created with verity enabled, " "\\f[CR]roothash=\\f[R] or \\f[CR]usrhash=\\f[R] respectively are " "automatically added to the kernel command line and \\f[CR]root=\\f[R] or " "\\f[CR]mount.usr=\\f[R] should not be added. Otherwise, if the value of " "this setting contains the literals \\f[CR]root=PARTUUID\\f[R] or " "\\f[CR]mount.usr=PARTUUID\\f[R], these are replaced with the partition UUID " "of the root or usr partition respectively. For example, " "\\f[CR]root=PARTUUID\\f[R] would be replaced with " "\\f[CR]root=PARTUUID=58c7d0b2-d224-4834-a16f-e036322e88f7\\f[R] where " "\\f[CR]58c7d0b2-d224-4834-a16f-e036322e88f7\\f[R] is the partition UUID of " "the root partition.\\fR" msgstr "" #. type: TP #: archlinux #, no-wrap msgid "\\f[CR]KernelModules=\\f[R], \\f[CR]--kernel-modules=\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "Takes a list of glob patterns that specify which kernel modules to include " "in the image. Each argument may be prefixed with a dash (\\f[CR]-\\f[R]), " "to \\f[I]exclude\\f[R] matching modules. The arguments are evaluated in " "order, the last positive or negative matching pattern determines the " "result. The modules that were last matched by a positive pattern are " "included in the image, as well as their module and firmware dependencies.\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "The \\f[CR].ko\\f[R] suffix and compression suffix are ignored during " "matching.\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "Globs are matched against module paths relative to \\f[CR]/usr/lib/module/" "EkverE\\f[R], e.g.\\ the module at \\f[CR]/usr/lib/module/" "EkverE/kernel/foo/bar.ko.xz\\f[R] becomes \\f[CR]kernel/foo/" "bar\\f[R] for matching purposes.\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "Globs beginning with \\[lq]/\\[rq] are treated specially. The glob is " "\\f[I]first\\f[R] matched against a path relative to \\f[CR]/usr/lib/module/" "EkverE/kernel\\f[R], and only then against \\f[CR]/usr/lib/module/" "EkverE/\\f[R]. This is a convenience, since usually only the in-" "tree modules under \\f[CR]kernel/\\f[R] are of interest.\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "For example, the module at\\f[CR]/usr/lib/module/EkverE/kernel/foo/" "bar.ko.xz\\f[R] can be matched by either \\f[CR]/foo/bar\\f[R] or \\f[CR]/" "kernel/foo/bar\\f[R].\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "The glob patterns may include just the basename (e.g.\\ \\f[CR]loop\\f[R]), " "which must match the basename of the module, the relative path (e.g.\\ " "\\f[CR]block/loop\\f[R]), which must match the final components of the " "module path up to the basename, or an absolute path (e.g.\\ \\f[CR]/drivers/" "block/loop\\f[R]), which must match the full path to the module.\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "When suffixed with \\f[CR]/\\f[R], the pattern will match all modules " "underneath that directory.\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "The patterns may include shell-style globs (\\f[CR]*\\f[R], \\f[CR]?\\f[R], " "\\f[CR][\\&...-\\&...]\\f[R]).\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "If the special value \\f[CR]default\\f[R] is used, the default kernel " "modules defined in the \\f[B]mkosi-initrd\\f[R] configuration are included " "as well.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "If the special value \\f[CR]host\\f[R] is used, the currently loaded modules " "on the host system are included as well.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]KernelModulesInitrd=\\f[R], \\f[CR]--kernel-modules-initrd=\\fR" msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Boolean value, enabled (true) by default. If enabled, when building a " "bootable image, \\f[B]mkosi\\f[R] will generate an extra initrd for each " "unified kernel image it assembles. This initrd contains only modules and " "possibly firmware, and is then appended to the base initrd to form the final " "initrd file. This keeps the base initrd kernel independent, and only " "augments it with the necessary kernel-version specific modules when the UKI " "is assembled.\\fR" msgstr "" #. type: Plain text #: archlinux fedora-44 fedora-rawhide msgid "" "If disabled, no extra initrd is generated. Note that the kernel modules " "will still \\f[B]not\\f[R] be included in the base initrd, which remains " "kernel independent. Instead, it is assumed the user provides the necessary " "modules, if any, via an additional custom initrd.\\fR" msgstr "" #. type: TP #: archlinux #, no-wrap msgid "\\f[CR]KernelInitrdModules=\\f[R], \\f[CR]--kernel-modules-initrd-include=\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "Like \\f[CR]KernelModules=\\f[R], but specifies the kernel modules to " "include in the initrd.\\fR" msgstr "" #. type: TP #: archlinux #, no-wrap msgid "\\f[CR]FirmwareFiles=\\f[R], \\f[CR]--firmware-files=\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "Takes a list of glob patterns that specify which firmware files to include " "in the image. The patterns are interpreted in the same way as in the " "\\f[CR]KernelModules=\\f[R] settings, except that the paths are relative to " "\\f[CR]/usr/lib/firmware/EsubdirE\\f[R]. The compression suffix is " "ignored and must not be included in the pattern.\\fR" msgstr "" #. type: Plain text #: archlinux fedora-44 fedora-rawhide msgid "" "Firmware dependencies of kernel modules installed in the image are " "automatically included." msgstr "" #. type: Plain text #: archlinux msgid "" "Example: \\f[CR]FirmwareFiles=cxgb4/bcm8483.bin\\f[R] or " "\\f[CR]FirmwareFiles=bcm8483.*\\f[R] would both cause \\f[CR]/usr/lib/" "firmware/cxgb4/bcm8483.bin.xz\\f[R] to be included, even if not listed by a " "module.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]Locale=\\f[R], \\f[CR]--locale=\\f[R], \\f[CR]LocaleMessages=\\f[R], \\f[CR]--locale-messages=\\f[R], \\f[CR]Keymap=\\f[R], \\f[CR]--keymap=\\f[R], \\f[CR]Timezone=\\f[R], \\f[CR]--timezone=\\f[R], \\f[CR]Hostname=\\f[R], \\f[CR]--hostname=\\f[R], \\f[CR]RootShell=\\f[R], \\f[CR]--root-shell=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "The settings \\f[CR]Locale=\\f[R], \\f[CR]--locale=\\f[R], " "\\f[CR]LocaleMessages=\\f[R], \\f[CR]--locale-messages=\\f[R], " "\\f[CR]Keymap=\\f[R], \\f[CR]--keymap=\\f[R], \\f[CR]Timezone=\\f[R], " "\\f[CR]--timezone=\\f[R], \\f[CR]Hostname=\\f[R], \\f[CR]--hostname=\\f[R], " "\\f[CR]RootShell=\\f[R], \\f[CR]--root-shell=\\f[R] correspond to the " "identically named systemd-firstboot options. See \\f[B]systemd-" "firstboot\\f[R](1) for more information. Additionally, where applicable, " "the corresponding systemd credentials for these settings are written to " "\\f[CR]/usr/lib/credstore\\f[R], so that they apply even if only \\f[CR]/" "usr\\f[R] is shipped in the image.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]RootPassword=\\f[R], \\f[CR]--root-password=\\f[R],\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "Set the system root password. If this option is not used, but a " "\\f[CR]mkosi.rootpw\\f[R] file is found in the local directory, the password " "is automatically read from it or if the file is executable it is run as a " "script and stdout is read instead (see the \\f[B]SCRIPTS\\f[R] section " "below). If the password starts with \\f[CR]hashed:\\f[R], it is treated as " "an already hashed root password. The root password is also stored in " "\\f[CR]/usr/lib/credstore\\f[R] under the appropriate systemd credential so " "that it applies even if only \\f[CR]/usr\\f[R] is shipped in the image. To " "create an unlocked account without any password use \\f[CR]hashed:\\f[R] " "without a hash.\\fR" msgstr "" #. type: TP #: archlinux #, no-wrap msgid "\\f[CR]Autologin=\\f[R], \\f[CR]--autologin=\\f[R], \\f[CR]-a\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Enable autologin for the \\f[CR]root\\f[R] user on \\f[CR]/dev/pts/0\\f[R] " "(nspawn), \\f[CR]/dev/tty1\\f[R] and \\f[CR]/dev/hvc0\\f[R].\\fR" msgstr "" #. type: TP #: archlinux #, no-wrap msgid "\\f[CR]MakeInitrd=\\f[R], \\f[CR]--make-initrd=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Add \\f[CR]/etc/initrd-release\\f[R] and \\f[CR]/init\\f[R] to the image so " "that it can be used as an initramfs.\\fR" msgstr "" #. type: TP #: archlinux #, no-wrap msgid "\\f[CR]Ssh=\\f[R], \\f[CR]--ssh=\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "Specifies whether to install an \\f[B]sshd\\f[R] socket unit and matching " "service in the final image. Takes one of \\f[CR]always\\f[R], " "\\f[CR]never\\f[R], \\f[CR]auto\\f[R] or \\f[CR]runtime\\f[R]. Defaults to " "\\f[CR]auto\\f[R].\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "If set to \\f[CR]auto\\f[R] and \\f[CR]sshd\\f[R] is present in the image " "and the generator binary \\f[CR]systemd-ssh-generator\\f[R] is not present, " "or if set to \\f[CR]always\\f[R], mkosi will install \\f[B]sshd\\f[R] units " "in the final image that expose SSH over VSock. If set to " "\\f[CR]never\\f[R], mkosi will not install these units. If the " "\\f[CR]runtime\\f[R] value is used, mkosi will also not install any units " "but abort starting \\f[CR]mkosi vm\\f[R] if no SSH credentials are " "configured. When building with this option and running the image using " "\\f[CR]mkosi vm\\f[R], the \\f[CR]mkosi ssh\\f[R] command can be used to " "connect to the container/VM via SSH. Note that you still have to make sure " "openssh is installed in the image to make \\f[CR]mkosi ssh\\f[R] behave " "correctly. Run \\f[CR]mkosi genkey\\f[R] to automatically generate an X.509 " "certificate and private key to be used by \\f[B]mkosi\\f[R] to enable SSH " "access to any virtual machines via \\f[CR]mkosi ssh\\f[R]. To access images " "booted using \\f[CR]mkosi boot\\f[R], use \\f[B]machinectl\\f[R].\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "Starting with systemd v256, systemd-ssh-generator(8) will automatically " "provide \\f[CR]sshd\\f[R] over VSock when running inside a VM. So if you\\" "[cq]re using a recent version of systemd inside a VM, this option is " "generally not used. You still need openssh installed in the image, and the " "default setting of \\f[CR]--vsock=auto\\f[R] is enough to ensure a VSock is " "available inside the VM.\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "Note: if the image distro uses SELinux, mkosi\\[cq]s sshd service will be " "denied access to the VSock, resulting in failure to connect to it from the " "host. You will need to either disable SELinux enforcement, or create a " "custom policy module (e.g.\\ with \\f[CR]audit2allow\\f[R]).\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]SELinuxRelabel=\\f[R], \\f[CR]--selinux-relabel=\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "Specifies whether to relabel files to match the image\\[cq]s SELinux " "policy. Takes a boolean value or \\f[CR]auto\\f[R]. Defaults to " "\\f[CR]auto\\f[R]. If disabled, files will not relabeled. If enabled, an " "SELinux policy has to be installed in the image and \\f[B]setfiles\\f[R] has " "to be available to relabel files. If any errors occur during " "\\f[B]setfiles\\f[R], the build will fail. If set to \\f[CR]auto\\f[R], " "files will be relabeled if mkosi is not building a directory image, an " "SELinux policy is installed in the image and if \\f[B]setfiles\\f[R] is " "available. Any errors occurred during \\f[B]setfiles\\f[R] will be ignored." "\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie fedora-44 fedora-rawhide opensuse-leap-16-1 msgid "" "Note that when running unprivileged, \\f[B]setfiles\\f[R] will fail to set " "any labels that are not in the host\\[cq]s SELinux policy. To ensure " "\\f[B]setfiles\\f[R] succeeds without errors, make sure to run " "\\f[B]mkosi\\f[R] as root or build from a host system with the same SELinux " "policy as the image you\\[cq]re building.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]MachineId=\\f[R], \\f[CR]--machine-id=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Takes a UUID or the special value \\f[CR]random\\f[R]. Sets the machine ID " "of the image to the specified UUID. If set to \\f[CR]random\\f[R], a random " "UUID will be written to \\f[CR]/etc/machine-id\\f[R]. If not specified " "explicitly and the file \\f[CR]mkosi.machine-id\\f[R] exists in the local " "directory, the UUID to use is read from it. Otherwise, " "\\f[CR]uninitialized\\f[R] will be written to \\f[CR]/etc/machine-id\\f[R]." "\\fR" msgstr "" #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "[Validation] Section" msgstr "" #. type: TP #: archlinux #, no-wrap msgid "\\f[CR]SecureBoot=\\f[R], \\f[CR]--secure-boot=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Sign \\f[B]systemd-boot\\f[R] (if it is not signed yet) and any generated " "unified kernel images for UEFI SecureBoot.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]SecureBootAutoEnroll=\\f[R], \\f[CR]--secure-boot-auto-enroll=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Set up automatic enrollment of the secure boot keys in virtual machines as " "documented in \\f[B]systemd-boot\\f[R](7) if \\f[CR]SecureBoot=\\f[R] is " "used. Note that \\f[B]systemd-boot\\f[R] will only do automatic secure boot " "key enrollment in virtual machines starting from systemd v253. To do auto " "enrollment on systemd v252 or on bare metal machines, write a \\f[B]systemd-" "boot\\f[R] configuration file to \\f[CR]/efi/loader/loader.conf\\f[R] using " "an extra tree with \\f[CR]secure-boot-enroll force\\f[R] or \\f[CR]secure-" "boot-enroll manual\\f[R] in it. Auto enrollment is not supported on systemd " "versions older than v252. Defaults to \\f[CR]yes\\f[R].\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]SecureBootKey=\\f[R], \\f[CR]--secure-boot-key=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Path to the PEM file containing the secret key for signing the UEFI kernel " "image if \\f[CR]SecureBoot=\\f[R] is used and PCR signatures when " "\\f[CR]SignExpectedPcr=\\f[R] is also used. When " "\\f[CR]SecureBootKeySource=\\f[R] is specified, the input type depends on " "the source.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]SecureBootCertificate=\\f[R], \\f[CR]--secure-boot-certificate=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Path to the X.509 file containing the certificate for the signed UEFI kernel " "image, if \\f[CR]SecureBoot=\\f[R] is used.\\fR" msgstr "" #. type: TP #: archlinux #, no-wrap msgid "\\f[CR]SecureBootSignTool=\\f[R], \\f[CR]--secure-boot-sign-tool=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Tool to use to sign secure boot PE binaries. Takes one of \\f[CR]systemd-" "sbsign\\f[R], \\f[CR]sbsign\\f[R] or \\f[CR]auto\\f[R]. Defaults to " "\\f[CR]auto\\f[R]. If set to \\f[CR]auto\\f[R], either \\f[B]systemd-" "sbsign\\f[R] or \\f[B]sbsign\\f[R] are used if available, with \\f[B]systemd-" "sbsign\\f[R] being preferred.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]Verity=\\f[R], \\f[CR]--verity=\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "Whether to enforce or disable verity for extension images. Takes one of " "\\f[CR]signed\\f[R], \\f[CR]hash\\f[R], \\f[CR]defer\\f[R], " "\\f[CR]auto\\f[R] or a boolean value. If set to \\f[CR]signed\\f[R], a " "verity key and certificate must be present and the build will fail if we " "don\\[cq]t detect any verity partitions in the disk image produced by " "\\f[B]systemd-repart\\f[R]. If disabled, verity partitions will be excluded " "from the extension images produced by \\f[B]systemd-repart\\f[R]. If set to " "\\f[CR]hash\\f[R], \\f[B]mkosi\\f[R] configures \\f[B]systemd-repart\\f[R] " "to create a verity hash partition, but no signature partition. If set to " "\\f[CR]defer\\f[R], space for the verity sig partition will be allocated but " "it will not be populated yet. If set to \\f[CR]auto\\f[R] and a verity key " "and certificate are present, \\f[B]mkosi\\f[R] will pass them to " "\\f[B]systemd-repart\\f[R] and expects the generated disk image to contain " "verity partitions, but the build won\\[cq]t fail if no verity partitions are " "found in the disk image produced by \\f[B]systemd-repart\\f[R].\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "Note that explicitly disabling verity signature and/or hash is not yet " "implemented for the \\f[CR]disk\\f[R] output and only works for extension " "images at the moment.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]VerityKey=\\f[R], \\f[CR]--verity-key=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Path to the PEM file containing the secret key for signing the verity " "signature, if a verity signature partition is added with \\f[B]systemd-" "repart\\f[R]. When \\f[CR]VerityKeySource=\\f[R] is specified, the input " "type depends on the source.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]VerityCertificate=\\f[R], \\f[CR]--verity-certificate=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Path to the X.509 file containing the certificate for signing the verity " "signature, if a verity signature partition is added with \\f[B]systemd-" "repart\\f[R].\\fR" msgstr "" #. type: TP #: archlinux #, no-wrap msgid "\\f[CR]SignExpectedPcr=\\f[R], \\f[CR]--sign-expected-pcr=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Measure the components of the unified kernel image (UKI) using \\f[B]systemd-" "measure\\f[R] and embed the PCR signature into the unified kernel image. " "This option takes a boolean value or the special value \\f[CR]auto\\f[R], " "which is the default, which is equal to a true value if the \\f[B]systemd-" "measure\\f[R] binary is in \\f[CR]PATH\\f[R]. Depends on " "\\f[CR]SecureBoot=\\f[R] being enabled and key from " "\\f[CR]SecureBootKey=\\f[R].\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]SignExpectedPcrKey=\\f[R], \\f[CR]--sign-expected-pcr-key=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Path to the PEM file containing the secret key for signing the expected PCR " "signatures. When \\f[CR]SignExpectedPcrKeySource=\\f[R] is specified, the " "input type depends on the source.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]SignExpectedPcrCertificate=\\f[R], \\f[CR]--sign-expected-pcr-certificate=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Path to the X.509 file containing the certificate for signing the expected " "PCR signatures." msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]SecureBootKeySource=\\f[R], \\f[CR]--secure-boot-key-source=\\f[R], \\f[CR]VerityKeySource=\\f[R], \\f[CR]--verity-key-source=\\f[R], \\f[CR]SignExpectedPcrKeySource=\\f[R], \\f[CR]--sign-expected-key-source=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "The source of the corresponding private key, to support OpenSSL engines and " "providers, e.g.\\ \\f[CR]--secure-boot-key-source=engine:pkcs11\\f[R] or " "\\f[CR]--secure-boot-key-source=provider:pkcs11\\f[R].\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]SecureBootCertificateSource=\\f[R], \\f[CR]--secure-boot-certificate-source=\\f[R], \\f[CR]VerityCertificateSource=\\f[R], \\f[CR]--verity-certificate-source=\\f[R], \\f[CR]SignExpectedPcrCertificateSource=\\f[R], \\f[CR]--sign-expected-certificate-source=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "The source of the corresponding certificate, to support OpenSSL providers, " "e.g.\\ \\f[CR]--secure-boot-certificate-source=provider:pkcs11\\f[R]. Note " "that engines are not supported.\\fR" msgstr "" #. type: TP #: archlinux #, no-wrap msgid "\\f[CR]Passphrase=\\f[R], \\f[CR]--passphrase=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Specify the path to a file containing the passphrase to use for LUKS " "encryption. It should contain the passphrase literally, and not end in a " "newline character (i.e.\\ in the same format as \\f[B]cryptsetup\\f[R] and " "\\f[CR]/etc/crypttab\\f[R] expect the passphrase files). The file must have " "an access mode of 0600 or less.\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "Note that this setting on its own does not enable any encryption. You also " "have to add one or more partition definition files to \\f[CR]mkosi.repart/" "\\f[R] with \\f[CR]Encrypt=key-file\\f[R] to add encrypted partitions to the " "image.\\fR" msgstr "" #. type: TP #: archlinux #, no-wrap msgid "\\f[CR]Checksum=\\f[R], \\f[CR]--checksum=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Generate a \\f[CR]EoutputE.SHA256SUMS\\f[R] file of all generated " "artifacts after the build is complete.\\fR" msgstr "" #. type: TP #: archlinux #, no-wrap msgid "\\f[CR]Sign=\\f[R], \\f[CR]--sign=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Sign the generated \\f[CR]SHA256SUMS\\f[R] using \\f[B]gpg\\f[R] after " "completion.\\fR" msgstr "" #. type: TP #: archlinux #, no-wrap msgid "\\f[CR]OpenPGPTool=\\f[R], \\f[CR]--openpgp-tool=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "OpenPGP implementation to use for signing. \\f[CR]gpg\\f[R] is the " "default. Selecting a value different than the default will use the given " "Stateless OpenPGP (SOP) tool for signing the \\f[CR]SHA256SUMS\\f[R] file." "\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Exemplary choices are \\f[CR]sqop\\f[R] and \\f[CR]rsop\\f[R], but any " "implementation from https://www.openpgp.org/about/sop/ that can be installed " "locally will work.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]Key=\\f[R], \\f[CR]--key=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Select the \\f[B]gpg\\f[R] key to use for signing \\f[CR]SHA256SUMS\\f[R]. " "This key must be already present in the \\f[B]gpg\\f[R] keyring.\\fR" msgstr "" #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "[Build] Section" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]ToolsTree=\\f[R], \\f[CR]--tools-tree=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "If specified, programs executed by \\f[B]mkosi\\f[R] to build and boot an " "image are looked up inside the given tree instead of in the host system. " "Use this option to make image builds more reproducible by always using the " "same versions of programs to build the final image instead of whatever " "version is installed on the host system. If this option is not used, but " "the \\f[CR]mkosi.tools/\\f[R] directory is found in the local directory it " "is automatically used for this purpose with the root directory as target.\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "The tools tree directory is kept between repeated image builds unless " "cleaned by calling \\f[CR]mkosi clean -f\\f[R].\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Note that binaries found in any of the paths configured with " "\\f[CR]ExtraSearchPaths=\\f[R] will be executed with \\f[CR]/usr/\\f[R] from " "the tools tree instead of from the host. If the host distribution or " "release does not match the tools tree distribution or release respectively, " "this might result in failures when trying to execute binaries from any of " "the extra search paths.\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "If set to \\f[CR]yes\\f[R], \\f[B]mkosi\\f[R] will automatically add an " "extra tools tree image and use it as the tools tree. This image can be " "further configured using the settings below or with " "\\f[CR]mkosi.tools.conf\\f[R] which can either be a file or directory " "containing extra configuration for the default tools tree.\\fR" msgstr "" #. type: Plain text #: archlinux fedora-44 fedora-rawhide msgid "See the \\f[B]TOOLS TREE\\f[R] section for further details.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]ToolsTreeDistribution=\\f[R], \\f[CR]--tools-tree-distribution=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Set the distribution to use for the default tools tree. Defaults to the " "host distribution except for Ubuntu, which defaults to Debian, and RHEL, " "CentOS, Alma and Rocky, which default to Fedora, or \\f[CR]custom\\f[R] if " "the distribution of the host is not a supported distribution.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]ToolsTreeRelease=\\f[R], \\f[CR]--tools-tree-release=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Set the distribution release to use for the default tools tree. By default, " "the hardcoded default release in \\f[B]mkosi\\f[R] for the distribution is " "used.\\fR" msgstr "" #. type: TP #: archlinux #, no-wrap msgid "\\f[CR]ToolsTreeProfiles=\\f[R], \\f[CR]--tools-tree-profile=\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "Set the profiles to enable for the default tools tree. Takes a comma-" "delimited list consisting of \\f[CR]devel\\f[R], \\f[CR]misc\\f[R], " "\\f[CR]package-manager\\f[R] and \\f[CR]runtime\\f[R]. By default, all " "profiles except \\f[CR]devel\\f[R] are enabled.\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "The \\f[CR]devel\\f[R] profile contains tools required to build (C/C++) " "projects. The \\f[CR]misc\\f[R] profile contains various useful tools that " "are handy to have available in scripts. The package manager profile " "contains package managers and related tools other than those native to the " "tools tree distribution. The \\f[CR]runtime\\f[R] profile contains the " "tools required to boot images in a systemd-nspawn container or in a virtual " "machine.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]ToolsTreeMirror=\\f[R], \\f[CR]--tools-tree-mirror=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Set the mirror to use for the default tools tree. By default, the default " "mirror for the tools tree distribution is used." msgstr "" #. type: TP #: archlinux #, no-wrap msgid "\\f[CR]ToolsTreeRepositories=\\f[R], \\f[CR]--tools-tree-repository=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "Same as \\f[CR]Repositories=\\f[R] but for the default tools tree.\\fR" msgstr "" #. type: TP #: archlinux #, no-wrap msgid "\\f[CR]ToolsTreeSandboxTrees=\\f[R], \\f[CR]--tools-tree-sandbox-tree=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "Same as \\f[CR]SandboxTrees=\\f[R] but for the default tools tree.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]ToolsTreePackages=\\f[R], \\f[CR]--tools-tree-package=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Extra packages to install into the default tools tree. Takes a comma " "separated list of package specifications. This option may be used multiple " "times in which case the specified package lists are combined." msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]ToolsTreePackageDirectories=\\f[R], \\f[CR]--tools-tree-package-directory=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Same as \\f[CR]PackageDirectories=\\f[R], but for the default tools tree.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]ToolsTreeCertificates=\\f[R], \\f[CR]--tools-tree-certificates=\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "Specify whether to use certificates and keys from the tools tree. Enabled " "by default. If enabled, \\f[CR]/etc/pki/ca-trust\\f[R], \\f[CR]/etc/pki/" "tls\\f[R], \\f[CR]/etc/ssl\\f[R], \\f[CR]/etc/ca-certificates\\f[R], and " "\\f[CR]/var/lib/ca-certificates\\f[R] from the tools tree are used. " "Otherwise, these directories are picked up from the host.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]ExtraSearchPaths=\\f[R], \\f[CR]--extra-search-path=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "List of colon-separated paths to look for tools in, before using the regular " "\\f[CR]$PATH\\f[R] search path.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]Incremental=\\f[R], \\f[CR]--incremental=\\f[R], \\f[CR]-i\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Takes either \\f[CR]strict\\f[R] or a boolean value as its argument. " "Enables incremental build mode. In this mode, a copy of the OS image is " "created immediately after all OS packages are installed and the prepare " "scripts have executed but before the \\f[CR]mkosi.build\\f[R] scripts are " "invoked (or anything that happens after it). On subsequent invocations of " "\\f[B]mkosi\\f[R] with the \\f[CR]-i\\f[R] switch this cached image may be " "used to skip the OS package installation, thus drastically speeding up " "repetitive build times. Note that while there is some rudimentary cache " "invalidation, it is definitely not perfect. In order to force a rebuild of " "the cached image, combine \\f[CR]-i\\f[R] with \\f[CR]-ff\\f[R] to ensure " "the cached image is first removed and then re-created.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "If set to \\f[CR]strict\\f[R], the build fails if previously built cached " "image does not exist.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]CacheOnly=\\f[R], \\f[CR]--cache-only=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Takes one of \\f[CR]auto\\f[R], \\f[CR]metadata\\f[R], \\f[CR]always\\f[R] " "or \\f[CR]never\\f[R]. Defaults to \\f[CR]auto\\f[R]. If " "\\f[CR]always\\f[R], the package manager is instructed not to contact the " "network. This provides a minimal level of reproducibility, as long as the " "package cache is already fully populated. If set to \\f[CR]metadata\\f[R], " "the package manager can still download packages, but we won\\[cq]t sync the " "repository metadata. If set to \\f[CR]auto\\f[R], the repository metadata " "is synced unless we have a cached image (see \\f[CR]Incremental=\\f[R]) and " "packages can be downloaded during the build. If set to \\f[CR]never\\f[R], " "repository metadata is always synced and packages can be downloaded during " "the build.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]SandboxTrees=\\f[R], \\f[CR]--sandbox-tree=\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "Takes a comma-separated list of colon-separated path pairs. The first path " "of each pair refers to a directory to copy into the mkosi sandbox before " "executing a tool. The second path of each pair refers to the target " "directory inside the sandbox. If the second path is not provided, the " "directory is copied on top of the root directory of the sandbox. The second " "path is always interpreted as an absolute path. If the \\f[CR]mkosi.sandbox/" "\\f[R] directory is found in the local directory it is used for this purpose " "with the root directory as target (also see the \\f[B]FILES\\f[R] section " "below).\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "\\f[B]mkosi\\f[R] will look for the package manager configuration and " "related files in the configured sandbox trees. Unless specified otherwise, " "it will use the configuration files from their canonical locations in " "\\f[CR]/usr\\f[R] or \\f[CR]/etc\\f[R] in the sandbox trees. For example, " "it will look for \\f[CR]/etc/dnf/dnf.conf\\f[R] in the sandbox trees if " "\\f[B]dnf\\f[R] is used to install packages.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]WorkspaceDirectory=\\f[R], \\f[CR]--workspace-directory=\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "Path to a directory where to store data required temporarily while building " "the image. This directory should have enough space to store the full OS " "image, though in most modes the actually used disk space is smaller. If not " "specified, a subdirectory of \\f[CR]$XDG_CACHE_HOME\\f[R] (if set), \\f[CR]" "$CACHE_DIRECTORY\\f[R] (if set), \\f[CR]$HOME/.cache\\f[R] (if set) or " "\\f[CR]/var/tmp\\f[R] is used.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie fedora-44 fedora-rawhide opensuse-leap-16-1 msgid "" "The data in this directory is removed automatically after each build. It\\" "[cq]s safe to manually remove the contents of this directory should an " "\\f[B]mkosi\\f[R] invocation be aborted abnormally (for example, due to " "reboot/power failure).\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]CacheDirectory=\\f[R], \\f[CR]--cache-directory=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Takes a path to a directory to use as the incremental cache directory for " "the incremental images produced when the \\f[CR]Incremental=\\f[R] option is " "enabled. If this option is not used, but a \\f[CR]mkosi.cache/\\f[R] " "directory is found in the local directory it is automatically used for this " "purpose.\\fR" msgstr "" #. type: TP #: archlinux #, no-wrap msgid "\\f[CR]CacheKey=\\f[R], \\f[CR]--cache-key=\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "Specifies the subdirectory within the cache directory where to store the " "cached image. This may include both the regular specifiers (see " "\\f[B]Specifiers\\f[R]) and special delayed specifiers, that are expanded " "after config parsing has finished, instead of during config parsing, which " "are described below. The default format for this parameter is \\f[CR]&d\\" "[ti]&r\\[ti]&a\\[ti]&I\\f[R].\\fR" msgstr "" #. type: tbl table #: archlinux #, no-wrap msgid "\\f[CR]&d\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]Distribution=\\fR" msgstr "" #. type: tbl table #: archlinux #, no-wrap msgid "\\f[CR]&r\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]Release=\\fR" msgstr "" #. type: tbl table #: archlinux #, no-wrap msgid "\\f[CR]&a\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]Architecture=\\fR" msgstr "" #. type: tbl table #: archlinux #, no-wrap msgid "\\f[CR]&i\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]ImageId=\\fR" msgstr "" #. type: tbl table #: archlinux #, no-wrap msgid "\\f[CR]&v\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]ImageVersion=\\fR" msgstr "" #. type: tbl table #: archlinux #, no-wrap msgid "\\f[CR]&I\\fR" msgstr "" #. type: tbl table #: archlinux #, no-wrap msgid "\\f[R]Subimage name within mkosi.images/ or \\f[CR]main\\fR" msgstr "" #. type: Plain text #: archlinux fedora-44 fedora-rawhide msgid "Note that all images within a build must have a unique cache key." msgstr "" #. type: TP #: archlinux #, no-wrap msgid "\\f[CR]PackageCacheDirectory=\\f[R], \\f[CR]--package-cache-dir=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Takes a path to a directory to use as the package cache directory for the " "distribution package manager used. If unset, but a \\f[CR]mkosi.pkgcache/" "\\f[R] directory is found in the local directory it is automatically used " "for this purpose, otherwise a suitable directory in the user\\[cq]s home " "directory or system is used.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]BuildDirectory=\\f[R], \\f[CR]--build-directory=\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "Takes a path to a directory to use as the build directory for build systems " "that support out-of-tree builds (such as Meson). The directory used this " "way is shared between repeated builds, and allows the build system to reuse " "artifacts (such as object files, executable, \\&...) generated on previous " "invocations. The build scripts can find the path to this directory in the " "\\f[CR]$BUILDDIR\\f[R] environment variable. This directory is mounted into " "the image\\[cq]s root directory when \\f[B]mkosi-chroot\\f[R] is invoked " "during execution of the build scripts. If this option is not specified, but " "a directory \\f[CR]mkosi.builddir/\\f[R] exists in the local directory it is " "automatically used for this purpose (also see the \\f[B]FILES\\f[R] section " "below).\\fR" msgstr "" #. type: TP #: archlinux #, no-wrap msgid "\\f[CR]BuildKey=\\f[R], \\f[CR]--build-key=\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "Specifies the subdirectory within the build directory where to store " "incremental build artifacts. This may include both the regular specifiers " "(see \\f[B]Specifiers\\f[R]) and special delayed specifiers, that are " "expanded after config parsing has finished, instead of during config " "parsing, which are the same delayed specifiers that are supported by " "\\f[CR]CacheKey=\\f[R]. The default format for this parameter is \\f[CR]&d\\" "[ti]&r\\[ti]&a\\f[R].\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "To disable usage of a build subdirectory completely, assign a literal " "\\f[CR]-\\f[R] to this setting.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]UseSubvolumes=\\f[R], \\f[CR]--use-subvolumes=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Takes a boolean or \\f[CR]auto\\f[R]. Enables or disables use of btrfs " "subvolumes for directory tree outputs. If enabled, \\f[B]mkosi\\f[R] will " "create the root directory as a btrfs subvolume and use btrfs subvolume " "snapshots where possible to copy base or cached trees which is much faster " "than doing a recursive copy. If explicitly enabled and \\f[CR]btrfs\\f[R] " "is not installed or subvolumes cannot be created, an error is raised. If " "\\f[CR]auto\\f[R], missing \\f[B]btrfs\\f[R] or failures to create " "subvolumes are ignored.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]RepartOffline=\\f[R], \\f[CR]--repart-offline=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Specifies whether to build disk images using loopback devices. Enabled by " "default. When enabled, \\f[B]systemd-repart\\f[R] will not use loopback " "devices to build disk images. When disabled, \\f[B]systemd-repart\\f[R] " "will always use loopback devices to build disk images.\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "Note that when using \\f[CR]RepartOffline=no\\f[R], \\f[B]mkosi\\f[R] cannot " "run unprivileged and the image build has to be done as the root user outside " "of any containers and with loopback devices available on the host system.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "There are currently two known scenarios where \\f[CR]RepartOffline=no\\f[R] " "has to be used. The first is when using \\f[CR]Subvolumes=\\f[R] in a " "repart partition definition file, as subvolumes cannot be created without " "using loopback devices. The second is when creating a system with SELinux " "and an XFS root partition. Because \\f[B]mkfs.xfs\\f[R] does not support " "populating an XFS filesystem with extended attributes, loopback devices have " "to be used to ensure the SELinux extended attributes end up in the generated " "XFS filesystem.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]History=\\f[R], \\f[CR]--history=\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "Takes a boolean. If enabled, \\f[B]mkosi\\f[R] will write the configuration " "provided via the CLI for the latest build to the \\f[CR].mkosi-private\\f[R] " "subdirectory in the directory from which it was invoked. These arguments " "are then reused as long as the image is not rebuilt to avoid having to " "specify them over and over again.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "To give an example of why this is useful, if you run \\f[CR]mkosi -O my-" "custom-output-dir -f\\f[R] followed by \\f[CR]mkosi vm\\f[R], " "\\f[B]mkosi\\f[R] will fail saying the image hasn\\[cq]t been built yet. If " "you run \\f[CR]mkosi -O my-custom-output-dir --history=yes -f\\f[R] followed " "by \\f[CR]mkosi vm\\f[R], it will boot the image built in the previous step " "as expected.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]BuildSources=\\f[R], \\f[CR]--build-sources=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Takes a comma-separated list of colon-separated path pairs. The first path " "of each pair refers to a directory to mount from the host. The second path " "of each pair refers to the directory where the source directory should be " "mounted when running scripts. Every target path is prefixed with \\f[CR]/" "work/src\\f[R] and all build sources are sorted lexicographically by their " "target before mounting, so that top level paths are mounted first. If not " "configured explicitly, the current working directory is mounted to \\f[CR]/" "work/src\\f[R].\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]BuildSourcesEphemeral=\\f[R], \\f[CR]--build-sources-ephemeral=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Takes a boolean or the special value \\f[CR]buildcache\\f[R]. Disabled by " "default. Configures whether changes to source directories, the working " "directory and configured using \\f[CR]BuildSources=\\f[R], are persisted. " "If enabled, all source directories will be reset to their original state " "every time after running all scripts of a specific type (except sync " "scripts).\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "💥💣💥 If set to \\f[CR]buildcache\\f[R] the overlay is not discarded when " "running build scripts, but saved to the build directory, configured via " "\\f[CR]BuildDirectory=\\f[R], and will be reused on subsequent runs. The " "overlay is still discarded for all other scripts. This option can be used " "to implement more advanced caching of builds, but can lead to unexpected " "states of the source directory. When using this option, a build directory " "must be configured. 💥💣💥\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]Environment=\\f[R], \\f[CR]--environment=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Adds variables to the environment that package managers and the prepare/" "build/postinstall/finalize scripts are executed with. Takes a space-" "separated list of variable assignments or just variable names. In the " "latter case, the values of those variables will be passed through from the " "environment in which \\f[B]mkosi\\f[R] was invoked. This option may be " "specified more than once, in which case all listed variables will be set. " "If the same variable is set twice, the later setting overrides the earlier " "one.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]EnvironmentFiles=\\f[R], \\f[CR]--env-file=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Takes a comma-separated list of paths to files that contain environment " "variable definitions to be added to the scripting environment. Uses " "\\f[CR]mkosi.env\\f[R] if it is found in the local directory. The variables " "are first read from \\f[CR]mkosi.env\\f[R] if it exists, then from the given " "list of files and then from the \\f[CR]Environment=\\f[R] settings.\\fR" msgstr "" #. type: TP #: archlinux #, no-wrap msgid "\\f[CR]WithTests=\\f[R], \\f[CR]--with-tests=\\f[R], \\f[CR]-T\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "If set to false (or when the command-line option is used), the \\f[CR]" "$WITH_TESTS\\f[R] environment variable is set to \\f[CR]0\\f[R] when the " "\\f[CR]mkosi.build\\f[R] scripts are invoked. This is supposed to be used " "by the build scripts to bypass any unit or integration tests that are " "normally run during the source build process. Note that this option has no " "effect unless the \\f[CR]mkosi.build\\f[R] build scripts honor it.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]WithNetwork=\\f[R], \\f[CR]--with-network=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "When true, enables network connectivity while the build scripts " "\\f[CR]mkosi.build\\f[R] are invoked. By default, the build scripts run " "with networking turned off. The \\f[CR]$WITH_NETWORK\\f[R] environment " "variable is passed to the \\f[CR]mkosi.build\\f[R] build scripts indicating " "whether the build is done with or without network.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]ProxyUrl=\\f[R], \\f[CR]--proxy-url=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Configure a proxy to be used for all outgoing network connections. Various " "tools that \\f[B]mkosi\\f[R] invokes and for which the proxy can be " "configured are configured to use this proxy. \\f[B]mkosi\\f[R] also sets " "various well-known environment variables to specify the proxy to use for any " "programs it invokes that may need internet access.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]ProxyExclude=\\f[R], \\f[CR]--proxy-exclude=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Configure hostnames for which requests should not go through the proxy. " "Takes a comma-separated list of hostnames." msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]ProxyPeerCertificate=\\f[R], \\f[CR]--proxy-peer-certificate=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Configure a file containing certificates used to verify the proxy. Defaults " "to the system-wide certificate store." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Currently, setting a proxy peer certificate is only supported when " "\\f[B]dnf\\f[R] or \\f[B]dnf5\\f[R] is used to build the image.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]ProxyClientCertificate=\\f[R], \\f[CR]--proxy-client-certificate=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Configure a file containing the certificate used to authenticate the client " "with the proxy." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Currently, setting a proxy client certificate is only supported when " "\\f[B]dnf\\f[R] or \\f[B]dnf5\\f[R] is used to build the image.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]ProxyClientKey=\\f[R], \\f[CR]--proxy-client-key=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Configure a file containing the private key used to authenticate the client " "with the proxy. Defaults to the proxy client certificate if one is provided." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Currently, setting a proxy client key is only supported when \\f[B]dnf\\f[R] " "or \\f[B]dnf5\\f[R] is used to build the image.\\fR" msgstr "" #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "[Runtime] Section (previously known as the [Host] section)" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]NSpawnSettings=\\f[R], \\f[CR]--settings=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Specifies a \\f[CR].nspawn\\f[R] settings file for \\f[B]systemd-" "nspawn\\f[R] to use in the \\f[CR]boot\\f[R] and \\f[CR]shell\\f[R] verbs, " "and to place next to the generated image file. This is useful to configure " "the \\f[B]systemd-nspawn\\f[R] environment when the image is run. If this " "setting is not used but an \\f[CR]mkosi.nspawn\\f[R] file found in the local " "directory it is automatically used for this purpose.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]VirtualMachineMonitor=\\f[R], \\f[CR]--vmm=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Configures the virtual machine monitor to use. Takes one of " "\\f[CR]qemu\\f[R] or \\f[CR]vmspawn\\f[R]. Defaults to \\f[CR]qemu\\f[R]." "\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "When set to \\f[CR]qemu\\f[R], the image is booted with \\f[B]qemu\\f[R]. " "Most output formats can be booted in \\f[B]qemu\\f[R]. Any arguments " "specified after the verb are appended to the \\f[B]qemu\\f[R] invocation and " "are interpreted as extra \\f[B]qemu\\f[R] command line arguments.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "When set to \\f[CR]vmspawn\\f[R], \\f[B]systemd-vmspawn\\f[R] is used to " "boot up the image, \\f[CR]vmspawn\\f[R] only supports disk and directory " "type images. Any arguments specified after the verb are appended to the " "\\f[B]systemd-vmspawn\\f[R] invocation and are interpreted as extra vmspawn " "options and extra kernel command line arguments.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]Console=\\f[R], \\f[CR]--console=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Configures how to set up the console of the VM. Takes one of " "\\f[CR]interactive\\f[R], \\f[CR]read-only\\f[R], \\f[CR]native\\f[R], or " "\\f[CR]gui\\f[R]. Defaults to \\f[CR]interactive\\f[R]. " "\\f[CR]interactive\\f[R] provides an interactive terminal interface to the " "VM. \\f[CR]read-only\\f[R] is similar, but is strictly read-only, i.e.\\ " "does not accept any input from the user. \\f[CR]native\\f[R] also provides " "a TTY-based interface, but uses \\f[B]qemu\\f[R]\\[cq]s native " "implementation (which means the \\f[B]qemu\\f[R] monitor is available). " "\\f[CR]gui\\f[R] shows the \\f[B]qemu\\f[R] graphical UI.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]CPUs=\\f[R], \\f[CR]--cpus=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Configures the number of CPU cores to assign to the guest when booting a " "virtual machine. Defaults to \\f[CR]2\\f[R].\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "When set to \\f[CR]0\\f[R], the number of CPUs available to the " "\\f[B]mkosi\\f[R] process will be used.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]RAM=\\f[R], \\f[CR]--ram=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Configures the amount of RAM assigned to the guest when booting a virtual " "machine. Defaults to \\f[CR]2G\\f[R].\\fR" msgstr "" #. type: TP #: archlinux #, no-wrap msgid "\\f[CR]MaxMem=\\f[R], \\f[CR]--maxmem=\\fR" msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Configures the maximum amount of memory the guest may deploy in total (RAM + " "hotplug memory devices). Defaults to the amount of RAM configured." msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]KVM=\\f[R], \\f[CR]--kvm=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Configures whether KVM acceleration should be used when booting a virtual " "machine. Takes a boolean value or \\f[CR]auto\\f[R]. Defaults to " "\\f[CR]auto\\f[R].\\fR" msgstr "" #. type: TP #: archlinux #, no-wrap msgid "\\f[CR]CXL=\\f[R], \\f[CR]--cxl=\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "Configures whether CXL devices are enabled for a given machine. Only valid " "if the architecture supports cxl. Takes a boolean value. Defaults to " "\\f[CR]false\\f[R].\\fR" msgstr "" #. type: TP #: archlinux #, no-wrap msgid "\\f[CR]VSock=\\f[R], \\f[CR]--vsock=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Configures whether to provision a vsock when booting a virtual machine. " "Takes a boolean value or \\f[CR]auto\\f[R]. Defaults to \\f[CR]auto\\f[R]." "\\fR" msgstr "" #. type: TP #: archlinux #, no-wrap msgid "\\f[CR]VSockCID=\\f[R], \\f[CR]--vsock-cid=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Configures the vsock connection ID to use when booting a virtual machine. " "Takes a number in the interval \\f[CR][3, 0xFFFFFFFF)\\f[R] or " "\\f[CR]hash\\f[R] or \\f[CR]auto\\f[R]. Defaults to \\f[CR]auto\\f[R]. " "When set to \\f[CR]hash\\f[R], the connection ID will be derived from the " "full path to the image. When set to \\f[CR]auto\\f[R], \\f[B]mkosi\\f[R] " "will try to find a free connection ID automatically. Otherwise, the " "provided number will be used as is.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]TPM=\\f[R], \\f[CR]--tpm=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Configure whether to use a virtual TPM when booting a virtual machine. " "Takes a boolean value or \\f[CR]auto\\f[R]. Defaults to \\f[CR]auto\\f[R]." "\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]Removable=\\f[R], \\f[CR]--removable=\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "Configures whether to attach the image as a removable device when booting a " "virtual machine. Takes a boolean value. Defaults to \\f[CR]no\\f[R].\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]Firmware=\\f[R], \\f[CR]--firmware=\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "Configures the virtual machine firmware to use. Takes one of " "\\f[CR]uefi\\f[R], \\f[CR]uefi-secure-boot\\f[R], \\f[CR]bios\\f[R], " "\\f[CR]linux\\f[R], \\f[CR]linux-noinitrd\\f[R] or \\f[CR]auto\\f[R]. " "Defaults to \\f[CR]auto\\f[R]. When set to \\f[CR]uefi\\f[R], the OVMF " "firmware without secure boot support is used. When set to \\f[CR]uefi-" "secure-boot\\f[R], the OVMF firmware with secure boot support is used. When " "set to \\f[CR]bios\\f[R], the default SeaBIOS firmware is used. When set to " "\\f[CR]linux\\f[R], direct kernel boot is used. See the \\f[CR]Linux=\\f[R] " "option for more details on which kernel image is used with direct kernel " "boot. \\f[CR]linux-noinitrd\\f[R] is identical to \\f[CR]linux\\f[R] except " "that no initrd is used. When set to \\f[CR]auto\\f[R], \\f[CR]uefi-secure-" "boot\\f[R] is used if possible and \\f[CR]linux\\f[R] otherwise.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]FirmwareVariables=\\f[R], \\f[CR]--firmware-variables=\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "Configures the path to the virtual machine firmware variables file to use. " "Currently, this option is only taken into account when the \\f[CR]uefi\\f[R] " "or \\f[CR]uefi-secure-boot\\f[R] firmware is used. If not specified, " "\\f[B]mkosi\\f[R] will search for the default variables file and use that " "instead.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "When set to \\f[CR]microsoft\\f[R], a firmware variables file with the " "Microsoft secure boot certificates already enrolled will be used.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "When set to \\f[CR]microsoft-mok\\f[R], a firmware variables file with the " "Microsoft secure boot certificates already enrolled will be extended with a " "\\f[CR]MokList\\f[R] variable containing the secure boot certificate from " "\\f[CR]SecureBootCertificate=\\f[R]. This is intended to be used together " "with shim binaries signed by the distribution and locally signed EFI " "binaries.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "When set to \\f[CR]custom\\f[R], the secure boot certificate from " "\\f[CR]SecureBootCertificate=\\f[R] will be enrolled into the default " "firmware variables file.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "\\f[CR]virt-fw-vars\\f[R] from the E<.UR https://gitlab.com/kraxel/virt-" "firmware> virt-firmware E<.UE > \\ project can be used to customize OVMF " "variable files.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]Linux=\\f[R], \\f[CR]--linux=\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "Set the kernel image to use for \\f[B]qemu\\f[R] direct kernel boot. If not " "specified, \\f[B]mkosi\\f[R] will use the kernel provided via the command " "line (\\f[CR]-kernel\\f[R] option) or the latest kernel that was installed " "into the image (or fail if no kernel was installed into the image).\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Note that when the \\f[CR]cpio\\f[R] output format is used, direct kernel " "boot is used regardless of the configured firmware. Depending on the " "configured firmware, \\f[B]qemu\\f[R] might boot the kernel itself or using " "the configured firmware.\\fR" msgstr "" #. type: Plain text #: archlinux fedora-44 fedora-rawhide msgid "" "This setting may include both the regular specifiers (see " "\\f[B]Specifiers\\f[R]) and special delayed specifiers, that are expanded " "after config parsing has finished, instead of during config parsing, which " "are described below.\\fR" msgstr "" #. type: tbl table #: archlinux #, no-wrap msgid "\\f[CR]&b\\fR" msgstr "" #. type: tbl table #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[R]The final build directory (including subdirectory)\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]Drives=\\f[R], \\f[CR]--drive=\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "Add a drive. Takes a colon-delimited string of format " "\\f[CR]EidE:EsizeE[:EdirectoryE[:EoptionsE[:Efile-" "idE[:EflagsE]]]]\\f[R]. \\f[CR]id\\f[R] specifies the ID " "assigned to the drive. This can be used as the \\f[CR]drive=\\f[R] property " "in various \\f[B]qemu\\f[R] devices. \\f[CR]size\\f[R] specifies the size " "of the drive. This takes a size in bytes. Additionally, the suffixes " "\\f[CR]K\\f[R], \\f[CR]M\\f[R] and \\f[CR]G\\f[R] can be used to specify a " "size in kilobytes, megabytes and gigabytes respectively. " "\\f[CR]directory\\f[R] optionally specifies the directory in which to create " "the file backing the drive. If unset, the file will be created under " "\\f[CR]/var/tmp\\f[R]. \\f[CR]options\\f[R] optionally specifies extra " "comma-delimited properties which are passed verbatim to \\f[B]qemu\\f[R]\\" "[cq]s \\f[CR]-blockdev\\f[R] option. \\f[CR]file-id\\f[R] specifies the ID " "of the file backing the drive. If unset, this defaults to the drive ID. " "Drives with the same file ID will share the backing file. The directory and " "size of the file will be determined from the first drive with a given file " "ID. \\f[CR]flags\\f[R] takes a comma-separated list of drive flags which " "currently only supports \\f[CR]persist\\f[R]. \\f[CR]persist\\f[R] " "determines whether the drive will be persisted across \\f[B]qemu\\f[R] " "invocations. The files backing the drives will be created with the schema " "\\f[CR]/EdirectoryE/mkosi-drive-Emachine-or-image-nameE-" "Efile-idE\\f[R]. You can skip values by setting them to the empty " "string, specifying e.g.\\ \\f[CR]myfs:1G::::persist\\f[R] will create a " "persistent drive under \\f[CR]/var/tmp/mkosi-drive-main-myfs\\f[R].\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "\\f[B]Example usage:\\fR" msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "" "\\f[B][Runtime]\\f[R]\n" "Drives=btrfs:10G\n" " ext4:20G\n" "QemuArgs=-device nvme,serial=btrfs,drive=btrfs\n" " -device nvme,serial=ext4,drive=ext4\\fR\n" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]QemuArgs=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Space-delimited list of additional arguments to pass when invoking " "\\f[B]qemu\\f[R].\\fR" msgstr "" #. type: TP #: archlinux #, no-wrap msgid "\\f[CR]Ephemeral=\\f[R], \\f[CR]--ephemeral=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "When used with the \\f[CR]shell\\f[R], \\f[CR]boot\\f[R], or \\f[CR]vm\\f[R] " "verbs, this option runs the specified verb on a temporary snapshot of the " "output image that is removed immediately when the container terminates. " "Taking the temporary snapshot is more efficient on file systems that support " "reflinks natively (\\f[B]btrfs\\f[R] or \\f[B]xfs\\f[R]) than on more " "traditional file systems that do not (ext4).\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]Credentials=\\f[R], \\f[CR]--credential=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Set credentials to be passed to \\f[B]systemd-nspawn\\f[R] or the virtual " "machine respectively when \\f[CR]mkosi shell/boot\\f[R] or \\f[CR]mkosi " "vm\\f[R] are used. This option takes a space separated list of values which " "can be either key=value pairs or paths. If a path is provided, if it is a " "file, the credential name will be the name of the file. If the file is " "executable, the credential value will be the output of executing the file. " "Otherwise, the credential value will be the contents of the file. If the " "path is a directory, the same logic applies to each file in the directory." "\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Note that values will only be treated as paths if they do not contain the " "delimiter (\\f[CR]=\\f[R]).\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]KernelCommandLineExtra=\\f[R], \\f[CR]--kernel-command-line-extra=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Set extra kernel command line entries that are appended to the kernel " "command line at runtime when booting the image. When booting in a " "container, these are passed as extra arguments to systemd. When booting in " "a VM, these are appended to the kernel command line via the SMBIOS " "io.systemd.stub.kernel-cmdline-extra OEM string. This will only be picked " "up by \\f[B]systemd-boot\\f[R] and \\f[B]systemd-stub\\f[R] versions newer " "than or equal to v254.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]RuntimeTrees=\\f[R], \\f[CR]--runtime-tree=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Takes a colon-separated pair of paths. The first path refers to a directory " "to mount into any machine (container or VM) started by mkosi. The second " "path refers to the target directory inside the machine. If the second path " "is not provided, the directory is mounted at \\f[CR]/root/src\\f[R] in the " "machine. If the second path is relative, it is interpreted relative to " "\\f[CR]/root/src\\f[R] in the machine.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie fedora-44 fedora-rawhide opensuse-leap-16-1 msgid "" "For each mounted directory, the uid and gid of the user running mkosi are " "mapped to the root user in the machine. This means that all the files and " "directories will appear as if they\\[cq]re owned by root in the machine, and " "all new files and directories created by root in the machine in these " "directories will be owned by the user running mkosi on the host." msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Note that when using \\f[CR]mkosi vm\\f[R] with this feature systemd v254 or " "newer has to be installed in the image.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]RuntimeSize=\\f[R], \\f[CR]--runtime-size=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "If specified, disk images are grown to the specified size when they\\[cq]re " "booted with \\f[CR]mkosi boot\\f[R] or \\f[CR]mkosi vm\\f[R]. Takes a size " "in bytes. Additionally, the suffixes \\f[CR]K\\f[R], \\f[CR]M\\f[R] and " "\\f[CR]G\\f[R] can be used to specify a size in kilobytes, megabytes and " "gigabytes respectively.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]RuntimeNetwork=\\f[R], \\f[CR]--runtime-network=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Takes one of \\f[CR]user\\f[R], \\f[CR]interface\\f[R] or " "\\f[CR]none\\f[R]. Defaults to \\f[CR]user\\f[R]. Specifies the networking " "to set up when booting the image. \\f[CR]user\\f[R] sets up usermode " "networking. \\f[CR]interface\\f[R] sets up a virtual network connection " "between the host and the image. This translates to a veth interface for " "\\f[CR]mkosi shell\\f[R] and \\f[CR]mkosi boot\\f[R] and a tap interface for " "\\f[CR]mkosi vm\\f[R] and \\f[CR]mkosi vmspawn\\f[R].\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Note that when using \\f[CR]interface\\f[R], \\f[B]mkosi\\f[R] does not " "automatically configure the host interface. It is expected that a recent " "version of \\f[B]systemd-networkd\\f[R] is running on the host which will " "automatically configure the host interface of the link.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]RuntimeBuildSources=\\f[R], \\f[CR]--runtime-build-sources=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Mount the build sources configured with \\f[CR]BuildSources=\\f[R] and the " "build directory (if one is configured) to the same locations in \\f[CR]/" "work\\f[R] that they were mounted to when running the build script when " "using \\f[CR]mkosi boot\\f[R] or \\f[CR]mkosi vm\\f[R].\\fR" msgstr "" #. type: TP #: archlinux #, no-wrap msgid "\\f[CR]BindUser=\\f[R], \\f[CR]--bind-user=\\fR" msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Bind the home directory of the current user into the container/vm. Takes a " "boolean. Disabled by default." msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]UnitProperties=\\f[R], \\f[CR]--unit-property=\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "Configure systemd unit properties to add to the systemd scopes allocated " "when using \\f[CR]mkosi boot\\f[R] or \\f[CR]mkosi vm\\f[R]. These are " "passed directly to the \\f[CR]--property=\\f[R] options of \\f[B]systemd-" "nspawn\\f[R] and \\f[B]systemd-run\\f[R] respectively.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]SshKey=\\f[R], \\f[CR]--ssh-key=\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "Path to the X.509 private key in PEM format to use to connect to a virtual " "machine started with \\f[CR]mkosi vm\\f[R] and built with the " "\\f[CR]Ssh=\\f[R] option enabled (or with \\f[B]systemd-ssh-generator\\f[R] " "installed) via the \\f[CR]mkosi ssh\\f[R] command. If not configured and " "\\f[CR]mkosi.key\\f[R] exists in the working directory, it will " "automatically be used for this purpose. Run \\f[CR]mkosi genkey\\f[R] to " "automatically generate a key in \\f[CR]mkosi.key\\f[R].\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]SshCertificate=\\f[R], \\f[CR]--ssh-certificate=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Path to the X.509 certificate in PEM format to provision as the SSH public " "key in virtual machines started with \\f[CR]mkosi vm\\f[R]. If not " "configured and \\f[CR]mkosi.crt\\f[R] exists in the working directory, it " "will automatically be used for this purpose. Run \\f[CR]mkosi genkey\\f[R] " "to automatically generate a certificate in \\f[CR]mkosi.crt\\f[R].\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]Machine=\\f[R], \\f[CR]--machine=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Specify the machine name to use when booting the image. Can also be used to " "refer to a specific image when SSH-ing into an image (e.g. \\f[CR]mkosi --" "image=myimage ssh\\f[R]).\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Note that \\f[CR]Ephemeral=\\f[R] has to be enabled to start multiple " "instances of the same image.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]Register=\\f[R], \\f[CR]--register=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Takes a boolean value or \\f[CR]auto\\f[R]. Specifies whether to register " "the vm/container with systemd-machined. If enabled, mkosi will fail if it " "can\\[cq]t register the vm/container with systemd-machined. If disabled, " "mkosi will not register the vm/container with systemd-machined. If " "\\f[CR]auto\\f[R], mkosi will register the vm/container with systemd-" "machined if it is available. Defaults to \\f[CR]auto\\f[R].\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]ForwardJournal=\\f[R], \\f[CR]--forward-journal=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Specify the path to which journal logs from containers and virtual machines " "should be forwarded. If the path has the \\f[CR].journal\\f[R] extension, " "it is interpreted as a file to which the journal should be written. " "Otherwise, the path is interpreted as a directory to which the journal " "should be written.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie fedora-44 fedora-rawhide opensuse-leap-16-1 msgid "" "Note that systemd v256 or newer is required in the virtual machine for log " "forwarding to work." msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Note that if a path with the \\f[CR].journal\\f[R] extension is given, the " "journal size is limited to \\f[CR]4G\\f[R]. Configure an output directory " "instead of file if your workload produces more than \\f[CR]4G\\f[R] worth of " "journal data.\\fR" msgstr "" #. type: TP #: archlinux #, no-wrap msgid "\\f[CR]StorageTargetMode=\\f[R], \\f[CR]--storage-target-mode=\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "Specifies whether the \\f[CR]serve\\f[R] verb should start \\f[B]systemd-" "storagetm\\f[R] to serve disk images over NVME-TCP. Takes a boolean value " "or \\f[CR]auto\\f[R]. If enabled, systemd-storagetm is always started and " "mkosi will fail if it cannot start systemd-storagetm. If disabled, systemd-" "storagetm is never started. If \\f[CR]auto\\f[R], systemd-storagetm will be " "started if a disk image is being built, the systemd-storagetm binary is " "found and \\f[CR]mkosi serve\\f[R] is being invoked as the root user.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]SysupdateDirectory=\\f[R], \\f[CR]--sysupdate-directory=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Path to a directory containing systemd-sysupdate transfer definition files " "that are used by \\f[CR]mkosi sysupdate\\f[R]. If \\f[CR]mkosi.sysupdate/" "\\f[R] exists in the local directory, it will be used for this purpose as " "well.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Note that \\f[CR]mkosi sysupdate\\f[R] invokes \\f[CR]systemd-" "sysupdate\\f[R] with \\f[CR]--transfer-source=\\f[R] set to the " "\\f[B]mkosi\\f[R] output directory. To make use of this in a transfer " "definition file, set \\f[CR]PathRelativeTo=explicit\\f[R] to have the " "\\f[CR]Path=\\f[R] setting for the transfer source be interpreted relative " "to the \\f[B]mkosi\\f[R] output directory. Generally, configuring " "\\f[CR]PathRelativeTo=explicit\\f[R] and \\f[CR]Path=/\\f[R] for the " "transfer source is sufficient for the match pattern to be interpreted " "relative to the \\f[B]mkosi\\f[R] output directory.\\fR" msgstr "" #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "[Match] Section" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]Profiles=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Matches against the configured profiles." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Matches against the configured distribution." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Matches against the configured distribution release. If this condition is " "used and no distribution has been explicitly configured yet, the host " "distribution and release are used." msgstr "" #. type: Plain text #: archlinux msgid "" "Matches against the configured architecture. If this condition is used and " "no architecture has been explicitly configured yet, the host architecture is " "used. \\f[CR]Architecture=uefi\\f[R] can be used to match against any " "architecture that supports UEFI.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]Repositories=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Matches against repositories enabled with the \\f[CR]Repositories=\\f[R] " "setting. Takes a single repository name.\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]PathExists=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "This condition is satisfied if the given path exists. Relative paths are " "interpreted relative to the parent directory of the config file that the " "condition is read from." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Matches against the configured image ID, supporting globs. If this " "condition is used and no image ID has been explicitly configured yet, this " "condition fails." msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Matches against the configured image version. Image versions can be " "prepended by the operators \\f[CR]==\\f[R], \\f[CR]!=\\f[R], " "\\f[CR]E=\\f[R], \\f[CR]E=\\f[R], \\f[CR]E\\f[R], " "\\f[CR]E\\f[R] for rich version comparisons according to the UAPI group " "version format specification. If no operator is prepended, the equality " "operator is assumed by default. If this condition is used and no image " "version has been explicitly configured yet, this condition fails.\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]Bootable=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Matches against the configured value for the \\f[CR]Bootable=\\f[R] " "feature. Takes a boolean value or \\f[CR]auto\\f[R].\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]Format=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Matches against the configured value for the \\f[CR]Format=\\f[R] option. " "Takes an output format (see the \\f[CR]Format=\\f[R] option).\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]SystemdVersion=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Matches against the systemd version on the host (as reported by " "\\f[CR]systemctl --version\\f[R]). Values can be prepended by the operators " "\\f[CR]==\\f[R], \\f[CR]!=\\f[R], \\f[CR]E=\\f[R], \\f[CR]E=\\f[R], " "\\f[CR]E\\f[R], \\f[CR]E\\f[R] for rich version comparisons " "according to the UAPI group version format specification. If no operator is " "prepended, the equality operator is assumed by default.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]BuildSources=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Takes a build source target path (see \\f[CR]BuildSources=\\f[R]). This " "match is satisfied if any of the configured build sources uses this target " "path. For example, if we have a \\f[CR]mkosi.conf\\f[R] file containing:\\fR" msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "" "\\f[B][Build]\\f[R]\n" "BuildSources=../abc/qed:kernel\\fR\n" msgstr "" #. type: Plain text #: archlinux debian-trixie fedora-44 fedora-rawhide opensuse-leap-16-1 msgid "and a drop-in containing:" msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "" "\\f[B][Match]\\f[R]\n" "BuildSources=kernel\\fR\n" msgstr "" #. type: Plain text #: archlinux debian-trixie fedora-44 fedora-rawhide opensuse-leap-16-1 msgid "The drop-in will be included." msgstr "" #. type: Plain text #: archlinux debian-trixie fedora-44 fedora-rawhide opensuse-leap-16-1 msgid "" "Any absolute paths passed to this setting are interpreted relative to the " "current working directory." msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]HostArchitecture=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Matches against the host\\[cq]s native architecture. See the " "\\f[CR]Architecture=\\f[R] setting for a list of possible values.\\fR" msgstr "" #. #-#-#-#-# archlinux: mkosi.1.pot (PACKAGE VERSION) #-#-#-#-# #. type: Plain text #. #-#-#-#-# debian-trixie: mkosi.1.pot (PACKAGE VERSION) #-#-#-#-# #. type: tbl table #. #-#-#-#-# opensuse-leap-16-1: mkosi.1.pot (PACKAGE VERSION) #-#-#-#-# #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]ToolsTreeDistribution=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Matches against the configured tools tree distribution." msgstr "" #. #-#-#-#-# archlinux: mkosi.1.pot (PACKAGE VERSION) #-#-#-#-# #. type: Plain text #. #-#-#-#-# debian-trixie: mkosi.1.pot (PACKAGE VERSION) #-#-#-#-# #. type: tbl table #. #-#-#-#-# opensuse-leap-16-1: mkosi.1.pot (PACKAGE VERSION) #-#-#-#-# #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]ToolsTreeRelease=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Matches against the configured tools tree release." msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]Environment=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Matches against a specific key/value pair configured with " "\\f[CR]Environment=\\f[R]. If no value is provided, check if the given key " "is in the environment regardless of which value it has.\\fR" msgstr "" #. type: tbl table #: archlinux #, no-wrap msgid "\\f[CR]Image=\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "Match against the current (sub)image name. The name of a subimage is its " "name in \\f[CR]mkosi.images/\\f[R] (without any \\f[CR].conf\\f[R] suffix). " "The name of the top level image is \\f[CR]main\\f[R]. The main use case is " "to allow having a shared config that can be included by both the top level " "image and subimages by gating the universal settings behind a " "\\f[CR]Image=main\\f[R] match.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "This table shows which matchers support globs, rich comparisons and the " "default value that is matched against if no value has been configured at the " "time the config file is read:" msgstr "" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Matcher" msgstr "" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Globs" msgstr "" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Rich Comparisons" msgstr "" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Default" msgstr "" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\f[R]no\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\f[R]match fails\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\f[R]match host distribution\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\f[R]match host release\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\f[R]match host architecture\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\f[R]n/a\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\f[R]yes\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\f[R]match auto feature\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\f[R]match default format\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "" "\\f[R]match the fallback tools tree distribution (see\n" "\\f[CR]ToolsTreeDistribution=\\f[R] in \\f[CR][Build]\\f[R])\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\f[R]match default tools tree release\\fR" msgstr "" #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "[Include]" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]Include=\\f[R], \\f[CR]--include=\\f[R], \\f[CR]-I\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Include extra configuration from the given file or directory. The extra " "configuration is included immediately after parsing the setting, except when " "used on the command line, in which case the extra configuration is included " "after parsing all command line arguments." msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Note that each path containing extra configuration is only parsed once, even " "if included more than once with \\f[CR]Include=\\f[R].\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "The builtin configs for the \\f[B]mkosi\\f[R] default initrd, default tools " "tree, default virtual machine image and default UKI addon can be included by " "including the literal value \\f[CR]mkosi-initrd\\f[R], \\f[CR]mkosi-" "tools\\f[R], \\f[CR]mkosi-vm\\f[R] or \\f[CR]mkosi-addon\\f[R] respectively." "\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Note: Include names starting with either of the literals \\f[CR]mkosi-\\f[R] " "or \\f[CR]contrib-\\f[R] are reserved for use by \\f[B]mkosi\\f[R] itself." "\\fR" msgstr "" #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "[Config] Section" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]Profiles=\\f[R], \\f[CR]--profile=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Select the given profiles. A profile is a configuration file or directory " "in the \\f[CR]mkosi.profiles/\\f[R] directory. The configuration files and " "directories of each profile are included after parsing the " "\\f[CR]mkosi.conf.d/*.conf\\f[R] drop in configuration.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]Dependencies=\\f[R], \\f[CR]--dependency=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The images that this image depends on specified as a comma-separated list. " "All images configured in this option will be built before this image." msgstr "" #. type: Plain text #: archlinux fedora-44 fedora-rawhide msgid "" "When this setting is specified for the \\[lq]main\\[rq] image, it specifies " "which subimages should be built. See the \\f[B]BUILDING MULTIPLE " "IMAGES\\f[R] section for more information.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]MinimumVersion=\\f[R], \\f[CR]--minimum-version=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The minimum \\f[B]mkosi\\f[R] version required to build this configuration. " "If specified multiple times, the highest specified version is used.\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "The minimum version can also be specified as a git commit hash when prefixed " "with \\f[CR]commit:\\f[R], in which case mkosi must be executed from a git " "checkout and the specified git commit hash must be an ancestor of the " "currently checked out git commit in the repository that mkosi is being " "executed from.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]ConfigureScripts=\\f[R], \\f[CR]--configure-script=\\fR" msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Takes a comma-separated list of paths to executables that are used as the " "configure scripts for this image. See the \\f[B]SCRIPTS\\f[R] section for " "more information.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]PassEnvironment=\\f[R], \\f[CR]--pass-environment=\\fR" msgstr "" #. type: Plain text #: archlinux fedora-44 fedora-rawhide msgid "" "Takes a list of environment variable names separated by spaces. When " "building multiple images, pass the listed environment variables to each " "individual subimage as if they were \\[lq]universal\\[rq] settings. See the " "\\f[B]BUILDING MULTIPLE IMAGES\\f[R] section for more information.\\fR" msgstr "" #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "[UKIProfile] Section" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "The \\f[CR]UKIProfile\\f[R] section can be used in UKI profile config files " "which are passed to the \\f[CR]UnifiedKernelImageProfiles=\\f[R] setting. " "The following settings can be specified in the \\f[CR]UKIProfile\\f[R] " "section:\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]Profile=\\fR" msgstr "" #. type: Plain text #: archlinux opensuse-leap-16-1 msgid "" "The contents of the \\f[CR].profile\\f[R] section of the UKI profile. Takes " "a list of key/value pairs separated by \\f[CR]=\\f[R]. The \\f[CR]ID=\\f[R] " "key must be specified. See the UKI E<.UR https://uapi-group.org/" "specifications/specs/unified_kernel_image/#multi-profile-ukis> specification " "E<.UE > \\ for a full list of possible keys.\\fR" msgstr "" #. type: TP #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]Cmdline=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Extra kernel command line options for the UKI profile. Takes a space " "delimited list of extra kernel command line arguments. Note that the final " "\\f[CR].cmdline\\f[R] section will the combination of the base " "\\f[CR].cmdline\\f[R] section and the extra kernel command line arguments " "specified with this setting.\\fR" msgstr "" #. type: TP #: archlinux #, no-wrap msgid "\\f[CR]SignExpectedPcr=\\fR" msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Sign expected PCR measurements for this UKI profile. Takes a boolean. " "Enabled by default." msgstr "" #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Specifiers" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "The current value of various settings can be accessed when parsing " "configuration files by using specifiers. To write a literal \\f[CR]%\\f[R] " "character in a configuration file without treating it as a specifier, use " "\\f[CR]%%\\f[R]. The following specifiers are understood:\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Setting" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]%d\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]%r\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]%a\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]%t\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]Output=\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]%o\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]OutputDirectory=\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]%O\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]%i\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]%v\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "There are also specifiers that are independent of settings:" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]%C\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\f[R]Parent directory of current config file\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]%P\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\f[R]Current working directory\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]%D\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\f[R]Directory that \\f[B]mkosi\\f[R] was invoked in\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]%I\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[R]Name of the current subimage in \\f[CR]mkosi.images\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Finally, there are specifiers that are derived from a setting:" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]%F\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\f[R]The default filesystem of the configured distribution\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Note that the current working directory changes as \\f[B]mkosi\\f[R] parses " "its configuration. Specifically, each time \\f[B]mkosi\\f[R] parses a " "directory containing a \\f[CR]mkosi.conf\\f[R] file, \\f[B]mkosi\\f[R] " "changes its working directory to that directory.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Note that the directory that \\f[B]mkosi\\f[R] was invoked in is influenced " "by the \\f[CR]--directory=\\f[R] command line argument.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The following table shows example values for the directory specifiers listed " "above:" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]$D/mkosi.conf\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]$D/mkosi.conf.d/abc/abc.conf\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]$D/mkosi.conf.d/abc/mkosi.conf\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\f[R]_\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]$D\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]$D/mkosi.conf.d\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]$D/mkosi.conf.d/abc\\fR" msgstr "" #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Supported distributions" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Images may be created containing installations of the following " "distributions:" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "\\f[I]Fedora Linux\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "\\f[I]Debian\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "\\f[I]Kali Linux\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "\\f[I]Ubuntu\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "\\f[I]Arch Linux\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "\\f[I]openSUSE\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "\\f[I]Mageia\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "\\f[I]CentOS\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "\\f[I]RHEL\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "\\f[I]RHEL UBI\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "\\f[I]OpenMandriva\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "\\f[I]Rocky Linux\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "\\f[I]Alma Linux\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "\\f[I]Azure Linux\\fR" msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[I]postmarketOS\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "\\f[I]None\\f[R] (\\f[B]Requires the user to provide a pre-built " "rootfs\\f[R])\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "In theory, any distribution may be used on the host for building images " "containing any other distribution, as long as the necessary tools are " "available. Specifically, any distribution that packages \\f[B]apt\\f[R] may " "be used to build \\f[I]Debian\\f[R], \\f[I]Kali\\f[R] or \\f[I]Ubuntu\\f[R] " "images. Any distribution that packages \\f[B]dnf\\f[R] may be used to build " "images for any of the RPM-based distributions. Any distro that packages " "\\f[B]pacman\\f[R] may be used to build \\f[I]Arch Linux\\f[R] images. Any " "distribution that packages \\f[B]zypper\\f[R] may be used to build " "\\f[I]openSUSE\\f[R] images. Other distributions and build automation tools " "for embedded Linux systems such as Buildroot, OpenEmbedded and Yocto Project " "may be used by selecting the \\f[CR]custom\\f[R] distribution, and " "populating the rootfs via a combination of base trees, skeleton trees, and " "prepare scripts.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Currently, \\f[I]Fedora Linux\\f[R] packages all relevant tools as of Fedora " "28.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Note that when not using a custom mirror, \\f[CR]RHEL\\f[R] images can only " "be built from a host system with a \\f[CR]RHEL\\f[R] subscription " "(established using e.g.\\ \\f[CR]subscription-manager\\f[R]).\\fR" msgstr "" #. type: SH #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "EXECUTION FLOW" msgstr "" #. type: Plain text #: archlinux msgid "" "Execution flow for \\f[CR]mkosi build\\f[R]. Default values/calls are shown " "in parentheses. When building with \\f[CR]--incremental=yes\\f[R] " "\\f[B]mkosi\\f[R] creates a cache of the distribution installation if not " "already existing and replaces the distribution installation in consecutive " "runs with data from the cached one.\\fR" msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\f[R]1.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Parse CLI options" msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "2." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Parse configuration files" msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "3." msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "Run configure scripts (\\f[CR]mkosi.configure\\f[R])\\fR" msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\f[R]4.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "If we\\[cq]re not running as root, unshare the user namespace and map the " "subuid range configured in \\f[CR]/etc/subuid\\f[R] and \\f[CR]/etc/" "subgid\\f[R] into it.\\fR" msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\f[R]5.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Unshare the mount namespace" msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "6." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Remount the following directories read-only if they exist:" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "\\f[CR]/usr\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "\\f[CR]/etc\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "\\f[CR]/opt\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "\\f[CR]/srv\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "\\f[CR]/boot\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "\\f[CR]/efi\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "\\f[CR]/media\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "\\f[CR]/mnt\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Then, for each image, we execute the following steps:" msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid " 1." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Copy sandbox trees into the workspace" msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid " 2." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Sync the package manager repository metadata" msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid " 3." msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "Run sync scripts (\\f[CR]mkosi.sync\\f[R])\\fR" msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\f[R] 4.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "Copy base trees (\\f[CR]--base-tree=\\f[R]) into the image\\fR" msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\f[R] 5.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Reuse a cached image if one is available" msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid " 6." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Copy a snapshot of the package manager repository metadata into the image" msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid " 7." msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "Copy skeleton trees (\\f[CR]mkosi.skeleton\\f[R]) into image\\fR" msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\f[R] 8.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Install distribution and packages into image" msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid " 9." msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Run prepare scripts on image with the \\f[CR]final\\f[R] argument " "(\\f[CR]mkosi.prepare\\f[R])\\fR" msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\f[R]10.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Install build packages in overlay if any build scripts are configured" msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "11." msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Run prepare scripts on overlay with the \\f[CR]build\\f[R] argument if any " "build scripts are configured (\\f[CR]mkosi.prepare\\f[R])\\fR" msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\f[R]12.\\fR" msgstr "" #. type: Plain text #: archlinux msgid "Cache the image if configured (\\f[CR]--incremental=yes\\f[R])\\fR" msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\f[R]13.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Run build scripts on image + overlay if any build scripts are configured " "(\\f[CR]mkosi.build\\f[R])\\fR" msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\f[R]14.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Finalize the build if the output format \\f[CR]none\\f[R] is configured\\fR" msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\f[R]15.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Copy the build scripts outputs into the image" msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "16." msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "Copy the extra trees into the image (\\f[CR]mkosi.extra\\f[R])\\fR" msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\f[R]17.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "Run post-install scripts (\\f[CR]mkosi.postinst\\f[R])\\fR" msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\f[R]18.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Write config files required for \\f[CR]Ssh=\\f[R], \\f[CR]Autologin=\\f[R] " "and \\f[CR]MakeInitrd=\\fR" msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\f[R]19.\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "Install systemd-boot and configure secure boot if configured (\\f[CR]--" "secure-boot=yes\\f[R])\\fR" msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\f[R]20.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Run \\f[B]systemd-sysusers\\fR" msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\f[R]21.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Run \\f[B]systemd-tmpfiles\\fR" msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\f[R]22.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "Run \\f[CR]systemctl preset-all\\fR" msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\f[R]23.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Run \\f[B]depmod\\fR" msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\f[R]24.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Run \\f[B]systemd-firstboot\\fR" msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\f[R]25.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Run \\f[B]systemd-hwdb\\fR" msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\f[R]26.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Remove packages and files (\\f[CR]RemovePackages=\\f[R], " "\\f[CR]RemoveFiles=\\f[R])\\fR" msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\f[R]27.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Run SELinux relabel is a SELinux policy is installed" msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "28." msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "Run finalize scripts (\\f[CR]mkosi.finalize\\f[R])\\fR" msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\f[R]29.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Generate unified kernel image if configured to do so" msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "30." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Generate final output format" msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "31." msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "Run post-output scripts (\\f[CR]mkosi.postoutput\\f[R])\\fR" msgstr "" #. type: SH #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "SCRIPTS" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "To allow for image customization that cannot be implemented using " "\\f[B]mkosi\\f[R]\\[cq]s builtin features, \\f[B]mkosi\\f[R] supports " "running scripts at various points during the image build process that can " "customize the image as needed. Scripts are executed on the host system as " "root (either real root or root within the user namespace that " "\\f[B]mkosi\\f[R] created when running unprivileged) with a customized " "environment to simplify modifying the image. For each script, the " "configured build sources (\\f[CR]BuildSources=\\f[R]) are mounted into the " "current working directory before running the script in the current working " "directory. \\f[CR]$SRCDIR\\f[R] is set to point to the current working " "directory. The following scripts are supported:\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "If \\f[CB]mkosi.configure\\f[R] (\\f[CR]ConfigureScripts=\\f[R]) exists, it " "is executed before building the image. This script may be used to " "dynamically modify the configuration. It receives the configuration " "serialized as JSON on stdin and should output the modified configuration " "serialized as JSON on stdout. Note that this script only runs when building " "or booting the image (\\f[CR]build\\f[R], \\f[CR]vm\\f[R], \\f[CR]boot\\f[R] " "and \\f[CR]shell\\f[R] verbs). If a default tools tree is configured, it " "will be built before running the configure scripts and the configure scripts " "will run with the tools tree available. This also means that the " "modifications made by configure scripts will not be visible in the " "\\f[CR]summary\\f[R] output.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "If \\f[CB]mkosi.sync\\f[R] (\\f[CR]SyncScripts=\\f[R]) exists, it is " "executed before the image is built. This script may be used to update " "various sources that are used to build the image. One use case is to run " "\\f[CR]git pull\\f[R] on various source repositories before building the " "image. Specifically, the \\f[CR]BuildSourcesEphemeral=\\f[R] setting does " "not apply to sync scripts, which means sync scripts can be used to update " "build sources even if \\f[CR]BuildSourcesEphemeral=\\f[R] is enabled.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "If \\f[CB]mkosi.prepare\\f[R] (\\f[CR]PrepareScripts=\\f[R]) exists, it is " "first called with the \\f[CR]final\\f[R] argument, right after the software " "packages are installed. It is called a second time with the " "\\f[CR]build\\f[R] command line parameter, right after the build packages " "are installed and the build overlay mounted on top of the image\\[cq]s root " "directory . This script has network access and may be used to install " "packages from other sources than the distro\\[cq]s package manager (e.g.\\ " "\\f[B]pip\\f[R], \\f[B]npm\\f[R], \\&...), after all software packages are " "installed but before the image is cached (if incremental mode is enabled). " "In contrast to a general purpose installation, it is safe to install " "packages to the system (\\f[CR]pip install\\f[R], \\f[CR]npm install " "-g\\f[R]) instead of in \\f[CR]$SRCDIR\\f[R] itself because the build image " "is only used for a single project and can easily be thrown away and rebuilt " "so there\\[cq]s no risk of conflicting dependencies and no risk of polluting " "the host system.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "If \\f[CB]mkosi.build\\f[R] (\\f[CR]BuildScripts=\\f[R]) exists, it is " "executed with the build overlay mounted on top of the image\\[cq]s root " "directory. When running the build script, \\f[CR]$DESTDIR\\f[R] points to a " "directory where the script should place any files generated it would like to " "end up in the image. Note that \\f[B]make\\f[R]-, \\f[B]automake\\f[R]-, " "and \\f[B]meson\\f[R]-based build systems generally honor \\f[CR]" "$DESTDIR\\f[R], thus making it very natural to build \\f[I]source\\f[R] " "trees from the build script. After running the build script, the contents " "of \\f[CR]$DESTDIR\\f[R] are copied into the image.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "If \\f[CB]mkosi.postinst\\f[R] (\\f[CR]PostInstallationScripts=\\f[R]) " "exists, it is executed after the (optional) build tree and extra trees have " "been installed. This script may be used to alter the images without any " "restrictions, after all software packages and built sources have been " "installed.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "If \\f[CB]mkosi.finalize\\f[R] (\\f[CR]FinalizeScripts=\\f[R]) exists, it " "is executed as the last step of preparing an image.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "If \\f[CB]mkosi.postoutput\\f[R] (\\f[CR]PostOutputScripts=\\f[R]) exists, " "it is executed right after all the output files have been generated, before " "they are finally moved into the output directory. This can be used to " "generate additional or alternative outputs, e.g.\\ \\f[CR]SHA256FILES\\f[R] " "or SBOM manifests.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "If \\f[CB]mkosi.clean\\f[R] (\\f[CR]CleanScripts=\\f[R]) exists, it is " "executed right after the outputs of a previous build have been cleaned up. " "A clean script can clean up any outputs that \\f[B]mkosi\\f[R] does not know " "about (e.g. artifacts from \\f[CR]SplitArtifacts=partitions\\f[R] or RPMs " "built in a build script). Note that this script does not use the tools tree " "even if one is configured.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "If \\f[CB]mkosi.version\\f[R] exists and is executable, it is run during " "configuration parsing and populates \\f[CR]ImageVersion=\\f[R] with the " "output on stdout. This can be used for external version tracking, e.g.\\ " "with \\f[CR]git describe\\f[R] or \\f[CR]date \\[aq]+%Y-%m-%d\\[aq]\\f[R]. " "Note that this script is executed on the host system without any sandboxing." "\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "If \\f[CB]mkosi.rootpw\\f[R] exists and is executable, it is run during " "configuration parsing and populates \\f[CR]RootPassword=\\f[R] with the " "output on stdout. This can be used to randomly generate a password and can " "be remembered by outputting it to stderr or by reading \\f[CR]" "$MKOSI_CONFIG\\f[R] in another script (e.g.\\ " "\\f[CR]mkosi.postoutput\\f[R]). Note that this script is executed on the " "host system without any sandboxing.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "If a script uses the \\f[CR].chroot\\f[R] extension, \\f[B]mkosi\\f[R] will " "chroot into the image using \\f[B]mkosi-chroot\\f[R] (see below) before " "executing the script. For example, if \\f[CR]mkosi.postinst.chroot\\f[R] " "exists, \\f[B]mkosi\\f[R] will chroot into the image and execute it as the " "post-installation script.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Instead of a single file script, \\f[B]mkosi\\f[R] will also read all files " "in lexicographical order from appropriately named \\f[CR].d\\f[R] " "directories, e.g.\\ all files in a \\f[CR]mkosi.build.d\\f[R] would be used " "as build scripts. This is supported by\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "\\f[CR]mkosi.sync.d\\f[R],\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "\\f[CR]mkosi.prepare.d\\f[R],\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "\\f[CR]mkosi.build.d\\f[R],\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "\\f[CR]mkosi.postinst.d\\f[R],\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "\\f[CR]mkosi.finalize.d\\f[R],\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "\\f[CR]mkosi.postoutput.d\\f[R], and\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "\\f[CR]mkosi.clean.d\\f[R].\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "This can be combined with the \\f[CR].chroot\\f[R] extension, e.g.\\ " "\\f[CR]mkosi.build.d/01-foo.sh\\f[R] would be run without chrooting into the " "image and \\f[CR]mkosi.build.d/02-bar.sh.chroot\\f[R] would be run after " "chrooting into the image first.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Scripts executed by \\f[B]mkosi\\f[R] receive the following environment " "variables:\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "\\f[CR]$ARCHITECTURE\\f[R] contains the architecture from the " "\\f[CR]Architecture=\\f[R] setting. If \\f[CR]Architecture=\\f[R] is not " "set, it will contain the native architecture of the host machine. See the " "documentation of \\f[CR]Architecture=\\f[R] for possible values for this " "variable.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "\\f[CR]$QEMU_ARCHITECTURE\\f[R] contains the architecture from \\f[CR]" "$ARCHITECTURE\\f[R] in the format used by \\f[B]qemu\\f[R]. Useful for " "finding the qemu binary ( \\f[CR]qemu-system-$QEMU_ARCHITECTURE\\f[R]).\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "\\f[CR]$EFI_ARCHITECTURE\\f[R] contains the architecture from \\f[CR]" "$ARCHITECTURE\\f[R] in the format used by \\f[B]UEFI\\f[R]. It is unset on " "architectures that do not support \\f[B]UEFI\\f[R].\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "\\f[CR]$DISTRIBUTION\\f[R] contains the distribution from the " "\\f[CR]Distribution=\\f[R] setting.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "\\f[CR]$RELEASE\\f[R] contains the release from the \\f[CR]Release=\\f[R] " "setting.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "\\f[CR]$DISTRIBUTION_ARCHITECTURE\\f[R] contains the architecture from " "\\f[CR]$ARCHITECTURE\\f[R] in the format used by the configured distribution." "\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "\\f[CR]$PROFILES\\f[R] contains the profiles from the \\f[CR]Profiles=\\f[R] " "setting as a comma-delimited string.\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "\\f[CR]$CACHED\\f[R] is set to \\f[CR]1\\f[R] if a cached image is " "available, \\f[CR]0\\f[R] otherwise.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "\\f[CR]$CHROOT_SCRIPT\\f[R] contains the path to the running script relative " "to the image root directory. The primary usecase for this variable is in " "combination with the \\f[B]mkosi-chroot\\f[R] script. See the description " "of \\f[B]mkosi-chroot\\f[R] below for more information.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "\\f[CR]$SRCDIR\\f[R] contains the path to the directory \\f[B]mkosi\\f[R] " "was invoked from, with any configured build sources mounted on top. \\f[CR]" "$CHROOT_SRCDIR\\f[R] contains the value that \\f[CR]$SRCDIR\\f[R] will have " "after invoking \\f[B]mkosi-chroot\\f[R].\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "\\f[CR]$BUILDDIR\\f[R] is only defined if \\f[CR]mkosi.builddir\\f[R] exists " "and points to the build directory to use. This is useful for all build " "systems that support out-of-tree builds to reuse already built artifacts " "from previous runs. \\f[CR]$CHROOT_BUILDDIR\\f[R] contains the value that " "\\f[CR]$BUILDDIR\\f[R] will have after invoking \\f[B]mkosi-chroot\\f[R].\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "\\f[CR]$DESTDIR\\f[R] is a directory into which any installed software " "generated by a build script may be placed. This variable is only set when " "executing a build script. \\f[CR]$CHROOT_DESTDIR\\f[R] contains the value " "that \\f[CR]$DESTDIR\\f[R] will have after invoking \\f[B]mkosi-chroot\\f[R]." "\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "\\f[CR]$OUTPUTDIR\\f[R] points to the staging directory used to store build " "artifacts generated during the build. \\f[CR]$CHROOT_OUTPUTDIR\\f[R] " "contains the value that \\f[CR]$OUTPUTDIR\\f[R] will have after invoking " "\\f[B]mkosi-chroot\\f[R].\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "\\f[CR]$PACKAGEDIR\\f[R] points to the directory containing the local " "package repository. Build scripts can add more packages to the local " "repository by writing the packages to \\f[CR]$PACKAGEDIR\\f[R].\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "\\f[CR]$ARTIFACTDIR\\f[R] points to the directory that is used to pass " "around build artifacts generated during the build and make them available " "for use by mkosi. This is similar to \\f[CR]PACKAGEDIR\\f[R], but is meant " "for artifacts that may not be packages understood by the package manager, " "e.g.\\ initrds created by other initrd generators than mkosi. Build scripts " "can add more artifacts to the directory by placing them in \\f[CR]" "$ARTIFACTDIR\\f[R]. Files in this directory are only available for the " "current build and are not copied out like the contents of \\f[CR]" "$OUTPUTDIR\\f[R].\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "\\f[B]mkosi\\f[R] will also use certain subdirectories of an artifacts " "directory to automatically use their contents at certain steps. Currently " "the following two subdirectories in the artifact directory are used by mkosi:" "\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "\\f[CR]io.mkosi.microcode\\f[R]: All files in this directory are used as " "microcode files, i.e.\\ they are prepended to the initrds in lexicographical " "order.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "\\f[CR]io.mkosi.initrd\\f[R]: All files in this directory are used as " "initrds and joined in lexicographical order.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "It is recommended, that users of \\f[CR]$ARTIFACTDIR\\f[R] put things for " "their own use in a similar namespaced directory, e.g.\\ " "\\f[CR]local.my.namespace\\f[R].\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "\\f[CR]$BUILDROOT\\f[R] is the root directory of the image being built, " "optionally with the build overlay mounted on top depending on the script " "that\\[cq]s being executed.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "\\f[CR]$WITH_DOCS\\f[R] is either \\f[CR]0\\f[R] or \\f[CR]1\\f[R] depending " "on whether a build without or with installed documentation was requested " "(\\f[CR]WithDocs=yes\\f[R]). A build script should suppress installation of " "any package documentation to \\f[CR]$DESTDIR\\f[R] in case \\f[CR]" "$WITH_DOCS\\f[R] is set to \\f[CR]0\\f[R].\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "\\f[CR]$WITH_TESTS\\f[R] is either \\f[CR]0\\f[R] or \\f[CR]1\\f[R] " "depending on whether a build without or with running the test suite was " "requested (\\f[CR]WithTests=no\\f[R]). A build script should avoid running " "any unit or integration tests in case \\f[CR]$WITH_TESTS\\f[R] is " "\\f[CR]0\\f[R].\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "\\f[CR]$WITH_NETWORK\\f[R] is either \\f[CR]0\\f[R] or \\f[CR]1\\f[R] " "depending on whether a build without or with networking is being executed " "(\\f[CR]WithNetwork=no\\f[R]). A build script should avoid any network " "communication in case \\f[CR]$WITH_NETWORK\\f[R] is \\f[CR]0\\f[R].\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "\\f[CR]$SOURCE_DATE_EPOCH\\f[R] is defined if requested " "(\\f[CR]SourceDateEpoch=TIMESTAMP\\f[R], " "\\f[CR]Environment=SOURCE_DATE_EPOCH=TIMESTAMP\\f[R] or the host environment " "variable \\f[CR]$SOURCE_DATE_EPOCH\\f[R]). This is useful to make builds " "reproducible. See E<.UR https://reproducible-builds.org/specs/source-date-" "epoch/> SOURCE_DATE_EPOCH E<.UE > \\ for more information.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "\\f[CR]$MKOSI_UID\\f[R] and \\f[CR]$MKOSI_GID\\f[R] respectively are the " "uid, gid of the user that invoked mkosi.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "\\f[CR]$MKOSI_CONFIG\\f[R] is a file containing a json summary of the " "settings of the current image. This file can be parsed inside scripts to " "gain access to all settings for the current image.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "\\f[CR]$IMAGE_ID\\f[R] contains the identifier from the " "\\f[CR]ImageId=\\f[R] or \\f[CR]--image-id=\\f[R] setting.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "\\f[CR]$IMAGE_VERSION\\f[R] contains the version from the " "\\f[CR]ImageVersion=\\f[R] or \\f[CR]--image-version=\\f[R] setting.\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "\\f[CR]$MKOSI_DEBUG\\f[R] is either \\f[CR]0\\f[R] or \\f[CR]1\\f[R] " "depending on whether debugging output is enabled.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Consult this table for which script receives which environment variables:" msgstr "" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Variable" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]configure\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]sync\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]prepare\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]postinst\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]finalize\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]postoutput\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]ARCHITECTURE\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\f[R]✓\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]ARTIFACTDIR\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]BUILDDIR\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]BUILDROOT\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]CACHED\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]CHROOT_BUILDDIR\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]CHROOT_DESTDIR\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]CHROOT_OUTPUTDIR\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]CHROOT_SCRIPT\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]CHROOT_SRCDIR\\fR" msgstr "" #. type: tbl table #: archlinux #, no-wrap msgid "\\f[CR]MKOSI_DEBUG\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]DESTDIR\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]DISTRIBUTION\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]DISTRIBUTION_ARCHITECTURE\\fR" msgstr "" #. type: tbl table #: archlinux #, no-wrap msgid "\\f[CR]EFI_ARCHITECTURE\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]IMAGE_ID\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]IMAGE_VERSION\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]MKOSI_CONFIG\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]MKOSI_GID\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]MKOSI_UID\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]OUTPUTDIR\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]PACKAGEDIR\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]PROFILES\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]QEMU_ARCHITECTURE\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]RELEASE\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]SOURCE_DATE_EPOCH\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]SRCDIR\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]WITH_DOCS\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]WITH_NETWORK\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]WITH_TESTS\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Additionally, when a script is executed, a few scripts are made available " "via \\f[CR]$PATH\\f[R] to simplify common usecases.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "\\f[B]mkosi-chroot\\f[R]: This script will chroot into the image and execute " "the given command. On top of chrooting into the image, it will also mount " "various files and directories (\\f[CR]$SRCDIR\\f[R], \\f[CR]$DESTDIR\\f[R], " "\\f[CR]$BUILDDIR\\f[R], \\f[CR]$OUTPUTDIR\\f[R], \\f[CR]" "$CHROOT_SCRIPT\\f[R]) into the image and modify the corresponding " "environment variables to point to the locations inside the image. It will " "also mount APIVFS filesystems (\\f[CR]/proc\\f[R], \\f[CR]/dev\\f[R], " "\\&...) to make sure scripts and tools executed inside the chroot work " "properly. It also propagates \\f[CR]/etc/resolv.conf\\f[R] from the host " "into the chroot if requested so that DNS resolution works inside the " "chroot. After the mkosi-chroot command exits, various mount points are " "cleaned up.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "For example, to invoke \\f[B]ls\\f[R] inside of the image, use the following:" "\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "mkosi-chroot ls ...\n" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "To execute the entire script inside the image, add a \\f[CR].chroot\\f[R] " "suffix to the name (\\f[CR]mkosi.build.chroot\\f[R] instead of " "\\f[CR]mkosi.build\\f[R], etc.).\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "For all of the supported package managers (\\f[B]dnf\\f[R], \\f[B]rpm\\f[R], " "\\f[B]apt\\f[R], \\f[B]dpkg\\f[R], \\f[B]pacman\\f[R], \\f[B]zypper\\f[R]), " "scripts of the same name are put into \\f[CR]$PATH\\f[R] that make sure " "these commands operate on the image\\[cq]s root directory with the " "configuration supplied by the user instead of on the host system. This " "means that from a script, you can do e.g. \\f[CR]dnf install vim\\f[R] to " "install vim into the image.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Additionally, \\f[CR]mkosi-install\\f[R], \\f[CR]mkosi-reinstall\\f[R], " "\\f[CR]mkosi-upgrade\\f[R] and \\f[CR]mkosi-remove\\f[R] will invoke the " "corresponding operation of the package manager being used to built the image." "\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "\\f[B]git\\f[R] is automatically invoked with \\f[CR]safe.directory=*\\f[R] " "to avoid permissions errors when running as the root user in a user " "namespace.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "\\f[B]useradd\\f[R] and \\f[B]groupadd\\f[R] are automatically invoked with " "\\f[CR]--root=$BUILDROOT\\f[R] when executed outside of the image.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "When scripts are executed, any directories that are still writable are also " "made read-only (\\f[CR]/home\\f[R], \\f[CR]/var\\f[R], \\f[CR]/root\\f[R], " "\\&...) and only the minimal set of directories that need to be writable " "remain writable. This is to ensure that scripts can\\[cq]t mess with the " "host system when \\f[B]mkosi\\f[R] is running as root.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Note that when executing scripts, all source directories are made ephemeral " "which means all changes made to source directories while running scripts are " "thrown away after the scripts finish executing. Use the output, build or " "cache directories if you need to persist data between builds." msgstr "" #. type: SH #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "FILES" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "To make it easy to build images for development versions of your projects, " "\\f[B]mkosi\\f[R] can read configuration data from the local directory, " "under the assumption that it is invoked from a \\f[I]source\\f[R] tree. " "Specifically, the following files are used if they exist in the local " "directory:\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "The \\f[CB]mkosi.skeleton/\\f[R] directory or " "\\f[CB]mkosi.skeleton.tar\\f[R] archive may be used to insert files into the " "image. The files are copied \\f[I]before\\f[R] the distribution packages " "are installed into the image. This allows creation of files that need to be " "provided early, for example to configure the package manager or set systemd " "presets.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "When using the directory, file ownership is not preserved: all files copied " "will be owned by root. To preserve ownership, use a tar archive." msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "The \\f[CB]mkosi.extra/\\f[R] directory or \\f[CB]mkosi.extra.tar\\f[R] " "archive may be used to insert additional files into the image, on top of " "what the distribution includes in its packages. They are similar to " "\\f[CR]mkosi.skeleton/\\f[R] and \\f[CR]mkosi.skeleton.tar\\f[R], but the " "files are copied into the directory tree of the image \\f[I]after\\f[R] the " "OS was installed.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "The \\f[CB]mkosi.sandbox/\\f[R] directory or \\f[CB]mkosi.sandbox.tar\\f[R] " "archive may be used to configure the package manager without the files being " "inserted into the image. If the files should be included in the image " "\\f[CR]mkosi.skeleton/\\f[R] and \\f[CR]mkosi.skeleton.tar\\f[R] should be " "used instead.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "The \\f[CB]mkosi.nspawn\\f[R] nspawn settings file will be copied into the " "same place as the output image file, if it exists. This is useful since " "nspawn looks for settings files next to image files it boots, for additional " "container runtime settings.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "The \\f[CB]mkosi.cache/\\f[R] directory, if it exists, is automatically used " "as package download cache, in order to speed repeated runs of the tool.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "The \\f[CB]mkosi.builddir/\\f[R] directory, if it exists, is automatically " "used as out-of-tree build directory, if the build commands in the " "\\f[CR]mkosi.build\\f[R] scripts support it. Specifically, this directory " "will be mounted into the build container, and the \\f[CR]$BUILDDIR\\f[R] " "environment variable will be set to it when the build scripts are invoked. " "A build script may then use this directory as build directory, for " "\\f[B]automake\\f[R]-style or \\f[B]ninja\\f[R]-style out-of-tree builds. " "This speeds up builds considerably, in particular when \\f[B]mkosi\\f[R] is " "used in incremental mode (\\f[CR]-i\\f[R]): not only the image and build " "overlay, but also the build tree is reused between subsequent invocations. " "Note that if this directory does not exist the \\f[CR]$BUILDDIR\\f[R] " "environment variable is not set, and it is up to the build scripts to decide " "whether to do an in-tree or an out-of-tree build, and which build directory " "to use.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "The \\f[CB]mkosi.rootpw\\f[R] file can be used to provide the password for " "the root user of the image. If the password is prefixed with \\f[CR]hashed:" "\\f[R] it is treated as an already hashed root password. The password may " "optionally be followed by a newline character which is implicitly removed. " "The file must have an access mode of 0600 or less. If this file does not " "exist, the distribution\\[cq]s default root password is set (which usually " "means access to the root user is blocked).\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "The \\f[CB]mkosi.passphrase\\f[R] file provides the passphrase to use when " "LUKS encryption is selected. It should contain the passphrase literally, " "and not end in a newline character (i.e.\\ in the same format as " "\\f[B]cryptsetup\\f[R] and \\f[CR]/etc/crypttab\\f[R] expect the passphrase " "files). The file must have an access mode of 0600 or less.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "The \\f[CB]mkosi.crt\\f[R] and \\f[CB]mkosi.key\\f[R] files contain an X.509 " "certificate and PEM private key to use when signing is required (UEFI " "SecureBoot, verity, \\&...).\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "The \\f[CB]mkosi.output/\\f[R] directory is used to store all build " "artifacts.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "The \\f[CB]mkosi.credentials/\\f[R] directory is used as a source of extra " "credentials similar to the \\f[CR]Credentials=\\f[R] option. For each file " "in the directory, the filename will be used as the credential name and the " "file contents become the credential value, or, if the file is executable, " "\\f[B]mkosi\\f[R] will execute the file and the command\\[cq]s output to " "stdout will be used as the credential value. Output to stderr will be " "ignored. Credentials configured with \\f[CR]Credentials=\\f[R] take " "precedence over files in \\f[CR]mkosi.credentials\\f[R].\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "The \\f[CB]mkosi.repart/\\f[R] directory is used as the source for " "\\f[B]systemd-repart\\f[R] partition definition files which are passed to " "\\f[B]systemd-repart\\f[R] when building a disk image. If it does not exist " "and the \\f[CR]RepartDirectories=\\f[R] setting is not configured, " "\\f[B]mkosi\\f[R] will default to the following partition definition files:" "\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "\\f[CR]00-esp.conf\\f[R] (if we\\[cq]re building a bootable image):\\fR" msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "" "\\f[B][Partition]\\f[R]\n" "Type=esp\n" "Format=vfat\n" "CopyFiles=/boot:/\n" "CopyFiles=/efi:/\n" "SizeMinBytes=512M\n" "SizeMaxBytes=512M\\fR\n" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "\\f[CR]05-bios.conf\\f[R] (if we\\[cq]re building a BIOS bootable image):\\fR" msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "" "\\f[B][Partition]\\f[R]\n" "\\f[I]# UUID of the grub BIOS boot partition which grubs needs on GPT to\\f[R]\n" "\\f[I]# embed itself into.\\f[R]\n" "Type=21686148-6449-6e6f-744e-656564454649\n" "SizeMinBytes=1M\n" "SizeMaxBytes=1M\\fR\n" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "\\f[CR]10-root.conf\\fR" msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "" "\\f[B][Partition]\\f[R]\n" "Type=root\n" "Format=Edistribution-default-filesystemE\n" "CopyFiles=/\n" "Minimize=guess\\fR\n" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Note that if either \\f[CR]mkosi.repart/\\f[R] is found or " "\\f[CR]RepartDirectories=\\f[R] is used, we will not use any of the default " "partition definitions.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "All these files are optional." msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Note that the location of all these files may also be configured during " "invocation via command line switches, and as settings in " "\\f[CR]mkosi.conf\\f[R], in case the default settings are not acceptable for " "a project.\\fR" msgstr "" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "CACHING" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "\\f[B]mkosi\\f[R] supports three different caches for speeding up repetitive " "re-building of images. Specifically:\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "The package cache of the distribution package manager may be cached between " "builds. This is configured with the \\f[CR]--cache-directory=\\f[R] option " "or the \\f[CR]mkosi.cache/\\f[R] directory. This form of caching relies on " "the distribution\\[cq]s package manager, and caches distribution packages " "(RPM, deb, \\&...) after they are downloaded, but before they are unpacked." "\\fR" msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\f[R]2.\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "If the incremental build mode is enabled with \\f[CR]--" "incremental=yes\\f[R], cached copies of the final image and build overlay " "are made immediately before the build sources are copied in (for the build " "overlay) or the artifacts generated by \\f[CR]mkosi.build\\f[R] are copied " "in (in case of the final image). This form of caching allows bypassing the " "time-consuming package unpacking step of the distribution package managers, " "but is only effective if the list of packages to use remains stable, but the " "build sources and its scripts change regularly. Note that this cache " "requires manual flushing: whenever the package list is modified the cached " "images need to be explicitly removed before the next re-build, using the " "\\f[CR]-f\\f[R] switch.\\fR" msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\f[R]3.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Finally, between multiple builds the build artifact directory may be shared, " "using the \\f[CR]mkosi.builddir/\\f[R] directory. This directory allows " "build systems such as Meson to reuse already compiled sources from a " "previous built, thus speeding up the build process of a " "\\f[CR]mkosi.build\\f[R] build script.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The package cache and incremental mode are unconditionally useful. The " "final cache only apply to uses of \\f[B]mkosi\\f[R] with a source tree and " "build script. When all three are enabled together turn-around times for " "complete image builds are minimal, as only changed source files need to be " "recompiled.\\fR" msgstr "" #. type: SH #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "TOOLS TREES" msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Tools trees are a secondary image that mkosi can use to build the actual " "images. This is useful to make image builds more reproducible, but also " "allows to use newer tooling, that is not yet available in the host " "distribution running mkosi." msgstr "" #. type: Plain text #: archlinux msgid "" "Tools trees can be provided via the \\f[CR]ToolsTree=\\f[R] option, the " "\\f[CR]mkosi.tools\\f[R] directory or built automatically by mkosi if set to " "\\f[CR]ToolsTree=yes\\f[R]. For most use cases setting it is sufficient to " "use the default tools trees and the use of a tools tree is recommended.\\fR" msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Fully custom tools trees can be built like any other mkosi image, but mkosi " "provides a builtin include providing the default tools tree packages:" msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "mkosi --include=mkosi-tools --format=directory\n" msgstr "" #. type: Plain text #: archlinux msgid "" "Tools trees, including default tools trees, can be further customized via " "the different \\f[CR]ToolsTree*=\\f[R] variables as well as the " "\\f[CR]mkosi.tools.conf\\f[R] configuration file or directory. The output " "format for tools trees cannot currently be changed via configuration files." "\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The following table shows for which distributions default tools tree " "packages are defined and which packages are included in those default tools " "trees:" msgstr "" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Fedora" msgstr "" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "CentOS" msgstr "" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Debian" msgstr "" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Kali" msgstr "" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Ubuntu" msgstr "" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Arch" msgstr "" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "openSUSE" msgstr "" #. type: tbl table #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "postmarketOS" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]acl\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]apt\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]archlinux-keyring\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]attr\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]bash\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]btrfs-progs\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]ca-certificates\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]coreutils\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]cpio\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]createrepo_c\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]curl\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]debian-keyring\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]diffutils\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]distribution-gpg-keys\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]dnf\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]dosfstools\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]e2fsprogs\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]edk2-ovmf\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]erofs-utils\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]findutils\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]git\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]grep\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]grub-tools\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]jq\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]kali-archive-keyring\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]kmod\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]less\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]mtools\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]nano\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]opensc\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]openssh\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]openssl\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]pkcs11-provider\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]perf\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]sed\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]pacman\\fR" msgstr "" #. type: tbl table #: archlinux #, no-wrap msgid "\\f[CR]p11-kit\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]policycoreutils\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]qemu\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]sbsigntools\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]socat\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]squashfs-tools\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]strace\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]swtpm\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]systemd\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]ukify\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]tar\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]ubuntu-keyring\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]util-linux\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]virtiofsd\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]virt-firmware\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]xfsprogs\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]xz\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]zstd\\fR" msgstr "" #. type: tbl table #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]zypper\\fR" msgstr "" #. type: SH #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "BUILDING MULTIPLE IMAGES" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "If the \\f[CR]mkosi.images/\\f[R] directory exists, \\f[B]mkosi\\f[R] will " "load individual subimage configurations from it and build each of them. " "Image configurations can be either directories containing \\f[B]mkosi\\f[R] " "configuration files or regular files with the \\f[CR].conf\\f[R] extension." "\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "When image configurations are found in \\f[CR]mkosi.images/\\f[R], " "\\f[B]mkosi\\f[R] will build the images specified in the " "\\f[CR]Dependencies=\\f[R] setting of the main image and all of their " "dependencies (or all of them if no images were explicitly configured using " "\\f[CR]Dependencies=\\f[R] in the main image configuration). To add " "dependencies between subimages, the \\f[CR]Dependencies=\\f[R] setting can " "be used as well. Subimages are always built before the main image.\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "When images are defined, \\f[B]mkosi\\f[R] will first read the main image " "configuration (configuration outside of the \\f[CR]mkosi.images/\\f[R] " "directory), followed by the image specific configuration.\\fR" msgstr "" #. type: Plain text #: archlinux fedora-44 fedora-rawhide msgid "" "Several \\[lq]multiversal\\[rq] settings apply to the default tools tree and " "to the main image and cannot be configured separately outside of the main " "image:" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "\\f[CR]RepositoryKeyCheck=\\fR" msgstr "" #. type: Plain text #: archlinux msgid "\\f[CR]RepositoryKeyFetch=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "\\f[CR]SourceDateEpoch=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "\\f[CR]CacheOnly=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "\\f[CR]WorkspaceDirectory=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "\\f[CR]PackageCacheDirectory=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "\\f[CR]BuildSourcesEphemeral=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "\\f[CR]ProxyClientCertificate=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "\\f[CR]ProxyClientKey=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "\\f[CR]ProxyExclude=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "\\f[CR]ProxyPeerCertificate=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "\\f[CR]ProxyUrl=\\fR" msgstr "" #. type: Plain text #: archlinux fedora-44 fedora-rawhide msgid "" "Several \\[lq]universal\\[rq] settings apply to the main image and all its " "subimages and cannot be configured separately in subimages. The following " "settings are universal and cannot be configured in subimages:" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "\\f[CR]BuildDirectory=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "\\f[CR]CacheDirectory=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "\\f[CR]ExtraSearchPaths=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "\\f[CR]Incremental=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "\\f[CR]LocalMirror=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "\\f[CR]Mirror=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "\\f[CR]OutputMode=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "\\f[CR]PackageDirectories=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "\\f[CR]RepartOffline=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "\\f[CR]SandboxTrees=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "\\f[CR]ToolsTree=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "\\f[CR]ToolsTreeCertificates=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "\\f[CR]UseSubvolumes=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "\\f[CR]SecureBootCertificate=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "\\f[CR]SecureBootCertificateSource=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "\\f[CR]SecureBootKey=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "\\f[CR]SecureBootKeySource=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "\\f[CR]VerityCertificate=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "\\f[CR]VerityCertificateSource=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "\\f[CR]VerityKey=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "\\f[CR]VerityKeySource=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "\\f[CR]VolatilePackageDirectories=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "\\f[CR]WithNetwork=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "\\f[CR]WithTests\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "There are also settings which are passed down to subimages but can be " "overridden. For these settings, values configured explicitly in the " "subimage will take priority over values configured on the CLI or in the main " "image config. Currently the following settings are passed down to subimages " "but can be overridden:" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "\\f[CR]SectorSize=\\fR" msgstr "" #. type: Plain text #: archlinux msgid "\\f[CR]CacheKey=\\fR" msgstr "" #. type: Plain text #: archlinux msgid "\\f[CR]BuildKey=\\fR" msgstr "" #. type: Plain text #: archlinux msgid "\\f[CR]CompressLevel=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "\\f[CR]SignExpectedPcrKey=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "\\f[CR]SignExpectedPcrKeySource=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "\\f[CR]SignExpectedPcrCertificate=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "\\f[CR]SignExpectedPcrCertificateSource=\\fR" msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Additionally, there are various settings that can only be configured in the " "main image but which are not passed down to subimages:" msgstr "" #. type: Plain text #: archlinux msgid "\\f[CR]MinimumVersion=\\fR" msgstr "" #. type: Plain text #: archlinux msgid "\\f[CR]PassEnvironment=\\fR" msgstr "" #. type: Plain text #: archlinux msgid "\\f[CR]ToolsTreeProfiles=\\fR" msgstr "" #. type: Plain text #: archlinux msgid "\\f[CR]ToolsTreeMirror=\\fR" msgstr "" #. type: Plain text #: archlinux msgid "\\f[CR]ToolsTreeRepositories=\\fR" msgstr "" #. type: Plain text #: archlinux msgid "\\f[CR]ToolsTreeSandboxTrees=\\fR" msgstr "" #. type: Plain text #: archlinux msgid "\\f[CR]ToolsTreePackages=\\fR" msgstr "" #. type: Plain text #: archlinux msgid "\\f[CR]ToolsTreePackageDirectories=\\fR" msgstr "" #. type: Plain text #: archlinux msgid "\\f[CR]History=\\fR" msgstr "" #. type: Plain text #: archlinux msgid "Every setting in the \\f[CR][Runtime]\\f[R] section\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Images can refer to outputs of images they depend on. Specifically, for the " "following options, \\f[B]mkosi\\f[R] will only check whether the inputs " "exist just before building the image:\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "\\f[CR]BaseTrees=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "\\f[CR]ExtraTrees=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "\\f[CR]Initrds=\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "To refer to outputs of a image\\[cq]s dependencies, simply configure any of " "these options with a relative path to the output to use in the output " "directory of the dependency. Or use the \\f[CR]%O\\f[R] specifier to refer " "to the output directory.\\fR" msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "A good example on how to build multiple images can be found in the E<.UR " "https://github.com/systemd/systemd/tree/main/mkosi/mkosi.images> systemd " "E<.UE > \\ repository." msgstr "" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "ENVIRONMENT VARIABLES" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "\\f[CR]$MKOSI_LESS\\f[R] overrides options for \\f[B]less\\f[R] when it is " "invoked by \\f[B]mkosi\\f[R] to page output.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "\\f[CR]$MKOSI_DNF\\f[R] can be used to override the executable used as " "\\f[B]dnf\\f[R]. This is particularly useful to select between " "\\f[B]dnf\\f[R] and \\f[B]dnf5\\f[R].\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "\\f[CR]$EPEL_MIRROR\\f[R] can be used to override the default mirror " "location used for the epel repositories when \\f[CR]Mirror=\\f[R] is used. " "By default \\f[B]mkosi\\f[R] looks for the epel repositories in the " "\\f[CR]fedora\\f[R] subdirectory of the parent directory of the mirror " "specified in \\f[CR]Mirror=\\f[R]. For example if the mirror is set to " "\\f[CR]https://mirror.net/centos-stream\\f[R] \\f[B]mkosi\\f[R] will look " "for the epel repositories in \\f[CR]https://mirror.net/fedora/epel\\f[R].\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "\\f[CR]SYSEXT_SCOPE\\f[R] and \\f[CR]CONFEXT_SCOPE\\f[R] can be used to " "override the default value of the respective \\f[CR]extension-release\\f[R] " "file when building a sysext or confext. By default the value is set to " "\\f[CR]initrd system portable\\f[R].\\fR" msgstr "" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "EXAMPLES" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Create and run a raw \\f[I]GPT\\f[R] image with \\f[I]ext4\\f[R], as " "\\f[CR]image.raw\\f[R]:\\fR" msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "# mkosi -p systemd -i boot\n" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Create and run a bootable \\f[I]GPT\\f[R] image, as \\f[CR]foobar.raw\\f[R]:" "\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "$ mkosi -d fedora -p kernel-core -p systemd -p systemd-boot -p udev -o foobar.raw\n" "# mkosi --output foobar.raw boot\n" "$ mkosi --output foobar.raw vm\n" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Create and run a \\f[I]Fedora Linux\\f[R] image in a plain directory:\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "# mkosi --distribution fedora --format directory boot\n" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Create a compressed image \\f[CR]image.raw.xz\\f[R] with SSH installed and " "add a checksum file:\\fR" msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "$ mkosi --distribution fedora --format disk --checksum=yes --compress-output=yes --package=openssh-clients\n" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Inside the source directory of an \\f[B]automake\\f[R]-based project, " "configure \\f[B]mkosi\\f[R] so that simply invoking \\f[B]mkosi\\f[R] " "without any parameters builds an OS image containing a built version of the " "project in its current state:\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "$ cat Emkosi.conf EEEOF\n" "[Distribution]\n" "Distribution=fedora\n" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "[Output]\n" "Format=disk\n" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "[Content]\n" "Packages=kernel,systemd,systemd-udev,openssh-clients,httpd\n" "BuildPackages=make,gcc,libcurl-devel\n" "EOF\n" "$ cat Emkosi.build EEEOF\n" "#!/bin/sh\n" msgstr "" #. type: Plain text #: archlinux debian-trixie fedora-44 fedora-rawhide opensuse-leap-16-1 #, no-wrap msgid "" "if [ \\[dq]$container\\[dq] != \\[dq]mkosi\\[dq] ]; then\n" " exec mkosi-chroot \\[dq]$CHROOT_SCRIPT\\[dq] \\[dq]$\\[at]\\[dq]\n" "fi\n" msgstr "" #. type: Plain text #: archlinux fedora-44 fedora-rawhide #, no-wrap msgid "" "cd $SRCDIR\n" "\\&./autogen.sh\n" "\\&./configure --prefix=/usr\n" "make -j \\[ga]nproc\\[ga]\n" "make install\n" "EOF\n" "$ chmod +x mkosi.build\n" "# mkosi -i boot\n" "# systemd-nspawn -bi image.raw\n" msgstr "" #. type: SS #: archlinux debian-trixie opensuse-leap-16-1 #, no-wrap msgid "Different ways to boot with \\f[CR]vm\\fB" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The easiest way to boot a virtual machine is to build an image with the " "required components and let \\f[B]mkosi\\f[R] call \\f[B]qemu\\f[R] with all " "the right options:\\fR" msgstr "" #. type: Plain text #: archlinux fedora-44 fedora-rawhide #, no-wrap msgid "" "$ mkosi -d fedora -p systemd-udev,systemd-boot,kernel-core build\n" "$ mkosi -d fedora vm\n" "\\&...\n" "fedora login: root (automatic login)\n" "[root\\[at]fedora \\[ti]]#\n" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "The default is to boot with a text console only. In this mode, messages " "from the boot loader, the kernel, and systemd, and later the " "\\f[B]getty\\f[R] login prompt and shell all use the same terminal. It is " "possible to switch between the \\f[B]qemu\\f[R] console and monitor by " "pressing \\f[CR]Ctrl-a c\\f[R]. The \\f[B]qemu\\f[R] monitor may for " "example be used to inject special keys or shut down the machine quickly. " "Alternatively the machine can be shut down using \\f[CR]Ctrl-a x\\f[R].\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "To boot with a graphical window, add \\f[CR]--console=gui\\f[R]:\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "$ mkosi -d fedora --console=gui qemu\n" msgstr "" #. type: Plain text #: archlinux msgid "" "A kernel may be booted directly with \\f[CR]mkosi vm -kernel ... -initrd ... " "-append \\[aq]...\\[aq]\\f[R]. This is a bit faster because no boot loader " "is used, and it is also easier to experiment with different kernels and " "kernel command lines. Note that despite the name, \\f[B]qemu\\f[R]\\[cq]s " "\\f[CR]-append\\f[R] option replaces the default kernel command line " "embedded in the kernel and any previous \\f[CR]-append\\f[R] specifications." "\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The UKI is also copied into the output directory and may be booted directly:" msgstr "" #. type: Plain text #: archlinux fedora-44 fedora-rawhide #, no-wrap msgid "$ mkosi vm -- -kernel mkosi.output/fedora\\[ti]38/image.efi\n" msgstr "" #. type: Plain text #: archlinux debian-trixie fedora-44 fedora-rawhide opensuse-leap-16-1 msgid "" "When booting using an external kernel, we don\\[cq]t need the kernel " "\\f[I]in\\f[R] the image, but we would still want the kernel modules to be " "installed.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "It is also possible to do a \\f[I]direct kernel boot\\f[R] into a boot " "loader, taking advantage of the fact that \\f[B]systemd-boot\\f[R](7) is a " "valid UEFI binary:\\fR" msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "$ mkosi vm -- -kernel /usr/lib/systemd/boot/efi/systemd-bootx64.efi\n" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "In this scenario, the kernel is loaded from the ESP in the image by " "\\f[B]systemd-boot\\f[R].\\fR" msgstr "" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "REQUIREMENTS" msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "mkosi is packaged for various distributions: Debian, Kali, Ubuntu, Arch " "Linux, Fedora Linux, OpenMandriva, Gentoo, postmarketOS. Note that it has " "been a while since the last release and the packages shipped by " "distributions are very out of date. We currently recommend running " "\\f[B]mkosi\\f[R] from git until a new release happens.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "mkosi requires a Linux kernel that provides \\f[CR]mount_setattr()\\f[R] " "which was introduces in 5.12.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "mkosi currently requires systemd 254 to build bootable disk images." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "When not using distribution packages make sure to install the necessary " "dependencies. For example, on \\f[I]Fedora Linux\\f[R] you need:\\fR" msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "\\f[I]# dnf install btrfs-progs apt dosfstools mtools edk2-ovmf e2fsprogs squashfs-tools gnupg python3 tar xfsprogs xz zypper sbsigntools\\fR\n" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "On Debian/Kali/Ubuntu it might be necessary to install the \\f[CR]ubuntu-" "keyring\\f[R], \\f[CR]ubuntu-archive-keyring\\f[R], \\f[CR]kali-archive-" "keyring\\f[R] and/or \\f[CR]debian-archive-keyring\\f[R] packages " "explicitly, in addition to \\f[B]apt\\f[R], depending on what kind of " "distribution images you want to build.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Note that the minimum required Python version is 3.9." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "mkosi needs unrestricted abilities to create and act within namespaces. " "Some distros restrict creation of, or capabilities within, user namespaces, " "which breaks mkosi." msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "For information about Ubuntu, that implements such restrictions using " "AppArmor, see https://ubuntu.com/blog/ubuntu-23-10-restricted-unprivileged-" "user-namespaces. For other systems, try researching the " "\\f[CR]kernel.unprivileged_userns_clone\\f[R] or " "\\f[CR]user.max.user_namespace\\f[R] sysctls.\\fR" msgstr "" #. type: Plain text #: archlinux msgid "" "For Ubuntu systems, you can remove the restrictions for \\f[B]mkosi\\f[R] by " "adapting this snippet to point to your \\f[B]mkosi\\f[R] binary, copying it " "to \\f[CR]/etc/apparmor.d/resolved.path.to.mkosi\\f[R], and then running " "\\f[CR]systemctl reload apparmor\\f[R]:\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "abi Eabi/4.0E,\n" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "include Etunables/globalE\n" msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "" "/resolved/path/to/mkosi flags=(default_allow) {\n" " userns,\n" "}\n" msgstr "" #. type: SH #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "FREQUENTLY ASKED QUESTIONS (FAQ)" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Why does \\f[CR]mkosi vm\\f[R] with KVM not work on Debian/Kali/Ubuntu?\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "While other distributions are OK with allowing access to \\f[CR]/dev/" "kvm\\f[R], on Debian/Kali/Ubuntu this is only allowed for users in the " "\\f[CR]kvm\\f[R] group. Because \\f[B]mkosi\\f[R] unshares a user namespace " "when running unprivileged, even if the calling user was in the kvm group, " "when \\f[B]mkosi\\f[R] unshares the user namespace to run unprivileged, it " "loses access to the \\f[CR]kvm\\f[R] group and by the time we start " "\\f[B]qemu\\f[R] we don\\[cq]t have access to \\f[CR]/dev/kvm\\f[R] " "anymore. As a workaround, you can change the permissions of the device " "nodes to \\f[CR]0666\\f[R] which is sufficient to make KVM work " "unprivileged. To persist these settings across reboots, copy \\f[CR]/usr/" "lib/tmpfiles.d/static-nodes-permissions.conf\\f[R] to \\f[CR]/etc/tmpfiles.d/" "static-nodes-permissions.conf\\f[R] and change the mode of \\f[CR]/dev/" "kvm\\f[R] from \\f[CR]0660\\f[R] to \\f[CR]0666\\f[R].\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "How do I add a regular user to an image?" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "You can use the following snippet in a post-installation script:" msgstr "" #. type: Plain text #: archlinux debian-trixie fedora-44 fedora-rawhide opensuse-leap-16-1 #, no-wrap msgid "useradd --create-home --user-group $USER --password \\[dq]$(openssl passwd -stdin -6 E$USER_PASSWORD_FILE)\\[dq]\n" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Note that from systemd v256 onwards, if enabled, \\f[B]systemd-homed-" "firstboot.service\\f[R] will prompt to create a regular user on first boot " "if there are no regular users.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Why do I see failures to chown files when building images?" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "When not running as root, your user is not able to change ownership of files " "to arbitrary owners. Various distributions still ship files in their " "packages that are not owned by the root user. When not running as root, " "mkosi maps the current user to root when invoking package managers, which " "means that changing ownership to root will work but changing ownership to " "any other user or group will fail." msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Note that chown calls are only suppressed when running package managers, but " "not when running scripts. If this is required, e.g.\\ for a build script, " "you can set the \\f[CR]MKOSI_CHROOT_SUPPRESS_CHOWN\\f[R] variable to a true " "value (\\f[CR]1\\f[R], \\f[CR]yes\\f[R], \\f[CR]true\\f[R]) to suppress " "chown calls in \\f[B]mkosi-chroot\\f[R] and \\f[CR].chroot\\f[R] scripts.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "If this behavior causes applications running in your image to misbehave, you " "can consider running \\f[B]mkosi\\f[R] as root which avoids this problem. " "Alternatively, if running \\f[B]mkosi\\f[R] as root is not desired, you can " "use \\f[CR]unshare --map-auto --map-current-user --setuid 0 --setgid 0\\f[R] " "to become root in a user namespace with more than one user assuming the UID/" "GID mappings in \\f[CR]/etc/subuid\\f[R] and \\f[CR]/etc/subgid\\f[R] are " "configured correctly. Note that running mkosi as root or with " "\\f[CR]unshare\\f[R] means that all output files produced by " "\\f[B]mkosi\\f[R] will not be owned by your current user anymore.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Note that for systemd services that need directories in \\f[CR]/var\\f[R] " "owned by the service user and group, an alternative to shipping these " "directories in packages or creating them via systemd-tmpfiles is to use " "\\f[CR]StateDirectory=\\f[R], \\f[CR]CacheDirectory=\\f[R] or " "\\f[CR]LogsDirectory=\\f[R] in the service file which instructs systemd to " "create the directory when it first starts the service.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Alternatively, the \\f[CR]z\\f[R] or \\f[CR]Z\\f[R] directives for " "\\f[CR]systemd-tmpfiles\\f[R] can be used to chown various directories and " "files to their owning user when the system first boots up.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "Why does \\f[CR]portablectl inspect EimageE\\f[R]/\\f[CR]systemd-" "dissect EimageE\\f[R] say my portable service isn\\[cq]t one?\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "\\f[CR]systemd-dissect\\f[R] and\\f[CR]portablectl inspect\\f[R] check for " "\\f[CR]PORTABLE_PREFIXES=\\f[R] in \\f[CR]os-release\\f[R] and if the key is " "missing, will fail to recognise a portable service as one, showing ✗ under " "\\f[I]Use as\\f[R] for in the case of \\f[CR]systemd-dissect\\f[R] or " "\\f[CR]n/a\\f[R] under \\f[I]Portable Service\\f[R] for " "\\f[CR]portablectl\\f[R].\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie fedora-44 fedora-rawhide opensuse-leap-16-1 msgid "" "Since there is no good default to set for this key and the generated " "portable service images will still attach properly, even when the key is not " "set, \\f[B]mkosi\\f[R] doesn\\[cq]t set one.\\fR" msgstr "" #. type: Plain text #: archlinux debian-trixie opensuse-leap-16-1 msgid "" "You can set \\f[CR]PORTABLE_PREFIXES=\\f[R] in the \\f[CR]os-release\\f[R] " "file yourself in a postinst script.\\fR" msgstr "" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "REFERENCES" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "E<.UR https://github.com/systemd/mkosi/> Primary mkosi git repository on " "GitHub E<.UE >" msgstr "" #. type: Plain text #: archlinux debian-trixie fedora-44 fedora-rawhide opensuse-leap-16-1 msgid "" "E<.UR https://0pointer.net/blog/mkosi-a-tool-for-generating-os-images.html> " "mkosi \\[em] A Tool for Generating OS Images E<.UE > \\ introductory blog " "post by Lennart Poettering" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "E<.UR https://lwn.net/Articles/726655/> The mkosi OS generation tool E<.UE > " "\\ story on LWN" msgstr "" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "SEE ALSO" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "\\f[B]systemd-nspawn\\f[R](1), \\f[B]systemd-repart\\f[R](8), \\f[B]dnf\\f[R]" "(8)\\fR" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "\\f[CR]mkosi [options\\&...] build [command line\\&...]\\fR" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "\\f[CR]mkosi [options\\&...] shell [command line\\&...]\\fR" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "\\f[CR]mkosi [options\\&...] boot [nspawn settings\\&...]\\fR" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "\\f[CR]mkosi [options\\&...] vm [vmm parameters\\&...]\\fR" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "\\f[CR]mkosi [options\\&...] ssh [command line\\&...]\\fR" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "\\f[CR]mkosi [options\\&...] journalctl [command line\\&...]\\fR" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "\\f[CR]mkosi [options\\&...] coredumpctl [command line\\&...]\\fR" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "\\f[CR]mkosi [options\\&...] sysupdate [command line\\&...]\\fR" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "\\f[CR]mkosi [options\\&...] sandbox [command line \\&...]\\fR" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "\\f[CR]mkosi [options\\&...] dependencies\\fR" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "" "Build the image-based on the settings passed on the command line and in the " "configuration files. This command is the default if no verb is specified. " "Any command line arguments specified after the verb will be passed directly " "to the build script, if one is defined." msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "" "This builds the image if it is not built yet, and then invokes \\f[B]systemd-" "nspawn\\f[R] to run an interactive shell in the image. This doesn\\[cq]t " "require booting the system, it\\[cq]s like a better chroot. An optional " "command line may be specified after the \\f[CR]shell\\f[R] verb, to be " "invoked in place of the shell in the container. Use \\f[CR]-f\\f[R] in " "order to rebuild the image unconditionally before acquiring the shell, see " "below. This command must be executed as \\f[CR]root\\f[R].\\fR" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "" "Similar to \\f[CR]shell\\f[R], but instead of spawning a shell, it boots " "systemd in the image using \\f[B]systemd-nspawn\\f[R]. An optional command " "line may be specified after the \\f[CR]boot\\f[R] verb, which can contain " "extra nspawn options as well as arguments which are passed as the " "\\f[I]kernel command line\\f[R] to the init system in the image.\\fR" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "" "Similar to \\f[CR]boot\\f[R], but uses the configured virtual machine " "monitor (by default \\f[CR]qemu\\f[R]) to boot up the image, i.e.\\ instead " "of container virtualization, virtual machine virtualization is used. How " "extra command line arguments are interpreted depends on the configured " "virtual machine monitor. See \\f[CR]VirtualMachineMonitor=\\f[R] for more " "information.\\fR" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "" "When the image is built with the \\f[CR]Ssh=yes\\f[R] option, this command " "connects to a booted virtual machine via SSH. Make sure to run \\f[CR]mkosi " "ssh\\f[R] with the same config as \\f[CR]mkosi build\\f[R] so that it has " "the necessary information available to connect to the running virtual " "machine via SSH. Specifically, the SSH private key from the " "\\f[CR]SshKey=\\f[R] setting is used to connect to the virtual machine. Use " "\\f[CR]mkosi genkey\\f[R] to automatically generate a key and certificate " "that will be picked up by \\f[B]mkosi\\f[R]. Any arguments passed after the " "\\f[CR]ssh\\f[R] verb are passed as arguments to the \\f[B]ssh\\f[R] " "invocation. To connect to a container, use \\f[CR]machinectl login\\f[R] or " "\\f[CR]machinectl shell\\f[R].\\fR" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "" "Uses \\f[B]journalctl\\f[R] to inspect the journal inside the image. Any " "arguments specified after the \\f[B]journalctl\\f[R] verb are appended to " "the \\f[B]journalctl\\f[R] invocation.\\fR" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "" "Uses \\f[B]coredumpctl\\f[R] to look for coredumps inside the image. Any " "arguments specified after the \\f[B]coredumpctl\\f[R] verb are appended to " "the \\f[B]coredumpctl\\f[R] invocation.\\fR" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "" "Invokes \\f[B]systemd-sysupdate\\f[R] with the \\f[CR]--transfer-" "source=\\f[R] option set to the output directory and the \\f[CR]--" "definitions=\\f[R] option set to the directory configured with " "\\f[CR]SysupdateDirectory=\\f[R]. Any arguments specified after the " "\\f[CR]sysupdate\\f[R] verb are passed directly to \\f[B]systemd-" "sysupdate\\f[R] invocation.\\fR" msgstr "" #. type: TP #: debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]sandbox\\fR" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "" "Run arbitrary commands inside of the same sandbox used to execute other " "verbs such as \\f[CR]boot\\f[R], \\f[CR]shell\\f[R], \\f[CR]vm\\f[R] and " "more. This means \\f[CR]/usr\\f[R] will be replaced by \\f[CR]/usr\\f[R] " "from the tools tree if one is used while everything else will remain in " "place. If no command is provided, \\f[CR]$SHELL\\f[R] will be executed or " "\\f[B]bash\\f[R] if \\f[CR]$SHELL\\f[R] is not set.\\fR" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "" "Remove build artifacts generated on a previous build. If combined with " "\\f[CR]-f\\f[R], also removes incremental build cache images. If \\f[CR]-" "f\\f[R] is specified twice, also removes any package cache.\\fR" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "" "Bumps the image version from \\f[CR]mkosi.version\\f[R] and writes the " "resulting version string to \\f[CR]mkosi.version\\f[R]. This is useful for " "implementing a simple versioning scheme: each time this verb is called the " "version is bumped in preparation for the subsequent build. Note that " "\\f[CR]--auto-bump\\f[R]/\\f[CR]-B\\f[R] may be used to automatically bump " "the version after each successful build.\\fR" msgstr "" #. type: Plain text #: debian-trixie #, no-wrap msgid "mkosi dependencies | xargs -d \\[aq]\\[rs]n\\[aq] dnf install\n" msgstr "" #. type: SS #: debian-trixie opensuse-leap-16-1 #, no-wrap msgid "Commandline-only Options" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "" "Replace the output file if it already exists, when building an image. By " "default when building an image and an output artifact already exists " "\\f[B]mkosi\\f[R] will refuse operation. Specify this option once to delete " "all build artifacts from a previous run before re-building the image. If " "incremental builds are enabled, specifying this option twice will ensure the " "intermediary cache files are removed, too, before the re-build is " "initiated. If a package cache is used (also see the \\f[B]Files\\f[R] " "section below), specifying this option thrice will ensure the package cache " "is removed too, before the re-build is initiated. For the " "\\f[CR]clean\\f[R] operation this option has a slightly different effect: by " "default the verb will only remove build artifacts from a previous run, when " "specified once the incremental cache files are deleted too, and when " "specified twice the package cache is also removed.\\fR" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "" "Takes a path to a directory. \\f[B]mkosi\\f[R] switches to this directory " "before doing anything. Note that the various configuration files are " "searched for in this directory, hence using this option is an effective way " "to build a project located in a specific directory.\\fR" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "" "If specified, after each successful build the version is bumped in a fashion " "equivalent to the \\f[CR]bump\\f[R] verb, in preparation for the next " "build. This is useful for simple, linear version management: each build in " "a series will have a version number one higher then the previous one.\\fR" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "" "\\f[CR]mkosi.local.conf\\f[R] or \\f[CR]mkosi.local\\f[R] is parsed if it " "exists. This file or directory should be in \\f[CR].gitignore\\f[R] (or " "equivalent) and is intended for local configuration.\\fR" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "" "Any default paths (depending on the option) are configured if the " "corresponding path exists." msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "" "\\f[CR]mkosi.conf\\f[R] is parsed if it exists in the directory configured " "with \\f[CR]--directory=\\f[R] or the current working directory if \\f[CR]--" "directory=\\f[R] is not used.\\fR" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "" "\\f[CR]mkosi.conf.d/\\f[R] is parsed in the same directory if it exists. " "Each directory and each file with the \\f[CR].conf\\f[R] extension in " "\\f[CR]mkosi.conf.d/\\f[R] is parsed. Any directory in " "\\f[CR]mkosi.conf.d\\f[R] is parsed as if it were a regular top level " "directory.\\fR" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "" "Subimages are parsed from the \\f[CR]mkosi.images\\f[R] directory if it " "exists.\\fR" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "" "Note that settings configured via the command line always override settings " "configured via configuration files. If the same setting is configured more " "than once via configuration files, later assignments override earlier " "assignments except for settings that take a collection of values. Also, " "settings read from \\f[CR]mkosi.local\\f[R] or \\f[CR]mkosi.local.conf\\f[R] " "will override settings from configuration files that are parsed later, but " "not settings specified on the CLI.\\fR" msgstr "" #. type: Plain text #: debian-trixie #, no-wrap msgid "" "[Match]\n" "Format=|disk\n" "Format=|directory\n" msgstr "" #. type: Plain text #: debian-trixie #, no-wrap msgid "" "[Match]\n" "Architecture=|x86-64\n" "Architecture=|arm64\n" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "" "The \\f[CR][TriggerMatch]\\f[R] section can be used to indicate triggering " "match sections. These are identical to triggering conditions except they " "apply to the entire match section instead of just a single condition. As an " "example, the following will match if the distribution is \\f[CR]debian\\f[R] " "and the release is \\f[CR]bookworm\\f[R] or if the distribution is " "\\f[CR]ubuntu\\f[R] and the release is \\f[CR]noble\\f[R].\\fR" msgstr "" #. type: Plain text #: debian-trixie #, no-wrap msgid "" "[TriggerMatch]\n" "Distribution=debian\n" "Release=bookworm\n" msgstr "" #. type: Plain text #: debian-trixie #, no-wrap msgid "" "[TriggerMatch]\n" "Distribution=ubuntu\n" "Release=noble\n" msgstr "" #. type: tbl table #: debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[R]http://deb.debian.org/debian\\fR" msgstr "" #. type: tbl table #: debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[R]https://geo.mirror.pkgbuild.com\\fR" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "" "The image format type to generate. One of \\f[CR]directory\\f[R] (for " "generating an OS image directly in a local directory), \\f[CR]tar\\f[R] " "(similar, but a tarball of the OS image is generated), \\f[CR]cpio\\f[R] " "(similar, but a cpio archive is generated), \\f[CR]disk\\f[R] (a block " "device OS image with a GPT partition table), \\f[CR]uki\\f[R] (a unified " "kernel image with the OS image in the \\f[CR].initrd\\f[R] PE section), " "\\f[CR]esp\\f[R] (\\f[CR]uki\\f[R] but wrapped in a disk image with only an " "ESP partition), \\f[CR]oci\\f[R] (a directory compatible with the OCI image " "specification), \\f[CR]sysext\\f[R], \\f[CR]confext\\f[R], " "\\f[CR]portable\\f[R], \\f[CR]addon\\f[R] or \\f[CR]none\\f[R] (the OS image " "is solely intended as a build image to produce another artifact).\\fR" msgstr "" #. type: TP #: debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]SplitArtifacts=\\f[R], \\f[CR]--split-artifacts\\fR" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "" "The artifact types to split out of the final image. A comma-delimited list " "consisting of \\f[CR]uki\\f[R], \\f[CR]kernel\\f[R], \\f[CR]initrd\\f[R] and " "\\f[CR]partitions\\f[R]. When building a bootable image \\f[CR]kernel\\f[R] " "and \\f[CR]initrd\\f[R] correspond to their artifact found in the image (or " "in the UKI), while \\f[CR]uki\\f[R] copies out the entire UKI.\\fR" msgstr "" #. type: Plain text #: debian-trixie msgid "" "When building a disk image and \\f[CR]partitions\\f[R] is specified, pass " "\\f[CR]--split=yes\\f[R] to \\f[B]systemd-repart\\f[R] to have it write out " "split partition files for each configured partition. Read the E<.UR> " "https://www.freedesktop.org/software/systemd/man/systemd-repart.html#--" "split=BOOL man E<.UE > \\ page for more information. This is useful in A/B " "update scenarios where an existing disk image shall be augmented with a new " "version of a root or \\f[CR]/usr\\f[R] partition along with its Verity " "partition and unified kernel. By default \\f[CR]uki\\f[R], " "\\f[CR]kernel\\f[R] and \\f[CR]initrd\\f[R] are split out.\\fR" msgstr "" #. type: TP #: debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]Overlay=\\f[R], \\f[CR]--overlay\\fR" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "" "This option may be used to create E<.UR https://uapi-group.org/" "specifications/specs/extension_image> systemd \\f[I]system extensions\\f[R] " "or \\f[I]portable services\\f[R] E<.UE > \\&.\\fR" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "" "Takes a comma-separated list of paths to executables that are used as the " "clean scripts for this image. See the \\f[B]Scripts\\f[R] section for more " "information.\\fR" msgstr "" #. type: TP #: debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]WithDocs=\\f[R], \\f[CR]--with-docs\\fR" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "" "Takes a comma-separated list of colon-separated path pairs. The first path " "of each pair refers to a directory to copy into the OS tree before invoking " "the package manager. The second path of each pair refers to the target " "directory inside the image. If the second path is not provided, the " "directory is copied on top of the root directory of the image. The second " "path is always interpreted as an absolute path. Use this to insert files " "and directories into the OS tree before the package manager installs any " "packages. If the \\f[CR]mkosi.skeleton/\\f[R] directory is found in the " "local directory it is also used for this purpose with the root directory as " "target (also see the \\f[B]Files\\f[R] section below).\\fR" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "" "Takes a comma-separated list of colon-separated path pairs. The first path " "of each pair refers to a directory to copy from the host into the image. " "The second path of each pair refers to the target directory inside the " "image. If the second path is not provided, the directory is copied on top " "of the root directory of the image. The second path is always interpreted " "as an absolute path. Use this to override any default configuration files " "shipped with the distribution. If the \\f[CR]mkosi.extra/\\f[R] directory " "is found in the local directory it is also used for this purpose with the " "root directory as target (also see the \\f[B]Files\\f[R] section below).\\fR" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "" "Takes a timestamp in seconds since the UNIX epoch as argument. File " "modification times of all files will be clamped to this value. The variable " "is also propagated to \\f[B]systemd-repart\\f[R] and scripts executed by " "\\f[B]mkosi\\f[R]. If not set explicitly, \\f[CR]SOURCE_DATE_EPOCH\\f[R] " "from \\f[CR]--environment\\f[R] and from the host environment are tried in " "that order. This is useful to make builds reproducible. See E<.UR https://" "reproducible-builds.org/specs/source-date-epoch/> SOURCE_DATE_EPOCH E<.UE > " "\\ for more information.\\fR" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "" "Takes a comma-separated list of paths to executables that are used as the " "sync scripts for this image. See the \\f[B]Scripts\\f[R] section for more " "information.\\fR" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "" "Takes a comma-separated list of paths to executables that are used as the " "prepare scripts for this image. See the \\f[B]Scripts\\f[R] section for " "more information.\\fR" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "" "Takes a comma-separated list of paths to executables that are used as the " "build scripts for this image. See the \\f[B]Scripts\\f[R] section for more " "information.\\fR" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "" "Takes a comma-separated list of paths to executables that are used as the " "post-installation scripts for this image. See the \\f[B]Scripts\\f[R] " "section for more information.\\fR" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "" "Takes a comma-separated list of paths to executables that are used as the " "finalize scripts for this image. See the \\f[B]Scripts\\f[R] section for " "more information.\\fR" msgstr "" #. type: TP #: debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]PostOutputScripts=\\f[R], \\f[CR]--postoutput-script\\fR" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "" "Takes a comma-separated list of paths to executables that are used as the " "post output scripts for this image. See the \\f[B]Scripts\\f[R] section for " "more information.\\fR" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "" "Specifies whether to use unified kernel images or not when " "\\f[CR]Bootloader=\\f[R] is set to \\f[CR]systemd-boot\\f[R] or " "\\f[CR]grub\\f[R]. Takes a boolean value or \\f[CR]auto\\f[R]. Defaults to " "\\f[CR]auto\\f[R]. If enabled, unified kernel images are always used and " "the build will fail if any components required to build unified kernel " "images are missing. If set to \\f[CR]auto\\f[R], unified kernel images will " "be used if all necessary components are available. Otherwise Type 1 entries " "as defined by the Boot Loader Specification will be used instead. If " "disabled, Type 1 entries will always be used.\\fR" msgstr "" #. type: tbl table #: debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]&c\\fR" msgstr "" #. type: tbl table #: debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[R]Number of tries used for boot attempt counting\\fR" msgstr "" #. type: TP #: debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]Initrds=\\f[R], \\f[CR]--initrd\\fR" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "" "Use user-provided initrd(s). Takes a comma-separated list of paths to " "initrd files. This option may be used multiple times in which case the " "initrd lists are combined. If no initrds are specified and a bootable image " "is requested, \\f[B]mkosi\\f[R] will look for initrds in a subdirectory " "\\f[CR]io.mkosi.initrd\\f[R] of the artifact directory (see \\f[CR]" "$ARTIFACTDIR\\f[R] in the section \\f[B]ENVIRONMENT VARIABLES\\f[R]), if " "none are found there \\f[B]mkosi\\f[R] will automatically build a default " "initrd.\\fR" msgstr "" #. type: TP #: debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]Devicetree=\\f[R], \\f[CR]--devicetree=\\fR" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "" "When set, specifies a Devicetree blob to be used by the booting system, " "instead of the one provided by firmware. \\f[B]mkosi\\f[R] will search for " "the specified file relative to common paths where Linux distributions " "install Devicetree files. It should typically have the format " "\\f[CR]EvendorE/EboardE.dtb\\f[R].\\fR" msgstr "" #. type: TP #: debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]KernelModulesInclude=\\f[R], \\f[CR]--kernel-modules-include=\\fR" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "" "Takes a list of regex patterns that specify kernel modules to include in the " "image. Patterns should be relative to \\f[CR]/usr/lib/modules/" "EkverE/EsubdirE\\f[R] paths. \\f[B]mkosi\\f[R] checks for a " "match anywhere in the module path (e.g.\\ \\f[CR]i915\\f[R] will match " "against \\f[CR]drivers/gpu/drm/i915.ko\\f[R]). All modules that match any " "of the specified patterns are included in the image. All module and " "firmware dependencies of the matched modules are included in the image as " "well.\\fR" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "" "This setting takes priority over \\f[CR]KernelModulesExclude=\\f[R] and only " "makes sense when used in combination with it because all kernel modules are " "included in the image by default.\\fR" msgstr "" #. type: TP #: debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]KernelModulesExclude=\\f[R], \\f[CR]--kernel-modules-exclude=\\fR" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "" "Takes a list of regex patterns that specify modules to exclude from the " "image. Behaves the same as \\f[CR]KernelModulesInclude=\\f[R] except that " "all modules that match any of the specified patterns are excluded from the " "image.\\fR" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "" "Boolean value, enabled (true) by default. If enabled, when building a " "bootable image, \\f[B]mkosi\\f[R] will generate an extra initrd for each " "unified kernel image it assembles. This initrd contains only modules for " "the specific kernel version, and will be appended to the prebuilt initrd. " "This allows generating kernel independent initrds which are augmented with " "the necessary modules when the UKI is assembled.\\fR" msgstr "" #. type: TP #: debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]KernelModulesInitrdInclude=\\f[R], \\f[CR]--kernel-modules-initrd-include=\\fR" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "" "Like \\f[CR]KernelModulesInclude=\\f[R], but applies to the kernel modules " "included in the kernel modules initrd.\\fR" msgstr "" #. type: TP #: debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]KernelModulesInitrdExclude=\\f[R], \\f[CR]--kernel-modules-initrd-exclude=\\fR" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "" "Like \\f[CR]KernelModulesExclude=\\f[R], but applies to the kernel modules " "included in the kernel modules initrd.\\fR" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "" "Set the system root password. If this option is not used, but a " "\\f[CR]mkosi.rootpw\\f[R] file is found in the local directory, the password " "is automatically read from it or if the file is executable it is run as a " "script and stdout is read instead (see the \\f[B]Scripts\\f[R] section " "below). If the password starts with \\f[CR]hashed:\\f[R], it is treated as " "an already hashed root password. The root password is also stored in " "\\f[CR]/usr/lib/credstore\\f[R] under the appropriate systemd credential so " "that it applies even if only \\f[CR]/usr\\f[R] is shipped in the image. To " "create an unlocked account without any password use \\f[CR]hashed:\\f[R] " "without a hash.\\fR" msgstr "" #. type: TP #: debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]Autologin=\\f[R], \\f[CR]--autologin\\fR" msgstr "" #. type: TP #: debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]MakeInitrd=\\f[R], \\f[CR]--make-initrd\\fR" msgstr "" #. type: TP #: debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]Ssh=\\f[R], \\f[CR]--ssh\\fR" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "" "If specified, an \\f[B]sshd\\f[R] socket unit and matching service are " "installed in the final image that expose SSH over VSock. When building with " "this option and running the image using \\f[CR]mkosi vm\\f[R], the " "\\f[CR]mkosi ssh\\f[R] command can be used to connect to the container/VM " "via SSH. Note that you still have to make sure openssh is installed in the " "image to make this option behave correctly. Run \\f[CR]mkosi genkey\\f[R] " "to automatically generate an X.509 certificate and private key to be used by " "\\f[B]mkosi\\f[R] to enable SSH access to any virtual machines via " "\\f[CR]mkosi ssh\\f[R]. To access images booted using \\f[CR]mkosi " "boot\\f[R], use \\f[B]machinectl\\f[R].\\fR" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "" "Specifies whether to relabel files to match the image\\[cq]s SELinux " "policy. Takes a boolean value or \\f[CR]auto\\f[R]. Defaults to " "\\f[CR]auto\\f[R]. If disabled, files will not relabeled. If enabled, an " "SELinux policy has to be installed in the image and \\f[B]setfiles\\f[R] has " "to be available to relabel files. If any errors occur during " "\\f[B]setfiles\\f[R], the build will fail. If set to \\f[CR]auto\\f[R], " "files will be relabeled if an SELinux policy is installed in the image and " "if \\f[B]setfiles\\f[R] is available. Any errors occurred during " "\\f[B]setfiles\\f[R] will be ignored.\\fR" msgstr "" #. type: TP #: debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]SecureBoot=\\f[R], \\f[CR]--secure-boot\\fR" msgstr "" #. type: TP #: debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]SecureBootSignTool=\\f[R], \\f[CR]--secure-boot-sign-tool\\fR" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "" "Whether to enforce or disable signed verity for extension images. Takes a " "boolean value or \\f[CR]auto\\f[R]. If enabled, a verity key and " "certificate must be present and the build will fail if we don\\[cq]t detect " "any verity partitions in the disk image produced by \\f[B]systemd-" "repart\\f[R]. If disabled, verity partitions will be excluded from the " "extension images produced by \\f[B]systemd-repart\\f[R]. If set to " "\\f[CR]auto\\f[R] and a verity key and certificate are present, " "\\f[B]mkosi\\f[R] will pass them to systemd-repart and expects the generated " "disk image to contain verity partitions, but the build won\\[cq]t fail if no " "verity partitions are found in the disk image produced by \\f[B]systemd-" "repart\\f[R].\\fR" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "" "Note that explicitly disabling signed verity is not yet implemented for the " "\\f[CR]disk\\f[R] output and only works for extension images at the moment." "\\fR" msgstr "" #. type: TP #: debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]SignExpectedPcr=\\f[R], \\f[CR]--sign-expected-pcr\\fR" msgstr "" #. type: TP #: debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]Passphrase=\\f[R], \\f[CR]--passphrase\\fR" msgstr "" #. type: TP #: debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]Checksum=\\f[R], \\f[CR]--checksum\\fR" msgstr "" #. type: TP #: debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]Sign=\\f[R], \\f[CR]--sign\\fR" msgstr "" #. type: TP #: debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]OpenPGPTool=\\f[R], \\f[CR]--openpgp-tool\\fR" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "" "If set to \\f[CR]default\\f[R], \\f[B]mkosi\\f[R] will automatically add an " "extra tools tree image and use it as the tools tree.\\fR" msgstr "" #. type: TP #: debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]ToolsTreeRepositories=\\f[R], \\f[CR]--tools-tree-repository\\fR" msgstr "" #. type: TP #: debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]ToolsTreeSandboxTrees=\\f[R], \\f[CR]--tools-tree-sandbox-tree\\fR" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "" "Specify whether to use certificates and keys from the tools tree. Enabled " "by default. If enabled, \\f[CR]/etc/pki\\f[R], \\f[CR]/etc/ssl\\f[R], " "\\f[CR]/etc/ca-certificates\\f[R], and \\f[CR]/var/lib/ca-certificates\\f[R] " "from the tools tree are used. Otherwise, these directories are picked up " "from the host.\\fR" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "" "Takes a comma-separated list of colon-separated path pairs. The first path " "of each pair refers to a directory to copy into the mkosi sandbox before " "executing a tool. If the \\f[CR]mkosi.sandbox/\\f[R] directory is found in " "the local directory it is used for this purpose with the root directory as " "target (also see the \\f[B]Files\\f[R] section below).\\fR" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "" "Path to a directory where to store data required temporarily while building " "the image. This directory should have enough space to store the full OS " "image, though in most modes the actually used disk space is smaller. If not " "specified, a subdirectory of \\f[CR]$XDG_CACHE_HOME\\f[R] (if set), \\f[CR]" "$HOME/.cache\\f[R] (if set) or \\f[CR]/var/tmp\\f[R] is used.\\fR" msgstr "" #. type: TP #: debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]PackageCacheDirectory=\\f[R], \\f[CR]--package-cache-dir\\fR" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "" "Takes a path to a directory to use as the build directory for build systems " "that support out-of-tree builds (such as Meson). The directory used this " "way is shared between repeated builds, and allows the build system to reuse " "artifacts (such as object files, executable, \\&...) generated on previous " "invocations. The build scripts can find the path to this directory in the " "\\f[CR]$BUILDDIR\\f[R] environment variable. This directory is mounted into " "the image\\[cq]s root directory when \\f[B]mkosi-chroot\\f[R] is invoked " "during execution of the build scripts. If this option is not specified, but " "a directory \\f[CR]mkosi.builddir/\\f[R] exists in the local directory it is " "automatically used for this purpose (also see the \\f[B]Files\\f[R] section " "below).\\fR" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "" "Note that when using \\f[CR]RepartOffline=no\\f[B]mkosi\\f[R] cannot run " "unprivileged and the image build has to be done as the root user outside of " "any containers and with loopback devices available on the host system.\\fR" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "" "Takes a boolean. If enabled, \\f[B]mkosi\\f[R] will write information about " "the latest build to the \\f[CR].mkosi-private\\f[R] subdirectory in the " "directory from which it was invoked. This information is then used to " "restore the config of the latest build when running any verb that needs a " "build without specifying \\f[CR]--force\\f[R].\\fR" msgstr "" #. type: TP #: debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]WithTests=\\f[R], \\f[CR]--without-tests\\f[R], \\f[CR]-T\\fR" msgstr "" #. type: TP #: debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]Vsock=\\f[R], \\f[CR]--vsock=\\fR" msgstr "" #. type: TP #: debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]VsockConnectionId=\\f[R], \\f[CR]vsock-cid=\\fR" msgstr "" #. type: TP #: debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]CDROM=\\f[R], \\f[CR]--cdrom=\\fR" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "" "Configures whether to attach the image as a CD-ROM device when booting a " "virtual machine. Takes a boolean. Defaults to \\f[CR]no\\f[R].\\fR" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "" "Configures whether to attach the image as a removable device when booting a " "virtual machine. Takes a boolean. Defaults to \\f[CR]no\\f[R].\\fR" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "" "Configures the virtual machine firmware to use. Takes one of " "\\f[CR]uefi\\f[R], \\f[CR]uefi-secure-boot\\f[R], \\f[CR]bios\\f[R], " "\\f[CR]linux\\f[R], or \\f[CR]auto\\f[R]. Defaults to \\f[CR]auto\\f[R]. " "When set to \\f[CR]uefi\\f[R], the OVMF firmware without secure boot support " "is used. When set to \\f[CR]uefi-secure-boot\\f[R], the OVMF firmware with " "secure boot support is used. When set to \\f[CR]bios\\f[R], the default " "SeaBIOS firmware is used. When set to \\f[CR]linux\\f[R], direct kernel " "boot is used. See the \\f[CR]Linux=\\f[R] option for more details on which " "kernel image is used with direct kernel boot. When set to " "\\f[CR]auto\\f[R], \\f[CR]uefi-secure-boot\\f[R] is used if possible and " "\\f[CR]linux\\f[R] otherwise.\\fR" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "" "Configures the path to the the virtual machine firmware variables file to " "use. Currently, this option is only taken into account when the " "\\f[CR]uefi\\f[R] or \\f[CR]uefi-secure-boot\\f[R] firmware is used. If not " "specified, \\f[B]mkosi\\f[R] will search for the default variables file and " "use that instead.\\fR" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "" "Set the kernel image to use for \\f[B]qemu\\f[R] direct kernel boot. If not " "specified, \\f[B]mkosi\\f[R] will use the kernel provided via the command " "line (\\f[CR]-kernel\\f[R] option) or latest the kernel that was installed " "into the image (or fail if no kernel was installed into the image).\\fR" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "" "Add a drive. Takes a colon-delimited string of format " "\\f[CR]EidE:EsizeE[:EdirectoryE[:EoptionsE[:Efile-" "idE]]]\\f[R]. \\f[CR]id\\f[R] specifies the ID assigned to the drive. " "This can be used as the \\f[CR]drive=\\f[R] property in various " "\\f[B]qemu\\f[R] devices. \\f[CR]size\\f[R] specifies the size of the " "drive. This takes a size in bytes. Additionally, the suffixes " "\\f[CR]K\\f[R], \\f[CR]M\\f[R] and \\f[CR]G\\f[R] can be used to specify a " "size in kilobytes, megabytes and gigabytes respectively. " "\\f[CR]directory\\f[R] optionally specifies the directory in which to create " "the file backing the drive. \\f[CR]options\\f[R] optionally specifies extra " "comma-delimited properties which are passed verbatim to \\f[B]qemu\\f[R]\\" "[cq]s \\f[CR]-drive\\f[R] option. \\f[CR]file-id\\f[R] specifies the ID of " "the file backing the drive. Drives with the same file ID will share the " "backing file. The directory and size of the file will be determined from " "the first drive with a given file ID.\\fR" msgstr "" #. type: Plain text #: debian-trixie #, no-wrap msgid "" "[Runtime]\n" "Drives=btrfs:10G\n" " ext4:20G\n" "QemuArgs=-device nvme,serial=btrfs,drive=btrfs\n" " -device nvme,serial=ext4,drive=ext4\n" msgstr "" #. type: TP #: debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]Ephemeral=\\f[R], \\f[CR]--ephemeral\\fR" msgstr "" #. type: TP #: debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]RuntimeScratch=\\f[R], \\f[CR]--runtime-scratch=\\fR" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "" "Takes a boolean value or \\f[CR]auto\\f[R]. Specifies whether to mount " "extra scratch space to \\f[CR]/var/tmp\\f[R]. If enabled, practically " "unlimited scratch space is made available under \\f[CR]/var/tmp\\f[R] when " "booting the image with \\f[CR]mkosi vm\\f[R], \\f[CR]mkosi boot\\f[R] or " "\\f[CR]mkosi shell\\f[R].\\fR" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "" "Note that using this feature with \\f[CR]mkosi vm\\f[R] requires systemd " "v254 or newer in the guest.\\fR" msgstr "" #. type: TP #: debian-trixie opensuse-leap-16-1 #, no-wrap msgid "\\f[CR]RuntimeHome=\\f[R], \\f[CR]--runtime-home=\\fR" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "" "Mount the current home directory from which \\f[B]mkosi\\f[R] is running to " "\\f[CR]/root\\f[R] when using \\f[CR]mkosi boot\\f[R] or \\f[CR]mkosi " "vm\\f[R].\\fR" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "" "Configure systemd unit properties to add to the systemd scopes allocated " "when using \\f[CR]mkosi boot\\f[R] or \\f[CR]mkosi vm\\f[R]. These are " "passed directly to the \\f[CR]--property\\f[R] options of \\f[B]systemd-" "nspawn\\f[R] and \\f[B]systemd-run\\f[R] respectively.\\fR" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "" "Path to the X.509 private key in PEM format to use to connect to a virtual " "machine started with \\f[CR]mkosi vm\\f[R] and built with the " "\\f[CR]Ssh=\\f[R] option enabled via the \\f[CR]mkosi ssh\\f[R] command. If " "not configured and \\f[CR]mkosi.key\\f[R] exists in the working directory, " "it will automatically be used for this purpose. Run \\f[CR]mkosi " "genkey\\f[R] to automatically generate a key in \\f[CR]mkosi.key\\f[R].\\fR" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "" "Matches against the configured architecture. If this condition is used and " "no architecture has been explicitly configured yet, the host architecture is " "used." msgstr "" #. type: Plain text #: debian-trixie #, no-wrap msgid "" "[Build]\n" "BuildSources=../abc/qed:kernel\n" msgstr "" #. type: Plain text #: debian-trixie #, no-wrap msgid "" "[Match]\n" "BuildSources=kernel\n" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "" "The builtin configs for the \\f[B]mkosi\\f[R] default initrd, default tools " "tree and default virtual machine image can be included by including the " "literal value \\f[CR]mkosi-initrd\\f[R], \\f[CR]mkosi-tools\\f[R] or " "\\f[CR]mkosi-vm\\f[R] respectively.\\fR" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "" "When this setting is specified for the \\[lq]main\\[rq] image, it specifies " "which subimages should be built. See the \\f[B]Building multiple " "images\\f[R] section for more information.\\fR" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "" "Takes a comma-separated list of paths to executables that are used as the " "configure scripts for this image. See the \\f[B]Scripts\\f[R] section for " "more information.\\fR" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "" "Takes a list of environment variable names separated by spaces. When " "building multiple images, pass the listed environment variables to each " "individual subimage as if they were \\[lq]universal\\[rq] settings. See the " "\\f[B]Building multiple images\\f[R] section for more information.\\fR" msgstr "" #. type: Plain text #: debian-trixie msgid "" "The contents of the \\f[CR].profile\\f[R] section of the UKI profile. Takes " "a list of key/value pairs separated by \\f[CR]=\\f[R]. The \\f[CR]ID=\\f[R] " "key must be specified. See the UKI E<.UR> https://uapi-group.org/" "specifications/specs/unified_kernel_image/#multi-profile-ukis specification " "E<.UE > \\ for a full list of possible keys.\\fR" msgstr "" #. type: SH #: debian-trixie opensuse-leap-16-1 #, no-wrap msgid "Execution Flow" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "" "Execution flow for \\f[CR]mkosi build\\f[R]. Default values/calls are shown " "in parentheses. When building with \\f[CR]--incremental\\f[R] " "\\f[B]mkosi\\f[R] creates a cache of the distribution installation if not " "already existing and replaces the distribution installation in consecutive " "runs with data from the cached one.\\fR" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "Cache the image if configured (\\f[CR]--incremental\\f[R])\\fR" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "" "Install systemd-boot and configure secure boot if configured (\\f[CR]--" "secure-boot\\f[R])\\fR" msgstr "" #. type: SH #: debian-trixie opensuse-leap-16-1 #, no-wrap msgid "Scripts" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "" "\\f[CR]$CACHED=\\f[R] is set to \\f[CR]1\\f[R] if a cached image is " "available, \\f[CR]0\\f[R] otherwise.\\fR" msgstr "" #. type: SH #: debian-trixie opensuse-leap-16-1 #, no-wrap msgid "Files" msgstr "" #. type: Plain text #: debian-trixie #, no-wrap msgid "" "[Partition]\n" "Type=esp\n" "Format=vfat\n" "CopyFiles=/boot:/\n" "CopyFiles=/efi:/\n" "SizeMinBytes=512M\n" "SizeMaxBytes=512M\n" msgstr "" #. type: Plain text #: debian-trixie #, no-wrap msgid "" "[Partition]\n" "# UUID of the grub BIOS boot partition which grubs needs on GPT to\n" "# embed itself into.\n" "Type=21686148-6449-6e6f-744e-656564454649\n" "SizeMinBytes=1M\n" "SizeMaxBytes=1M\n" msgstr "" #. type: Plain text #: debian-trixie #, no-wrap msgid "" "[Partition]\n" "Type=root\n" "Format=Edistribution-default-filesystemE\n" "CopyFiles=/\n" "Minimize=guess\n" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "" "If the incremental build mode is enabled with \\f[CR]--incremental\\f[R], " "cached copies of the final image and build overlay are made immediately " "before the build sources are copied in (for the build overlay) or the " "artifacts generated by \\f[CR]mkosi.build\\f[R] are copied in (in case of " "the final image). This form of caching allows bypassing the time-consuming " "package unpacking step of the distribution package managers, but is only " "effective if the list of packages to use remains stable, but the build " "sources and its scripts change regularly. Note that this cache requires " "manual flushing: whenever the package list is modified the cached images " "need to be explicitly removed before the next re-build, using the \\f[CR]-" "f\\f[R] switch.\\fR" msgstr "" #. type: SH #: debian-trixie opensuse-leap-16-1 #, no-wrap msgid "Building multiple images" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "" "When images are defined, \\f[B]mkosi\\f[R] will first read the main image " "configuration (configuration outside of the \\f[CR]mkosi.images/\\f[R] " "directory), followed by the image specific configuration. Several \\" "[lq]universal\\[rq] settings apply to the main image and all its subimages " "and cannot be configured separately in subimages. The following settings " "are universal and cannot be configured in subimages:\\fR" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "" "A good example on how to build multiple images can be found in the E<.UR " "https://github.com/systemd/systemd/tree/main/mkosi.images> systemd E<.UE > " "\\ repository." msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 #, no-wrap msgid "# mkosi -p systemd --incremental boot\n" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 #, no-wrap msgid "$ mkosi --distribution fedora --format disk --checksum --compress-output --package=openssh-clients\n" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 #, no-wrap msgid "" "cd $SRCDIR\n" "\\&./autogen.sh\n" "\\&./configure --prefix=/usr\n" "make -j \\[ga]nproc\\[ga]\n" "make install\n" "EOF\n" "$ chmod +x mkosi.build\n" "# mkosi --incremental boot\n" "# systemd-nspawn -bi image.raw\n" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 #, no-wrap msgid "" "$ mkosi -d fedora \\[rs]\n" " --autologin \\[rs]\n" " -p systemd-udev,systemd-boot,kernel-core \\[rs]\n" " build\n" "$ mkosi -d fedora vm\n" "\\&...\n" "fedora login: root (automatic login)\n" "[root\\[at]fedora \\[ti]]#\n" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "" "A kernel may be booted directly with \\f[CR]mkosi vm -kernel ... -initrd ... " "-append \\[aq]...\\[aq]\\f[R]. This is a bit faster because no boot loader " "is used, and it is also easier to experiment with different kernels and " "kernel commandlines. Note that despite the name, \\f[B]qemu\\f[R]\\[cq]s " "\\f[CR]-append\\f[R] option replaces the default kernel commandline embedded " "in the kernel and any previous \\f[CR]-append\\f[R] specifications.\\fR" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 #, no-wrap msgid "$ mkosi vm -kernel mkosi.output/fedora\\[ti]38/image.efi\n" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 #, no-wrap msgid "$ mkosi vm -kernel /usr/lib/systemd/boot/efi/systemd-bootx64.efi\n" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "" "mkosi is packaged for various distributions: Debian, Kali, Ubuntu, Arch " "Linux, Fedora Linux, OpenMandriva, Gentoo. Note that it has been a while " "since the last release and the packages shipped by distributions are very " "out of date. We currently recommend running \\f[B]mkosi\\f[R] from git " "until a new release happens.\\fR" msgstr "" #. type: Plain text #: debian-trixie #, no-wrap msgid "# dnf install btrfs-progs apt dosfstools mtools edk2-ovmf e2fsprogs squashfs-tools gnupg python3 tar xfsprogs xz zypper sbsigntools\n" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 msgid "" "For Ubuntu systems, you can remove the restrictions for \\f[B]mkosi\\f[R] by " "adapting this snippet to point to your \\f[B]mkosi\\f[R] binary, copying it " "to \\f[CR]/etc/apparmor.d/path.to.mkosi\\f[R], and then running " "\\f[CR]systemctl reload apparmor\\f[R]:\\fR" msgstr "" #. type: Plain text #: debian-trixie opensuse-leap-16-1 #, no-wrap msgid "" "/path/to/mkosi flags=(default_allow) {\n" " userns,\n" "}\n" msgstr "" #. type: SH #: debian-trixie opensuse-leap-16-1 #, no-wrap msgid "Frequently Asked Questions (FAQ)" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "mkosi \\(em Build Bespoke OS Images" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]mkosi [options\\&...] init\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]mkosi [options\\&...] summary\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]mkosi [options\\&...] cat-config\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]mkosi [options\\&...] build [-- command line\\&...]\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]mkosi [options\\&...] shell [-- command line\\&...]\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]mkosi [options\\&...] boot [-- nspawn settings\\&...]\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]mkosi [options\\&...] vm [-- vmm parameters\\&...]\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]mkosi [options\\&...] ssh [-- command line\\&...]\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]mkosi [options\\&...] journalctl [-- command line\\&...]\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]mkosi [options\\&...] coredumpctl [-- command line\\&...]\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]mkosi [options\\&...] sysupdate [-- sysupdate settings\\&...]\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]mkosi [options\\&...] box [-- command line\\&...]\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]mkosi [options\\&...] dependencies [-- options\\&...]\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]mkosi [options\\&...] clean\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]mkosi [options\\&...] serve\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]mkosi [options\\&...] burn EdeviceE\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]mkosi [options\\&...] bump\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]mkosi [options\\&...] genkey\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]mkosi [options\\&...] documentation [manual]\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]mkosi [options\\&...] completion [shell]\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]mkosi [options\\&...] latest-snapshot\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]mkosi [options\\&...] help\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "\\f[B]mkosi\\f[R] is a tool for easily building customized OS images. It\\" "(cqs a fancy wrapper around \\f[B]dnf\\f[R], \\f[B]apt\\f[R], " "\\f[B]pacman\\f[R] and \\f[B]zypper\\f[R] that may generate disk images with " "a number of bells and whistles.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]init\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Initialize \\f[B]mkosi\\f[R]. This is a one time operation that sets up " "various config files required for an optimal experience. Currently this " "only initialized a \\f[B]tmpfiles.d\\f[R] dropin for the mkosi package cache " "directory to make sure old, unused files are cleaned up automatically.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]summary\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]cat-config\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]build\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Build the image-based on the settings passed on the command line and in the " "configuration files. This command is the default if no verb is specified. " "Arguments may be passed to the build scripts, if some are defined. To pass " "options to the build scripts, separate them from regular mkosi options with " "\\f[B]--\\f[R].\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]shell\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "This builds the image if it is not built yet, and then invokes \\f[B]systemd-" "nspawn\\f[R] to run an interactive shell in the image. This doesn\\(cqt " "require booting the system, it\\(cqs like a better chroot. An optional " "command line may be specified after the \\f[B]shell\\f[R] verb, to be " "invoked in place of the shell in the container. To pass extra options to " "nspawn, separate them from regular options with \\f[B]--\\f[R].\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]boot\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Similar to \\f[B]shell\\f[R], but instead of spawning a shell, it boots " "systemd in the image using \\f[B]systemd-nspawn\\f[R]. Extra arguments may " "be specified after the \\f[B]boot\\f[R] verb, which are passed as the " "\\f[I]kernel command line\\f[R] to the init system in the image. To pass " "extra options to nspawn, separate them from regular options with \\f[B]--" "\\f[R].\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]vm\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Similar to \\f[B]boot\\f[R], but uses the configured virtual machine monitor " "(by default \\f[B]qemu\\f[R]) to boot up the image, i.e.\\ instead of " "container virtualization, virtual machine virtualization is used. How extra " "command line arguments are interpreted depends on the configured virtual " "machine monitor. See \\f[B]VirtualMachineMonitor=\\f[R] for more " "information. To pass extra options to the configured virtual machine " "monitor, separate them from regular options with \\f[B]--\\f[R].\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]ssh\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "When the image is built with the \\f[B]Ssh=always\\f[R] option or if " "systemd\\(cqs \\f[B]sshd-vsock\\f[R] service is running in the VM (systemd " "v256+), this command connects to a booted virtual machine via SSH. Make " "sure to run \\f[B]mkosi ssh\\f[R] with the same config as \\f[B]mkosi " "build\\f[R] so that it has the necessary information available to connect to " "the running virtual machine via SSH. Specifically, the SSH private key from " "the \\f[B]SshKey=\\f[R] setting is used to connect to the virtual machine. " "Use \\f[B]mkosi genkey\\f[R] to automatically generate a key and certificate " "that will be picked up by \\f[B]mkosi\\f[R]. Any arguments passed after the " "\\f[B]ssh\\f[R] verb are passed as arguments to the \\f[B]ssh\\f[R] " "invocation. To pass extra options, separate them from regular options with " "\\f[B]--\\f[R].To connect to a container, use \\f[B]machinectl login\\f[R] " "or \\f[B]machinectl shell\\f[R].\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "\\f[R]The \\f[B]Machine=\\f[R] option can be used to give the machine a " "custom hostname when booting it which can later be used to \\f[B]ssh\\f[R] " "into the image (e.g.\\ \\f[B]mkosi --machine=mymachine vm\\f[R] followed by " "\\f[B]mkosi --machine=mymachine ssh\\f[R]).\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]journalctl\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Uses \\f[B]journalctl\\f[R] to inspect the journal inside the image. All " "arguments specified after the \\f[B]journalctl\\f[R] verb and separated by " "\\f[B]--\\f[R] from the regular options are appended to the " "\\f[B]journalctl\\f[R] invocation.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]coredumpctl\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Uses \\f[B]coredumpctl\\f[R] to look for coredumps inside the image. All " "arguments specified after the \\f[B]coredumpctl\\f[R] verb and separated by " "\\f[B]--\\f[R] from the regular options are appended to the " "\\f[B]coredumpctl\\f[R] invocation.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]sysupdate\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Invokes \\f[B]systemd-sysupdate\\f[R] with the \\f[B]--transfer-" "source=\\f[R] option set to the output directory and the \\f[B]--" "definitions=\\f[R] option set to the directory configured with " "\\f[B]SysupdateDirectory=\\f[R]. All arguments specified after the " "\\f[B]sysupdate\\f[R] verb and separated from the regular options with " "\\f[B]--\\f[R] are passed directly to \\f[B]systemd-sysupdate\\f[R].\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]box\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Run arbitrary commands inside of the same environment used to execute other " "verbs such as \\f[B]boot\\f[R], \\f[B]shell\\f[R], \\f[B]vm\\f[R] and more. " "This means \\f[B]/usr\\f[R] will be replaced by \\f[B]/usr\\f[R] from the " "tools tree if one is used while everything else will remain in place. If no " "command is provided, \\f[B]$SHELL\\f[R] will be executed or \\f[B]bash\\f[R] " "if \\f[B]$SHELL\\f[R] is not set. To pass extra options to the given " "command, separate them from regular options with \\f[B]--\\f[R].\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]clean\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Remove build artifacts generated on a previous build. If combined with " "\\f[B]-f\\f[R], also removes incremental build cache images and the tools " "tree. If \\f[B]-f\\f[R] is specified twice, also removes any package cache." "\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]serve\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "This builds the image if it is not built yet, and then serves the output " "directory (i.e.\\ usually \\f[B]mkosi.output/\\f[R], see below) via a small " "embedded HTTP server, listening on port 8081. Combine with \\f[B]-f\\f[R] " "in order to rebuild the image unconditionally before serving it. This " "command is useful for testing network-based acquisition of OS images, for " "example via \\f[B]machinectl pull-raw \\&...\\f[R] and \\f[B]machinectl pull-" "tar \\&...\\f[R].\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]burn EdeviceE\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]bump\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Bumps the image version from \\f[B]mkosi.version\\f[R] and writes the " "resulting version string to \\f[B]mkosi.version\\f[R]. This is useful for " "implementing a simple versioning scheme: each time this verb is called the " "version is bumped in preparation for the subsequent build. Note that " "\\f[B]--auto-bump\\f[R]/\\f[B]-B\\f[R] may be used to automatically bump the " "version as part of a build. The new version is only written to " "\\f[B]mkosi.version\\f[R] if the build succeeds in that case.\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "\\f[R]If \\f[B]mkosi.bump\\f[R] exists, it is invoked to generate the new " "version to be used instead of using mkosi\\(cqs own logic.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]genkey\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Generate a pair of SecureBoot keys for usage with the " "\\f[B]SecureBootKey=\\f[R]/\\f[B]--secure-boot-key=\\f[R] and " "\\f[B]SecureBootCertificate=\\f[R]/\\f[B]--secure-boot-certificate=\\f[R] " "options.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]documentation\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "Show \\f[B]mkosi\\f[R]\\(cqs documentation. If no argument is given, the " "\\f[B]mkosi\\f[R] man page is shown, but the arguments \\f[B]mkosi\\f[R], " "\\f[B]mkosi-initrd\\f[R], \\f[B]initrd\\f[R], \\f[B]mkosi-sandbox\\f[R], " "\\f[B]sandbox\\f[R], \\f[B]mkosi.news\\f[R] and \\f[B]news\\f[R] are " "supported and respectively show the man pages for \\f[B]mkosi\\f[R], " "\\f[B]mkosi-initrd\\f[R], \\f[B]mkosi-sandbox\\f[R] and \\f[B]mkosi\\f[R]\\" "(cqs NEWS file.\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "\\f[R]By default this verb will try several ways to output the " "documentation, but a specific option can be chosen with the \\f[B]--doc-" "format\\f[R] option. Distro packagers are encouraged to add a file " "\\f[B]mkosi.1\\f[R] into the \\f[B]mkosi/resources\\f[R] directory of the " "Python package, if it is missing, as well as to install it in the " "appropriate search path for man pages. The man page can be generated from " "the markdown file \\f[B]mkosi/resources/man/mkosi.1.md\\f[R] e.g via " "\\f[B]pandoc -t man -s -o mkosi.1 mkosi.1.md\\f[R].\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]completion\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Generate shell completion for the shell given as argument and print it to " "stdout. The arguments \\f[B]bash\\f[R], \\f[B]fish\\f[R], and " "\\f[B]zsh\\f[R] are understood.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]dependencies\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "\\f[R]This list can be piped directly to a package manager to install the " "packages. For example, if the host system uses the \\f[B]dnf\\f[R] package " "manager, the packages could be installed as follows:\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed #, no-wrap msgid "mkosi dependencies \\f[B]|\\f[R] xargs -d \\(aq\\(rsn\\(aq dnf install\\fR\n" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "\\f[R]By default, only the dependencies required to build images with mkosi " "are shown. Extra tools tree profiles can be enabled to also output the " "packages belonging to those profiles. For example, running \\f[B]mkosi " "dependencies -- --profile runtime\\f[R] will also output the packages in the " "runtime profile on top of the regular packages. See the documentation for " "\\f[B]ToolsTreeProfiles=\\f[R] for a list of available profiles.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]latest-snapshot\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "This verb is useful to automatically bump snapshots every so often. Note " "that this verb only outputs the latest snapshot. It\\(cqs up to the caller " "to ensure that the snapshot is written to the intended configuration file." msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]help\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "This verb is equivalent to the \\f[B]--help\\f[R] switch documented below: " "it shows a brief usage explanation.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]--force\\f[R], \\f[B]-f\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Replace the output file if it already exists, when building an image. By " "default when building an image and an output artifact already exists " "\\f[B]mkosi\\f[R] will refuse operation. Specify this option once to delete " "all build artifacts from a previous run before re-building the image. If " "incremental builds are enabled, specifying this option twice will ensure the " "intermediary cache files are removed, too, before the re-build is " "initiated. If a package cache is used (also see the \\f[B]FILES\\f[R] " "section below), specifying this option thrice will ensure the package cache " "is removed too, before the re-build is initiated. For the \\f[B]clean\\f[R] " "operation this option has a slightly different effect: by default the verb " "will only remove build artifacts from a previous run, when specified once " "the incremental cache files and the tools tree are deleted too, and when " "specified twice the package cache is also removed.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]--directory=\\f[R], \\f[B]-C\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]--debug\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]--debug-shell\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]--debug-workspace\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]--debug-sandbox\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]--version\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]--help\\f[R], \\f[B]-h\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]--genkey-common-name=\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "Common name to be used when generating keys via \\f[B]mkosi\\f[R]\\(cqs " "\\f[B]genkey\\f[R] command. Defaults to \\f[B]mkosi of %u\\f[R], where " "\\f[B]%u\\f[R] expands to the username of the user invoking " "\\f[B]mkosi\\f[R].\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]--genkey-valid-days=\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "Number of days that the keys should remain valid when generating keys via " "\\f[B]mkosi\\f[R]\\(cqs \\f[B]genkey\\f[R] command. Defaults to two years " "(730 days).\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]--auto-bump=\\f[R], \\f[B]-B\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "If specified, the version is bumped and if the build succeeds, the version " "is written to \\f[B]mkosi.version\\f[R] in a fashion equivalent to the " "\\f[B]bump\\f[R] verb. This is useful for simple, linear version " "management: each build in a series will have a version number one higher " "then the previous one.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]--doc-format\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "The format to show the documentation in. Supports the values " "\\f[B]markdown\\f[R], \\f[B]man\\f[R], \\f[B]pandoc\\f[R], " "\\f[B]system\\f[R] and \\f[B]auto\\f[R]. In the case of " "\\f[B]markdown\\f[R] the documentation is shown in the original Markdown " "format. \\f[B]man\\f[R] shows the documentation in man page format, if it " "is available. \\f[B]pandoc\\f[R] will generate the man page format on the " "fly, if \\f[B]pandoc\\f[R] is available. \\f[B]system\\f[R] will show the " "system-wide man page for \\f[B]mkosi\\f[R], which may or may not correspond " "to the version you are using, depending on how you installed " "\\f[B]mkosi\\f[R]. \\f[B]auto\\f[R], which is the default, will try all " "methods in the order \\f[B]man\\f[R], \\f[B]pandoc\\f[R], " "\\f[B]markdown\\f[R], \\f[B]system\\f[R].\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]--json\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]--wipe-build-dir\\f[R], \\f[B]-w\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]--rerun-build-scripts\\f[R], \\f[B]-R\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Rerun build scripts. Requires the \\f[B]Incremental=\\f[R] option to be " "enabled and the image to have been built once already. If " "\\f[B]History=\\f[R] is enabled, the history from the previous build will be " "reused and no new history will be written.\\fR" msgstr "" #. type: IP #: debian-unstable opensuse-tumbleweed #, no-wrap msgid "\\(bu" msgstr "" #. type: IP #: debian-unstable opensuse-tumbleweed #, no-wrap msgid "\\f[R]\\(bu\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "\\&... and much more. See \\f[B]Format=\\f[R] documentation below.\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "When a \\f[I]GPT\\f[R] disk image is created, repart partition definition " "files may be placed in \\f[B]mkosi.repart/\\f[R] to configure the generated " "disk image.\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "The following settings can be set through configuration files (the syntax " "with \\f[B]SomeSetting=value\\f[R]) and on the command line (the syntax with " "\\f[B]--some-setting=value\\f[R]). For some command line parameters, a " "single-letter shortcut is also allowed. In the configuration files, the " "setting must be in the appropriate section, so the settings are grouped by " "section below.\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "\\f[B]mkosi.local.conf\\f[R] and \\f[B]mkosi.local/\\f[R] are parsed if they " "exists (in that order). This file and directory should be in " "\\f[B].gitignore\\f[R] (or equivalent) and are intended for local " "configuration.\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "\\f[B]mkosi.conf\\f[R] is parsed if it exists in the directory configured " "with \\f[B]--directory=\\f[R] or the current working directory if \\f[B]--" "directory=\\f[R] is not used. If the specified directory does not contain a " "\\f[B]mkosi.conf\\f[R] or \\f[B]mkosi.tools.conf\\f[R] and a \\f[B]mkosi/" "mkosi.conf\\f[R] or \\f[B]mkosi/mkosi.tools.conf\\f[R] exists, the " "configuration will be parsed from the \\f[B]mkosi/\\f[R] subdirectory of the " "specified directory instead.\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "\\f[B]mkosi.conf.d/\\f[R] is parsed in the same directory as " "\\f[B]mkosi.conf\\f[R] if it exists. Each directory and each file with the " "\\f[B].conf\\f[R] extension in \\f[B]mkosi.conf.d/\\f[R] is parsed. Any " "directory in \\f[B]mkosi.conf.d\\f[R] is parsed as if it were a regular top " "level directory, except for \\f[B]mkosi.images/\\f[R] and " "\\f[B]mkosi.tools.conf\\f[R], which are only picked up in the top level " "directory.\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "If any profiles are configured, their configuration is parsed from the " "\\f[B]mkosi.profiles/\\f[R] directory.\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Subimages are parsed from the \\f[B]mkosi.images/\\f[R] directory if it " "exists.\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Note that settings configured via the command line always override settings " "configured via configuration files. If the same setting is configured more " "than once via configuration files, later assignments override earlier " "assignments except for settings that take a collection of values. Also, " "settings read from \\f[B]mkosi.local.conf\\f[R] or \\f[B]mkosi.local/\\f[R] " "will override settings from configuration files that are parsed later, but " "not settings specified on the CLI.\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "For settings that take a single value, the empty assignment " "(\\f[B]SomeSetting=\\f[R] or \\f[B]--some-setting=\\f[R]) can be used to " "override a previous setting and reset to the default.\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "To conditionally include configuration files, the \\f[B][Match]\\f[R] " "section can be used. A \\f[B][Match]\\f[R] section consists of individual " "conditions. Conditions can use a pipe symbol (\\f[B]|\\f[R]) after the " "equals sign (\\f[B]\\&...=|\\&...\\f[R]), which causes the condition to " "become a triggering condition. The config file will be included if the " "logical AND of all non-triggering conditions and the logical OR of all " "triggering conditions is satisfied. To negate the result of a condition, " "prefix the argument with an exclamation mark. If an argument is prefixed " "with the pipe symbol and an exclamation mark, the pipe symbol must be passed " "first, and the exclamation second.\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Note that \\f[B][Match]\\f[R] conditions compare against the current values " "of specific settings, and do not take into account changes made to the " "setting in configuration files that have not been parsed yet (settings " "specified on the CLI are taken into account). Also note that matching " "against a setting and then changing its value afterwards in a different " "config file may lead to unexpected results.\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "The \\f[B][Match]\\f[R] section of a \\f[B]mkosi.conf\\f[R] file in a " "directory applies to the entire directory. If the conditions are not " "satisfied, the entire directory is skipped. The \\f[B][Match]\\f[R] " "sections of files in \\f[B]mkosi.conf.d/\\f[R] and " "\\f[B]mkosi.local.conf\\f[R] only apply to the file itself.\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "If there are multiple \\f[B][Match]\\f[R] sections in the same configuration " "file, each of them has to be satisfied in order for the configuration file " "to be included. Specifically, triggering conditions only apply to the " "current \\f[B][Match]\\f[R] section and are reset between multiple \\f[B]" "[Match]\\f[R] sections. As an example, the following will only match if the " "output format is one of \\f[B]disk\\f[R] or \\f[B]directory\\f[R] and the " "architecture is one of \\f[B]x86-64\\f[R] or \\f[B]arm64\\f[R]:\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "The \\f[B][TriggerMatch]\\f[R] section can be used to indicate triggering " "matches. These are identical to triggering conditions in systemd units " "except they apply to the entire match section instead of just a single " "condition. As an example, the following will match if the distribution is " "\\f[B]debian\\f[R] and the release is \\f[B]bookworm\\f[R] or if the " "distribution is \\f[B]ubuntu\\f[R] and the release is \\f[B]noble\\f[R].\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "The semantics of conditions in \\f[B][TriggerMatch]\\f[R] sections is the " "same as in \\f[B][Match]\\f[R], i.e.\\ all normal conditions are joined by a " "logical AND and all triggering conditions are joined by a logical OR. When " "mixing \\f[B][Match]\\f[R] and \\f[B][TriggerMatch]\\f[R] sections, a match " "is achieved when all \\f[B][Match]\\f[R] sections match and at least one " "\\f[B][TriggerMatch]\\f[R] section matches. The absence of match sections " "is valued as true. Logically this means:\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "There is also support for \\f[B][Assert]\\f[R] and \\f[B][TriggerAssert]" "\\f[R] sections which behave identically to match sections except parsing " "configuration will fail if the assert sections are not satisfied, i.e.\\ all " "\\f[B][Assert]\\f[R] sections in a file as well as at least one \\f[B]" "[TriggertAssert]\\f[R] section have to be satisfied or config parsing will " "fail.\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Command line options that take no argument are shown without \\f[B]=\\f[R] " "in their long version. In the config files, they should be specified with a " "boolean argument: either \\f[B]1\\f[R], \\f[B]yes\\f[R], or \\f[B]true\\f[R] " "to enable, or \\f[B]0\\f[R], \\f[B]no\\f[R], \\f[B]false\\f[R] to disable." "\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]Distribution=\\f[R], \\f[B]--distribution=\\f[R], \\f[B]-d\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "The distribution to install in the image. Takes one of the following " "arguments: \\f[B]fedora\\f[R], \\f[B]debian\\f[R], \\f[B]kali\\f[R], " "\\f[B]ubuntu\\f[R], \\f[B]arch\\f[R], \\f[B]opensuse\\f[R], " "\\f[B]mageia\\f[R], \\f[B]centos\\f[R], \\f[B]rhel\\f[R], \\f[B]rhel-" "ubi\\f[R], \\f[B]openmandriva\\f[R], \\f[B]rocky\\f[R], \\f[B]alma\\f[R], " "\\f[B]azure\\f[R] or \\f[B]custom\\f[R]. If not specified, defaults to the " "distribution of the host or \\f[B]custom\\f[R] if the distribution of the " "host is not a supported distribution.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]Release=\\f[R], \\f[B]--release=\\f[R], \\f[B]-r\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "The release of the distribution to install in the image. The precise syntax " "of the argument this takes depends on the distribution used, and is either a " "numeric string (in case of Fedora Linux, CentOS, \\&..., e.g.\\ " "\\f[B]29\\f[R]), or a distribution version name (in case of Debian, Kali, " "Ubuntu, \\&..., e.g.\\ \\f[B]artful\\f[R]). Defaults to a recent version of " "the chosen distribution, or the version of the distribution running on the " "host if it matches the configured distribution.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]Architecture=\\f[R], \\f[B]--architecture=\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "The architecture to build the image for. The architectures that are " "actually supported depends on the distribution used and whether a bootable " "image is requested or not. When building for a foreign architecture, you\\" "(cqll also need to install and register a user mode emulator for that " "architecture." msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "One of the following architectures can be specified per image built: " "\\f[B]alpha\\f[R], \\f[B]arc\\f[R], \\f[B]arm\\f[R], \\f[B]arm64\\f[R], " "\\f[B]ia64\\f[R], \\f[B]loongarch64\\f[R], \\f[B]mips64-le\\f[R], \\f[B]mips-" "le\\f[R], \\f[B]parisc\\f[R], \\f[B]ppc\\f[R], \\f[B]ppc64\\f[R], " "\\f[B]ppc64-le\\f[R], \\f[B]riscv32\\f[R], \\f[B]riscv64\\f[R], " "\\f[B]s390\\f[R], \\f[B]s390x\\f[R], \\f[B]tilegx\\f[R], \\f[B]x86\\f[R], " "\\f[B]x86-64\\f[R].\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]Mirror=\\f[R], \\f[B]--mirror=\\f[R], \\f[B]-m\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]debian\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]arch\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]opensuse\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]kali\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]ubuntu\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]centos\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]rocky\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]alma\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]fedora\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]rhel-ubi\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]mageia\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]openmandriva\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]azure\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]Snapshot=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Download packages from the given snapshot instead of downloading the latest " "distribution packages from the given mirror. Takes a snapshot ID (the " "format of the snapshot ID differs per distribution), use the \\f[B]latest-" "snapshot\\f[R] verb to figure out the latest available snapshot.\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "\\f[R]If this setting is configured and \\f[B]Mirror=\\f[R] is not " "explicitly configured, different default mirrors are used:\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "\\f[R]For any distribution not listed above, snapshots are not supported.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]LocalMirror=\\f[R], \\f[B]--local-mirror=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "The mirror will be used as a local, plain and direct mirror instead of using " "it as a prefix for the full set of repositories normally supported by " "distributions. Useful for fully offline builds with a single repository. " "Supported on \\f[B]deb\\f[R]-, \\f[B]rpm\\f[R]-, and \\f[B]pacman\\f[R]-" "based distributions. Overrides \\f[B]--mirror=\\f[R] but only for the local " "\\f[B]mkosi\\f[R] build, it will not be configured inside the final image, " "\\f[B]--mirror=\\f[R] (or the default repository) will be configured inside " "the final image instead.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]RepositoryKeyCheck=\\f[R], \\f[B]--repository-key-check=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Controls signature/key checks when using repositories, enabled by default. " "Useful to disable checks when combined with \\f[B]--local-mirror=\\f[R] and " "using only a repository from a local filesystem.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]RepositoryKeyFetch=\\f[R], \\f[B]--repository-key-fetch=\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "\\f[R]This setting is only implemented for distributions using " "\\f[B]dnf\\f[R], \\f[B]pacman\\f[R] or \\f[B]zypper\\f[R] as their package " "manager. For other distributions the distribution GPG keys are always " "looked up locally regardless of the value of this setting. To make the " "distribution GPG keys for distributions available without enabling this " "setting, the corresponding package has to be installed on the host. This is " "usually one of \\f[B]archlinux-keyring\\f[R], \\f[B]debian-keyring\\f[R], " "\\f[B]kali-archive-keyring\\f[R], \\f[B]ubuntu-keyring\\f[R] or " "\\f[B]distribution-gpg-keys\\f[R] (for RPM-based distributions).\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]Repositories=\\f[R], \\f[B]--repositories=\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]Format=\\f[R], \\f[B]--format=\\f[R], \\f[B]-t\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "The image format type to generate. One of \\f[B]directory\\f[R] (for " "generating an OS image directly in a local directory), \\f[B]tar\\f[R] " "(similar, but a tarball of the OS image is generated), \\f[B]cpio\\f[R] " "(similar, but a cpio archive is generated), \\f[B]disk\\f[R] (a block device " "OS image with a GPT partition table), \\f[B]uki\\f[R] (a unified kernel " "image with the OS image in the \\f[B].initrd\\f[R] PE section), " "\\f[B]esp\\f[R] (a disk image with only an ESP partition, bootloader and " "optionally a UKI), \\f[B]oci\\f[R] (a directory compatible with the OCI " "image specification), \\f[B]sysext\\f[R], \\f[B]confext\\f[R], " "\\f[B]portable\\f[R], \\f[B]addon\\f[R] or \\f[B]none\\f[R] (the OS image is " "solely intended as a build image to produce another artifact).\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "\\f[R]If the \\f[B]disk\\f[R] output format is used, the disk image is " "generated using \\f[B]systemd-repart\\f[R]. The repart partition definition " "files to use can be configured using the \\f[B]RepartDirectories=\\f[R] " "setting or via \\f[B]mkosi.repart/\\f[R]. When verity partitions are " "configured using \\f[B]systemd-repart\\f[R]\\(cqs \\f[B]Verity=\\f[R] " "setting, \\f[B]mkosi\\f[R] will automatically parse the verity hash " "partition\\(cqs roothash from \\f[B]systemd-repart\\f[R]\\(cqs JSON output " "and include it in the kernel command line of every unified kernel image " "built by \\f[B]mkosi\\f[R]. If the \\f[B]none\\f[R] output format is used, " "the outputs from a previous build are not removed, but clean scripts (see " "\\f[B]CleanScripts=\\f[R]) are still executed. This allows rerunning a " "build script (see \\f[B]BuildScripts=\\f[R]) without removing the results " "of a previous build.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]ManifestFormat=\\f[R], \\f[B]--manifest-format=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "The manifest format type or types to generate. A comma-delimited list " "consisting of \\f[B]json\\f[R] (the standard JSON output format that " "describes the packages installed), \\f[B]changelog\\f[R] (a human-readable " "text format designed for diffing). By default no manifest is generated.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]Output=\\f[R], \\f[B]--output=\\f[R], \\f[B]-o\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Name to use for the generated output image file or directory. Defaults to " "\\f[B]image\\f[R] or, if \\f[B]ImageId=\\f[R] is specified, it is used as " "the default output name, optionally suffixed with the version set with " "\\f[B]ImageVersion=\\f[R] or if a specific image is built from " "\\f[B]mkosi.images\\f[R], the name of the image is preferred over " "\\f[B]ImageId\\f[R]. Note that this option does not allow configuring the " "output directory, use \\f[B]OutputDirectory=\\f[R] for that.\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "\\f[R]Note that this only specifies the output prefix, depending on the " "specific output format, compression and image version used, the full output " "name might be \\f[B]image_7.8.raw.xz\\f[R].\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]OutputExtension=\\f[R], \\f[B]--output-extension=\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]CompressOutput=\\f[R], \\f[B]--compress-output=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Configure compression for the resulting image or archive. The argument can " "be either a boolean or a compression algorithm (\\f[B]xz\\f[R], " "\\f[B]zstd\\f[R]). \\f[B]zstd\\f[R] compression is used by default, except " "CentOS and derivatives up to version 8, which default to \\f[B]xz\\f[R], and " "OCI images, which default to \\f[B]gzip\\f[R]. Note that when applied to " "block device image types, compression means the image cannot be started " "directly but needs to be decompressed first. This also means that the " "\\f[B]shell\\f[R], \\f[B]boot\\f[R], \\f[B]vm\\f[R] verbs are not available " "when this option is used. Implied for \\f[B]tar\\f[R], \\f[B]cpio\\f[R], " "\\f[B]uki\\f[R], \\f[B]esp\\f[R], \\f[B]oci\\f[R] and \\f[B]addon\\f[R].\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]CompressLevel=\\f[R], \\f[B]--compress-level=\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]OutputDirectory=\\f[R], \\f[B]--output-directory=\\f[R], \\f[B]-O\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Path to a directory where to place all generated artifacts. If this is not " "specified and the directory \\f[B]mkosi.output/\\f[R] exists in the local " "directory, it is automatically used for this purpose.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]OutputMode=\\f[R], \\f[B]--output-mode=\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]ImageVersion=\\f[R], \\f[B]--image-version=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Configure the image version. This accepts any string, but it is recommended " "to specify a series of dot separated components. The version may also be " "configured by reading a \\f[B]mkosi.version\\f[R] file (in which case it may " "be conveniently managed via the \\f[B]bump\\f[R] verb or the \\f[B]--auto-" "bump\\f[R] option) or by reading stdout if it is executable (see the " "\\f[B]Scripts\\f[R] section below). When specified the image version is " "included in the default output file name, i.e.\\ instead of " "\\f[B]image.raw\\f[R] the default will be \\f[B]image_0.1.raw\\f[R] for " "version \\f[B]0.1\\f[R] of the image, and similar. The version is also " "passed via the \\f[B]$IMAGE_VERSION\\f[R] to any build scripts invoked " "(which may be useful to patch it into \\f[B]/usr/lib/os-release\\f[R] or " "similar, in particular the \\f[B]IMAGE_VERSION=\\f[R] field of it).\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]ImageId=\\f[R], \\f[B]--image-id=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Configure the image identifier. This accepts a freeform string that shall " "be used to identify the image with. If set the default output file will be " "named after it (possibly suffixed with the version). The identifier is also " "passed via the \\f[B]$IMAGE_ID\\f[R] to any build scripts invoked. The " "image ID is automatically added to \\f[B]/usr/lib/os-release\\f[R].\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]SplitArtifacts=\\f[R], \\f[B]--split-artifacts=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "The artifact types to split out of the final image. A comma-delimited list " "consisting of \\f[B]uki\\f[R], \\f[B]kernel\\f[R], \\f[B]initrd\\f[R], " "\\f[B]os-release\\f[R], \\f[B]prcs\\f[R], \\f[B]partitions\\f[R], " "\\f[B]roothash\\f[R], \\f[B]kernel-modules-initrd\\f[R], \\f[B]repart-" "definitions\\f[R] and \\f[B]tar\\f[R]. When building a bootable image " "\\f[B]kernel\\f[R] and \\f[B]initrd\\f[R] correspond to their artifact found " "in the image (or in the UKI), while \\f[B]uki\\f[R] copies out the entire " "UKI. If \\f[B]pcrs\\f[R] is specified, a JSON file containing the pre-" "calculated TPM2 digests is written out, according to the E<.UR https://uapi-" "group.org/specifications/specs/unified_kernel_image/#json-format-for-pcrsig> " "UKI specification E<.UE > , which is useful for offline signing.\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "\\f[R]When building a disk image and \\f[B]partitions\\f[R] is specified, " "pass \\f[B]--split=yes\\f[R] to \\f[B]systemd-repart\\f[R] to have it write " "out split partition files for each configured partition. Read the E<.UR " "https://www.freedesktop.org/software/systemd/man/systemd-repart.html#--" "split=BOOL> man E<.UE > \\ page for more information. This is useful in A/B " "update scenarios where an existing disk image shall be augmented with a new " "version of a root or \\f[B]/usr\\f[R] partition along with its Verity " "partition and unified kernel. When \\f[B]tar\\f[R] is specified, the rootfs " "is additionally archived as a tar archive (compressed according to " "\\f[B]CompressOutput=\\f[R]). When \\f[B]roothash\\f[R] is specified and a " "dm-verity disk image is built, the dm-verity roothash is written out as a " "separate file, which is useful for offline signing. \\f[B]kernel-modules-" "initrd\\f[R] corresponds to the separate kernel modules initrd which mkosi " "appends to the main initrd. This is primarily intended for debugging as " "many initrd inspection tools don\\(cqt properly handle multiple initrds " "appended to each other. When \\f[B]repart-definitions\\f[R] is specified, a " "directory containing the used repart definition files is written to the " "output directory. If multiple directories are configured via " "\\f[B]RepartDirectories=\\f[R], they are merged, with later directories " "taking priority over earlier ones when files with identical names exist. By " "default \\f[B]uki\\f[R], \\f[B]kernel\\f[R] and \\f[B]initrd\\f[R] are split " "out.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]RepartDirectories=\\f[R], \\f[B]--repart-directory=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Paths to directories containing \\f[B]systemd-repart\\f[R] partition " "definition files that are used when \\f[B]mkosi\\f[R] invokes \\f[B]systemd-" "repart\\f[R] when building a disk image. If \\f[B]mkosi.repart/\\f[R] " "exists in the local directory, it will be used for this purpose as well. " "Note that \\f[B]mkosi\\f[R] invokes repart with \\f[B]--root=\\f[R] set to " "the root of the image root, so any \\f[B]CopyFiles=\\f[R] source paths in " "partition definition files will be relative to the image root directory.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]SectorSize=\\f[R], \\f[B]--sector-size=\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]Overlay=\\f[R], \\f[B]--overlay=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "When used together with \\f[B]BaseTrees=\\f[R], the output will consist only " "out of changes to the specified base trees. Each base tree is attached as a " "lower layer in an overlayfs structure, and the output becomes the upper " "layer, initially empty. Thus files that are not modified compared to the " "base trees will not be present in the final output.\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "\\f[R]This option may be used to create E<.UR https://uapi-group.org/" "specifications/specs/extension_image> systemd \\f[I]system extensions\\f[R] " "E<.UE > \\&.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]Seed=\\f[R], \\f[B]--seed=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Takes a UUID as argument or the special value \\f[B]random\\f[R]. Overrides " "the seed that \\f[B]systemd-repart\\f[R] uses when building a disk image. " "This is useful to achieve reproducible builds, where deterministic UUIDs and " "other partition metadata should be derived on each build. If not specified " "explicitly and the file \\f[B]mkosi.seed\\f[R] exists in the local " "directory, the UUID to use is read from it. Otherwise, a random UUID is " "used.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]CleanScripts=\\f[R], \\f[B]--clean-script=\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]Packages=\\f[R], \\f[B]--package=\\f[R], \\f[B]-p\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Install the specified distribution packages (i.e.\\ RPM, deb, \\&...) in " "the image. Takes a comma-separated list of package specifications. This " "option may be used multiple times in which case the specified package lists " "are combined. Use \\f[B]BuildPackages=\\f[R] to specify packages that shall " "only be installed in an overlay that is mounted when the prepare scripts are " "executed with the \\f[B]build\\f[R] argument and when the build scripts are " "executed.\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "\\f[R]The types and syntax of \\f[I]package specifications\\f[R] that are " "allowed depend on the package installer (e.g.\\ \\f[B]dnf\\f[R] for RPM-" "based distros or \\f[B]apt\\f[R] for deb-based distros), but may include " "package names, package names with version and/or architecture, package name " "globs, package groups, and virtual provides, including file paths. See " "\\f[B]PackageDirectories=\\f[R] for information on how to make local " "packages available for installation with \\f[B]Packages=\\f[R]. " "\\f[B]Example\\f[R]: when using a distro that uses \\f[B]dnf\\f[R], the " "following configuration would install the \\f[B]meson\\f[R] package (in the " "latest version), the 32-bit version of the \\f[B]libfdisk-devel\\f[R] " "package, all available packages that start with the \\f[B]git-\\f[R] prefix, " "a \\f[B]systemd\\f[R] RPM from the local file system, one of the packages " "that provides \\f[B]/usr/bin/ld\\f[R], the packages in the \\f[I]Development " "Tools\\f[R] group, and the package that contains the \\f[B]mypy\\f[R] python " "module.\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed #, no-wrap msgid "" "Packages=meson\n" " libfdisk-devel.i686\n" " git-*\n" " /usr/bin/ld\n" " \\(atdevelopment-tools\n" " python3dist(mypy)\n" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]BuildPackages=\\f[R], \\f[B]--build-package=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Similar to \\f[B]Packages=\\f[R], but configures packages to install only in " "an overlay that is made available on top of the image to the prepare scripts " "when executed with the \\f[B]build\\f[R] argument and the build scripts. " "This option should be used to list packages containing header files, " "compilers, build systems, linkers and other build tools the " "\\f[B]mkosi.build\\f[R] scripts require to operate. Note that packages " "listed here will be absent in the final image.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]VolatilePackages=\\f[R], \\f[B]--volatile-package=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Similar to \\f[B]Packages=\\f[R], but packages configured with this setting " "are not cached when \\f[B]Incremental=\\f[R] is enabled and are installed " "after executing any build scripts.\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "\\f[R]Specifically, this setting can be used to install packages that change " "often or which are built by a build script.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]PackageDirectories=\\f[R], \\f[B]--package-directory=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Specify directories containing extra packages to be made available during " "the build. \\f[B]mkosi\\f[R] will create a local repository containing all " "packages in these directories and make it available when installing packages " "or running scripts. If the \\f[B]mkosi.packages/\\f[R] directory is found " "in the local directory it is also used for this purpose.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]VolatilePackageDirectories=\\f[R], \\f[B]--volatile-package-directory=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Like \\f[B]PackageDirectories=\\f[R], but any changes to the packages in " "these directories will not invalidate the cached images if " "\\f[B]Incremental=\\f[R] is enabled.\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "\\f[R]Additionally, build scripts can add more packages to the local " "repository by placing the built packages in \\f[B]$PACKAGEDIR\\f[R]. The " "packages placed in \\f[B]$PACKAGEDIR\\f[R] are shared between all image " "builds and thus available for installation in all images using " "\\f[B]VolatilePackages=\\f[R].\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]WithRecommends=\\f[R], \\f[B]--with-recommends=\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]WithDocs=\\f[R], \\f[B]--with-docs=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Include documentation in the image. Enabled by default. When disabled, if " "the underlying distribution package manager supports it documentation is not " "included in the image. The \\f[B]$WITH_DOCS\\f[R] environment variable " "passed to the \\f[B]mkosi.build\\f[R] scripts is set to \\f[B]0\\f[R] or " "\\f[B]1\\f[R] depending on whether this option is enabled or disabled.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]BaseTrees=\\f[R], \\f[B]--base-tree=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Takes a comma-separated list of paths to use as base trees. When used, " "these base trees are each copied into the OS tree and form the base " "distribution instead of installing the distribution from scratch. Only " "extra packages are installed on top of the ones already installed in the " "base trees. Note that for this to work properly, the base image still needs " "to contain the package manager metadata by setting " "\\f[B]CleanPackageMetadata=no\\f[R] (see \\f[B]CleanPackageMetadata=\\f[R])." "\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "\\f[R]Instead of a directory, a tar file or a disk image may be provided. " "In this case it is unpacked into the OS tree. This mode of operation allows " "setting permissions and file ownership explicitly, in particular for " "projects stored in a version control system such as \\f[B]git\\f[R] which " "retain full file ownership and access mode metadata for committed files.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]SkeletonTrees=\\f[R], \\f[B]--skeleton-tree=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Takes a comma-separated list of colon-separated path pairs. The first path " "of each pair refers to a directory to copy into the OS tree before invoking " "the package manager. The second path of each pair refers to the target " "directory inside the image. If the second path is not provided, the " "directory is copied on top of the root directory of the image. The second " "path is always interpreted as an absolute path. Use this to insert files " "and directories into the OS tree before the package manager installs any " "packages. If the \\f[B]mkosi.skeleton/\\f[R] directory is found in the " "local directory it is also used for this purpose with the root directory as " "target (also see the \\f[B]FILES\\f[R] section below).\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "\\f[R]Note that skeleton trees are cached and any changes to skeleton trees " "after a cached image has been built (when using \\f[B]Incremental=\\f[R]) " "are only applied when the cached image is rebuilt (by using \\f[B]-ff\\f[R] " "or running \\f[B]mkosi -f clean\\f[R]). As with the base tree logic above, " "instead of a directory, a tar file may be provided too. " "\\f[B]mkosi.skeleton.tar\\f[R] will be automatically used if found in the " "local directory. To add extra package manager configuration files such as " "extra repositories, use \\f[B]SandboxTrees=\\f[R] as \\f[B]mkosi\\f[R] " "invokes the package managers from outside the image and not inside so any " "package manager configuration files provided via \\f[B]SkeletonTrees=\\f[R] " "won\\(cqt take effect when \\f[B]mkosi\\f[R] invokes a package manager to " "install packages.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]ExtraTrees=\\f[R], \\f[B]--extra-tree=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Takes a comma-separated list of colon-separated path pairs. The first path " "of each pair refers to a directory to copy from the host into the image. " "The second path of each pair refers to the target directory inside the " "image. If the second path is not provided, the directory is copied on top " "of the root directory of the image. The second path is always interpreted " "as an absolute path. Use this to override any default configuration files " "shipped with the distribution. If the \\f[B]mkosi.extra/\\f[R] directory is " "found in the local directory it is also used for this purpose with the root " "directory as target (also see the \\f[B]FILES\\f[R] section below).\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "\\f[R]As with the base tree logic above, instead of a directory, a tar file " "may be provided too. \\f[B]mkosi.extra.tar\\f[R] will be automatically used " "if found in the local directory.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]RemovePackages=\\f[R], \\f[B]--remove-package=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Takes a comma-separated list of package specifications for removal, in the " "same format as \\f[B]Packages=\\f[R]. The removal will be performed as one " "of the last steps. This step is skipped if " "\\f[B]CleanPackageMetadata=no\\f[R] is used.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]RemoveFiles=\\f[R], \\f[B]--remove-files=\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]CleanPackageMetadata=\\f[R], \\f[B]--clean-package-metadata=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Enable/disable removal of package manager databases and repository metadata " "at the end of installation. Can be specified as \\f[B]true\\f[R], " "\\f[B]false\\f[R], or \\f[B]auto\\f[R] (the default). With " "\\f[B]auto\\f[R], package manager databases and repository metadata will be " "removed if the respective package manager executable is \\f[I]not\\f[R] " "present at the end of the installation.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]SourceDateEpoch=\\f[R], \\f[B]--source-date-epoch=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Takes a timestamp in seconds since the UNIX epoch as argument. File " "modification times of all files will be clamped to this value. The variable " "is also propagated to \\f[B]systemd-repart\\f[R] and scripts executed by " "\\f[B]mkosi\\f[R]. If not set explicitly, \\f[B]SOURCE_DATE_EPOCH\\f[R] " "from \\f[B]--environment=\\f[R] and from the host environment are tried in " "that order. This is useful to make builds reproducible. See E<.UR https://" "reproducible-builds.org/specs/source-date-epoch/> SOURCE_DATE_EPOCH E<.UE > " "\\ for more information.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]SyncScripts=\\f[R], \\f[B]--sync-script=\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]PrepareScripts=\\f[R], \\f[B]--prepare-script=\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]BuildScripts=\\f[R], \\f[B]--build-script=\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]PostInstallationScripts=\\f[R], \\f[B]--postinst-script=\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]FinalizeScripts=\\f[R], \\f[B]--finalize-script=\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]PostOutputScripts=\\f[R], \\f[B]--postoutput-script=\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]Bootable=\\f[R], \\f[B]--bootable=\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "Takes a boolean or \\f[B]auto\\f[R]. Enables or disables generation of a " "bootable image. If enabled, \\f[B]mkosi\\f[R] will install an EFI " "bootloader, and add an ESP partition when the disk image output is used. If " "the selected EFI bootloader (see \\f[B]Bootloader=\\f[R]) is not installed " "or no kernel images can be found, the build will fail. \\f[B]auto\\f[R] " "behaves as if the option was enabled, but the build won\\(cqt fail if either " "no kernel images or the selected EFI bootloader can\\(cqt be found. If " "disabled, no bootloader will be installed even if found inside the image, no " "unified kernel images will be generated and no ESP partition will be added " "to the image if the disk output format is used.\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "\\f[R]If the \\f[B]esp\\f[R] output format is used, an ESP partition and " "bootloader are always added, and the \\f[B]Bootable=\\f[R] option only " "controls whether a UKI is added to the ESP partition or not.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]Bootloader=\\f[R], \\f[B]--bootloader=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Takes one of \\f[B]none\\f[R], \\f[B]systemd-boot\\f[R], \\f[B]uki\\f[R], " "\\f[B]grub\\f[R], \\f[B]systemd-boot-signed\\f[R], \\f[B]uki-signed\\f[R] or " "\\f[B]grub-signed\\f[R]. Defaults to \\f[B]systemd-boot\\f[R]. If set to " "\\f[B]none\\f[R], no EFI bootloader will be installed into the image. If " "set to \\f[B]systemd-boot\\f[R], \\f[B]systemd-boot\\f[R] will be installed " "and for each installed kernel, a UKI will be generated and stored in " "\\f[B]EFI/Linux\\f[R] in the ESP. If set to \\f[B]uki\\f[R], a single UKI " "will be generated for the latest installed kernel (the one with the highest " "version) which is installed to \\f[B]EFI/BOOT/BOOTX64.EFI\\f[R] in the ESP. " "If set to \\f[B]grub\\f[R], for each installed kernel, a UKI will be " "generated and stored in \\f[B]EFI/Linux\\f[R] in the ESP. For each " "generated UKI, a menu entry is appended to the grub configuration in " "\\f[B]grub/grub.cfg\\f[R] in the ESP which chainloads into the UKI. A shim " "grub.cfg is also written to \\f[B]EFI/EdistributionE/grub.cfg\\f[R] " "in the ESP which loads \\f[B]grub/grub.cfg\\f[R] in the ESP for " "compatibility with signed versions of grub which load the grub configuration " "from this location.\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "\\f[R]The \\f[B]signed\\f[R] variants will only install pre-signed EFI " "binaries shipped by the distribution. Kernels need to be placed into the " "root filesystem (for example using \\f[B]ExtraTrees=\\f[R]) under \\f[B]/usr/" "lib/modules/$version\\f[R], named \\f[B]vmlinux\\f[R] or " "\\f[B]vmlinuz\\f[R]. The \\f[B]$version\\f[R] is as produced by Kbuild\\" "(cqs \\f[B]kernelversion\\f[R] make target. Note: When using \\f[B]systemd-" "boot\\f[R] or \\f[B]systemd-boot-signed\\f[R], \\f[B]mkosi\\f[R] expects the " "\\f[B]systemd-boot\\f[R] EFI binaries to be present in the image. Depending " "on your distribution, these may be packaged separately. For example, " "Debian- based images will need \\f[B]systemd-boot-efi\\f[R].\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]BiosBootloader=\\f[R], \\f[B]--bios-bootloader=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Takes one of \\f[B]none\\f[R] or \\f[B]grub\\f[R]. Defaults to " "\\f[B]none\\f[R]. If set to \\f[B]none\\f[R], no BIOS bootloader will be " "installed. If set to \\f[B]grub\\f[R], grub is installed as the BIOS boot " "loader if a bootable image is requested with the \\f[B]Bootable=\\f[R] " "option. If no repart partition definition files are configured, " "\\f[B]mkosi\\f[R] will add a grub BIOS boot partition and an EFI system " "partition to the default partition definition files.\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "\\f[R]Note that this option is not mutually exclusive with " "\\f[B]Bootloader=\\f[R]. It is possible to have an image that is both " "bootable on UEFI and BIOS by configuring both \\f[B]Bootloader=\\f[R] and " "\\f[B]BiosBootloader=\\f[R]. The grub BIOS boot partition should have UUID " "\\f[B]21686148-6449-6e6f-744e-656564454649\\f[R] and should be at least " "1MB. Even if no EFI bootloader is installed, we still need an ESP for BIOS " "boot as that\\(cqs where we store the kernel, initrd and grub modules.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]ShimBootloader=\\f[R], \\f[B]--shim-bootloader=\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "Takes one of \\f[B]none\\f[R], \\f[B]unsigned\\f[R], or \\f[B]signed\\f[R]. " "Defaults to \\f[B]none\\f[R]. If set to \\f[B]none\\f[R], shim and " "MokManager will not be installed to the ESP. If set to " "\\f[B]unsigned\\f[R], \\f[B]mkosi\\f[R] will search for unsigned shim and " "MokManager EFI binaries and install them. If \\f[B]SecureBoot=\\f[R] is " "enabled, \\f[B]mkosi\\f[R] will sign the unsigned EFI binaries before " "installing them. If set to \\f[B]signed\\f[R], \\f[B]mkosi\\f[R] will " "search for signed EFI binaries and install those. Even if " "\\f[B]SecureBoot=\\f[R] is enabled, \\f[B]mkosi\\f[R] won\\(cqt sign these " "binaries again.\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "\\f[R]Note that this option only takes effect when an image that is bootable " "on UEFI firmware is requested using other options (\\f[B]Bootable=\\f[R], " "\\f[B]Bootloader=\\f[R]). Note that when this option is enabled, " "\\f[B]mkosi\\f[R] will only install already signed bootloader binaries, " "kernel image files and unified kernel images as self-signed binaries would " "not be accepted by the signed version of shim.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]UnifiedKernelImages=\\f[R], \\f[B]--unified-kernel-images=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Specifies whether to use unified kernel images or not when " "\\f[B]Bootloader=\\f[R] is set to \\f[B]systemd-boot\\f[R] or " "\\f[B]grub\\f[R]. Takes one of \\f[B]none\\f[R], \\f[B]unsigned\\f[R], " "\\f[B]signed\\f[R] or \\f[B]auto\\f[R]. Defaults to \\f[B]auto\\f[R]. If " "\\f[B]unsigned\\f[R] or \\f[B]signed\\f[R], unified kernel images are always " "used and the build will fail if any components required to build unified " "kernel images are missing. If set to \\f[B]auto\\f[R], unified kernel " "images will be used if all necessary components are available. Otherwise " "Type 1 entries as defined by the Boot Loader Specification will be used " "instead. If disabled, Type 1 entries will always be used. If " "\\f[B]Bootloader=\\f[R] is set to one of the signed variant, a pre-built UKI " "will be searched and the build will fail if it cannot be found, unless " "\\f[B]UnifiedKernelImages=\\f[R] is set to \\f[B]unsigned\\f[R], in which " "case the UKI will be built locally. This is useful when combined with the " "runtime \\f[B]Firmware=\\f[R] option set to \\f[B]custom\\f[R] so that the " "local signing key is enrolled in UEFI db.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]UnifiedKernelImageFormat=\\f[R], \\f[B]--unified-kernel-image-format=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Takes a filename without any path components to specify the format that " "unified kernel images should be installed as. This may include both the " "regular specifiers (see \\f[B]Specifiers\\f[R]) and special delayed " "specifiers, that are expanded during the installation of the files, which " "are described below. The default format for this parameter is \\f[B]&e-" "&k\\f[R] with \\f[B]-&h\\f[R] being appended if \\f[B]roothash=\\f[R] or " "\\f[B]usrhash=\\f[R] is found on the kernel command line and \\f[B]+&c\\f[R] " "if \\f[B]/etc/kernel/tries\\f[R] is found in the image.\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "\\f[R]The following specifiers may be used:\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]&&\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]&\\f[R] character\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]&e\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]&k\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]&h\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]roothash=\\f[R] or \\f[B]usrhash=\\f[R] value of kernel argument\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]UnifiedKernelImageProfiles=\\f[R], \\f[B]--uki-profile=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Build additional UKI profiles. Takes a comma-separated list of paths to UKI " "profile config files. This option may be used multiple times in which case " "each config gets built into a corresponding UKI profile. Config files in " "the \\f[B]mkosi.uki-profiles/\\f[R] directory are automatically picked up. " "All configured UKI profiles are added as additional UKI profiles to each UKI " "built by \\f[B]mkosi\\f[R].\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "\\f[R]See the documentation for the \\f[B]UKIProfile\\f[R] section for " "information on which settings can be configured in UKI profile config files." "\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]Initrds=\\f[R], \\f[B]--initrd=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "\\f[B]mkosi\\f[R] will also look for initrds in a subdirectory " "\\f[B]io.mkosi.initrd\\f[R] of the artifact directory (see \\f[B]" "$ARTIFACTDIR\\f[R] in the section \\f[B]ENVIRONMENT VARIABLES\\f[R]). Any " "initrds found there are appended to the user-provided initrd(s) and any " "default initrd built by mkosi.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]InitrdProfiles=\\f[R], \\f[B]--initrd-profile=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "The \\f[B]lvm\\f[R] profile enables support for LVM. The " "\\f[B]network\\f[R] profile enables support for network via \\f[B]systemd-" "networkd\\f[R]. The \\f[B]nfs\\f[R] profile enables support for NFS. It " "requires networking in the initrd, using the \\f[B]network\\f[R] profile, or " "some other custom method. The \\f[B]pkcs11\\f[R] profile enables support " "for PKCS#11. The \\f[B]plymouth\\f[R] profile provides a graphical " "interface at boot (animation and password prompt). The \\f[B]raid\\f[R] " "profile enables support for RAID arrays.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]InitrdPackages=\\f[R], \\f[B]--initrd-package=\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]InitrdVolatilePackages=\\f[R], \\f[B]--initrd-volatile-package=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Similar to \\f[B]VolatilePackages=\\f[R], except it applies to the default " "initrd.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]Devicetrees=\\f[R], \\f[B]--devicetrees=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Comma-separated list of devicetree patterns for automatic hardware-based " "selection. Patterns are glob expressions. \\f[B]mkosi\\f[R] searches for " "devicetree files in standard locations relative to \\f[B]/usr/lib/modules/" "EkverE/dtb/\\f[R], \\f[B]/usr/lib/firmware/EkverE/device-" "tree/\\f[R], and \\f[B]/usr/lib/linux-image-EkverE/\\f[R].\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "\\f[R]For UKI builds, multiple matches enable automatic hardware-based " "selection using the \\f[B].dtbauto\\f[R] sections. Type 1 boot entries " "require exactly one match. Example: \\f[B]Devicetrees=rockchip/" "*,imx.*\\f[R] would include all Rockchip devicetrees and any IMX devicetrees." "\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]Splash=\\f[R], \\f[B]--splash=\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]MicrocodeHost=\\f[R], \\f[B]--microcode-host=\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "When set to true only include microcode for the host\\(cqs CPU in the image." msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]KernelCommandLine=\\f[R], \\f[B]--kernel-command-line=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "If the root or usr partition are created with verity enabled, " "\\f[B]roothash=\\f[R] or \\f[B]usrhash=\\f[R] respectively are automatically " "added to the kernel command line and \\f[B]root=\\f[R] or " "\\f[B]mount.usr=\\f[R] should not be added. Otherwise, if the value of this " "setting contains the literals \\f[B]root=PARTUUID\\f[R] or " "\\f[B]mount.usr=PARTUUID\\f[R], these are replaced with the partition UUID " "of the root or usr partition respectively. For example, " "\\f[B]root=PARTUUID\\f[R] would be replaced with " "\\f[B]root=PARTUUID=58c7d0b2-d224-4834-a16f-e036322e88f7\\f[R] where " "\\f[B]58c7d0b2-d224-4834-a16f-e036322e88f7\\f[R] is the partition UUID of " "the root partition.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]KernelModules=\\f[R], \\f[B]--kernel-modules=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Takes a list of glob patterns that specify which kernel modules to include " "in the image. Each argument may be prefixed with a dash (\\f[B]-\\f[R]), to " "\\f[I]exclude\\f[R] matching modules. The arguments are evaluated in order, " "the last positive or negative matching pattern determines the result. The " "modules that were last matched by a positive pattern are included in the " "image, as well as their module and firmware dependencies.\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "\\f[R]The \\f[B].ko\\f[R] suffix and compression suffix are ignored during " "matching. Globs are matched against module paths relative to \\f[B]/usr/lib/" "module/EkverE\\f[R], e.g.\\ the module at \\f[B]/usr/lib/module/" "EkverE/kernel/foo/bar.ko.xz\\f[R] becomes \\f[B]kernel/foo/bar\\f[R] " "for matching purposes. Globs beginning with \\(lq/\\(rq are treated " "specially. The glob is \\f[I]first\\f[R] matched against a path relative to " "\\f[B]/usr/lib/module/EkverE/kernel\\f[R], and only then against " "\\f[B]/usr/lib/module/EkverE/\\f[R]. This is a convenience, since " "usually only the in-tree modules under \\f[B]kernel/\\f[R] are of interest. " "For example, the module at\\f[B]/usr/lib/module/EkverE/kernel/foo/" "bar.ko.xz\\f[R] can be matched by either \\f[B]/foo/bar\\f[R] or \\f[B]/" "kernel/foo/bar\\f[R]. The glob patterns may include just the basename (e.g." "\\ \\f[B]loop\\f[R]), which must match the basename of the module, the " "relative path (e.g.\\ \\f[B]block/loop\\f[R]), which must match the final " "components of the module path up to the basename, or an absolute path (e.g." "\\ \\f[B]/drivers/block/loop\\f[R]), which must match the full path to the " "module. When suffixed with \\f[B]/\\f[R], the pattern will match all " "modules underneath that directory. The patterns may include shell-style " "globs (\\f[B]*\\f[R], \\f[B]?\\f[R], \\f[B][\\&...-\\&...]\\f[R]). If the " "special value \\f[B]default\\f[R] is used, the default kernel modules " "defined in the \\f[B]mkosi-initrd\\f[R] configuration are included as well. " "If the special value \\f[B]host\\f[R] is used, the currently loaded modules " "on the host system are included as well.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]KernelModulesInitrd=\\f[R], \\f[B]--kernel-modules-initrd=\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "\\f[R]If disabled, no extra initrd is generated. Note that the kernel " "modules will still \\f[B]not\\f[R] be included in the base initrd, which " "remains kernel independent. Instead, it is assumed the user provides the " "necessary modules, if any, via an additional custom initrd.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]KernelInitrdModules=\\f[R], \\f[B]--kernel-modules-initrd-include=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Like \\f[B]KernelModules=\\f[R], but specifies the kernel modules to include " "in the initrd.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]FirmwareFiles=\\f[R], \\f[B]--firmware-files=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Takes a list of glob patterns that specify which firmware files to include " "in the image. The patterns are interpreted in the same way as in the " "\\f[B]KernelModules=\\f[R] settings, except that the paths are relative to " "\\f[B]/usr/lib/firmware/EsubdirE\\f[R]. The compression suffix is " "ignored and must not be included in the pattern.\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "\\f[R]Firmware dependencies of kernel modules installed in the image are " "automatically included. Example: \\f[B]FirmwareFiles=cxgb4/" "bcm8483.bin\\f[R] or \\f[B]FirmwareFiles=bcm8483.*\\f[R] would both cause " "\\f[B]/usr/lib/firmware/cxgb4/bcm8483.bin.xz\\f[R] to be included, even if " "not listed by a module.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]Locale=\\f[R], \\f[B]--locale=\\f[R], \\f[B]LocaleMessages=\\f[R], \\f[B]--locale-messages=\\f[R], \\f[B]Keymap=\\f[R], \\f[B]--keymap=\\f[R], \\f[B]Timezone=\\f[R], \\f[B]--timezone=\\f[R], \\f[B]Hostname=\\f[R], \\f[B]--hostname=\\f[R], \\f[B]RootShell=\\f[R], \\f[B]--root-shell=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "The settings \\f[B]Locale=\\f[R], \\f[B]--locale=\\f[R], " "\\f[B]LocaleMessages=\\f[R], \\f[B]--locale-messages=\\f[R], " "\\f[B]Keymap=\\f[R], \\f[B]--keymap=\\f[R], \\f[B]Timezone=\\f[R], \\f[B]--" "timezone=\\f[R], \\f[B]Hostname=\\f[R], \\f[B]--hostname=\\f[R], " "\\f[B]RootShell=\\f[R], \\f[B]--root-shell=\\f[R] correspond to the " "identically named systemd-firstboot options. See \\f[B]systemd-" "firstboot\\f[R](1) for more information. Additionally, where applicable, " "the corresponding systemd credentials for these settings are written to " "\\f[B]/usr/lib/credstore\\f[R], so that they apply even if only \\f[B]/" "usr\\f[R] is shipped in the image.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]RootPassword=\\f[R], \\f[B]--root-password=\\f[R],\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Set the system root password. If this option is not used, but a " "\\f[B]mkosi.rootpw\\f[R] file is found in the local directory, the password " "is automatically read from it or if the file is executable it is run as a " "script and stdout is read instead (see the \\f[B]SCRIPTS\\f[R] section " "below). If the password starts with \\f[B]hashed:\\f[R], it is treated as " "an already hashed root password. The root password is also stored in \\f[B]/" "usr/lib/credstore\\f[R] under the appropriate systemd credential so that it " "applies even if only \\f[B]/usr\\f[R] is shipped in the image. To create an " "unlocked account without any password use \\f[B]hashed:\\f[R] without a hash." "\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]Autologin=\\f[R], \\f[B]--autologin=\\f[R], \\f[B]-a\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Enable autologin for the \\f[B]root\\f[R] user on \\f[B]/dev/pts/0\\f[R] " "(nspawn), \\f[B]/dev/tty1\\f[R] and \\f[B]/dev/hvc0\\f[R].\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]MakeInitrd=\\f[R], \\f[B]--make-initrd=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Add \\f[B]/etc/initrd-release\\f[R] and \\f[B]/init\\f[R] to the image so " "that it can be used as an initramfs.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]Ssh=\\f[R], \\f[B]--ssh=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Specifies whether to install an \\f[B]sshd\\f[R] socket unit and matching " "service in the final image. Takes one of \\f[B]always\\f[R], " "\\f[B]never\\f[R], \\f[B]auto\\f[R] or \\f[B]runtime\\f[R]. Defaults to " "\\f[B]auto\\f[R].\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "\\f[R]If set to \\f[B]auto\\f[R] and \\f[B]sshd\\f[R] is present in the " "image and the generator binary \\f[B]systemd-ssh-generator\\f[R] is not " "present, or if set to \\f[B]always\\f[R], mkosi will install " "\\f[B]sshd\\f[R] units in the final image that expose SSH over VSock. If " "set to \\f[B]never\\f[R], mkosi will not install these units. If the " "\\f[B]runtime\\f[R] value is used, mkosi will also not install any units but " "abort starting \\f[B]mkosi vm\\f[R] if no SSH credentials are configured. " "When building with this option and running the image using \\f[B]mkosi " "vm\\f[R], the \\f[B]mkosi ssh\\f[R] command can be used to connect to the " "container/VM via SSH. Note that you still have to make sure openssh is " "installed in the image to make \\f[B]mkosi ssh\\f[R] behave correctly. Run " "\\f[B]mkosi genkey\\f[R] to automatically generate an X.509 certificate and " "private key to be used by \\f[B]mkosi\\f[R] to enable SSH access to any " "virtual machines via \\f[B]mkosi ssh\\f[R]. To access images booted using " "\\f[B]mkosi boot\\f[R], use \\f[B]machinectl\\f[R]. Starting with systemd " "v256, systemd-ssh-generator(8) will automatically provide \\f[B]sshd\\f[R] " "over VSock when running inside a VM. So if you\\(cqre using a recent " "version of systemd inside a VM, this option is generally not used. You " "still need openssh installed in the image, and the default setting of " "\\f[B]--vsock=auto\\f[R] is enough to ensure a VSock is available inside the " "VM. Note: if the image distro uses SELinux, mkosi\\(cqs sshd service will " "be denied access to the VSock, resulting in failure to connect to it from " "the host. You will need to either disable SELinux enforcement, or create a " "custom policy module (e.g.\\ with \\f[B]audit2allow\\f[R]).\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]SELinuxRelabel=\\f[R], \\f[B]--selinux-relabel=\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "Specifies whether to relabel files to match the image\\(cqs SELinux policy. " "Takes a boolean value or \\f[B]auto\\f[R]. Defaults to \\f[B]auto\\f[R]. " "If disabled, files will not relabeled. If enabled, an SELinux policy has to " "be installed in the image and \\f[B]setfiles\\f[R] has to be available to " "relabel files. If any errors occur during \\f[B]setfiles\\f[R], the build " "will fail. If set to \\f[B]auto\\f[R], files will be relabeled if mkosi is " "not building a directory image, an SELinux policy is installed in the image " "and if \\f[B]setfiles\\f[R] is available. Any errors occurred during " "\\f[B]setfiles\\f[R] will be ignored.\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "\\f[R]Note that when running unprivileged, \\f[B]setfiles\\f[R] will fail to " "set any labels that are not in the host\\(cqs SELinux policy. To ensure " "\\f[B]setfiles\\f[R] succeeds without errors, make sure to run " "\\f[B]mkosi\\f[R] as root or build from a host system with the same SELinux " "policy as the image you\\(cqre building.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]MachineId=\\f[R], \\f[B]--machine-id=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Takes a UUID or the special value \\f[B]random\\f[R]. Sets the machine ID " "of the image to the specified UUID. If set to \\f[B]random\\f[R], a random " "UUID will be written to \\f[B]/etc/machine-id\\f[R]. If not specified " "explicitly and the file \\f[B]mkosi.machine-id\\f[R] exists in the local " "directory, the UUID to use is read from it. Otherwise, " "\\f[B]uninitialized\\f[R] will be written to \\f[B]/etc/machine-id\\f[R].\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]SecureBoot=\\f[R], \\f[B]--secure-boot=\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]SecureBootAutoEnroll=\\f[R], \\f[B]--secure-boot-auto-enroll=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Set up automatic enrollment of the secure boot keys in virtual machines as " "documented in \\f[B]systemd-boot\\f[R](7) if \\f[B]SecureBoot=\\f[R] is " "used. Note that \\f[B]systemd-boot\\f[R] will only do automatic secure boot " "key enrollment in virtual machines starting from systemd v253. To do auto " "enrollment on systemd v252 or on bare metal machines, write a \\f[B]systemd-" "boot\\f[R] configuration file to \\f[B]/efi/loader/loader.conf\\f[R] using " "an extra tree with \\f[B]secure-boot-enroll force\\f[R] or \\f[B]secure-boot-" "enroll manual\\f[R] in it. Auto enrollment is not supported on systemd " "versions older than v252. Defaults to \\f[B]yes\\f[R].\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]SecureBootKey=\\f[R], \\f[B]--secure-boot-key=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Path to the PEM file containing the secret key for signing the UEFI kernel " "image if \\f[B]SecureBoot=\\f[R] is used and PCR signatures when " "\\f[B]SignExpectedPcr=\\f[R] is also used. When " "\\f[B]SecureBootKeySource=\\f[R] is specified, the input type depends on the " "source.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]SecureBootCertificate=\\f[R], \\f[B]--secure-boot-certificate=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Path to the X.509 file containing the certificate for the signed UEFI kernel " "image, if \\f[B]SecureBoot=\\f[R] is used.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]SecureBootSignTool=\\f[R], \\f[B]--secure-boot-sign-tool=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Tool to use to sign secure boot PE binaries. Takes one of \\f[B]systemd-" "sbsign\\f[R], \\f[B]sbsign\\f[R] or \\f[B]auto\\f[R]. Defaults to " "\\f[B]auto\\f[R]. If set to \\f[B]auto\\f[R], either \\f[B]systemd-" "sbsign\\f[R] or \\f[B]sbsign\\f[R] are used if available, with \\f[B]systemd-" "sbsign\\f[R] being preferred.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]Verity=\\f[R], \\f[B]--verity=\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "Whether to enforce or disable verity for extension images. Takes one of " "\\f[B]signed\\f[R], \\f[B]hash\\f[R], \\f[B]defer\\f[R], \\f[B]auto\\f[R] or " "a boolean value. If set to \\f[B]signed\\f[R], a verity key and certificate " "must be present and the build will fail if we don\\(cqt detect any verity " "partitions in the disk image produced by \\f[B]systemd-repart\\f[R]. If " "disabled, verity partitions will be excluded from the extension images " "produced by \\f[B]systemd-repart\\f[R]. If set to \\f[B]hash\\f[R], " "\\f[B]mkosi\\f[R] configures \\f[B]systemd-repart\\f[R] to create a verity " "hash partition, but no signature partition. If set to \\f[B]defer\\f[R], " "space for the verity sig partition will be allocated but it will not be " "populated yet. If set to \\f[B]auto\\f[R] and a verity key and certificate " "are present, \\f[B]mkosi\\f[R] will pass them to \\f[B]systemd-repart\\f[R] " "and expects the generated disk image to contain verity partitions, but the " "build won\\(cqt fail if no verity partitions are found in the disk image " "produced by \\f[B]systemd-repart\\f[R].\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "\\f[R]Note that explicitly disabling verity signature and/or hash is not yet " "implemented for the \\f[B]disk\\f[R] output and only works for extension " "images at the moment.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]VerityKey=\\f[R], \\f[B]--verity-key=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Path to the PEM file containing the secret key for signing the verity " "signature, if a verity signature partition is added with \\f[B]systemd-" "repart\\f[R]. When \\f[B]VerityKeySource=\\f[R] is specified, the input " "type depends on the source.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]VerityCertificate=\\f[R], \\f[B]--verity-certificate=\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]SignExpectedPcr=\\f[R], \\f[B]--sign-expected-pcr=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Measure the components of the unified kernel image (UKI) using \\f[B]systemd-" "measure\\f[R] and embed the PCR signature into the unified kernel image. " "This option takes a boolean value or the special value \\f[B]auto\\f[R], " "which is the default, which is equal to a true value if the \\f[B]systemd-" "measure\\f[R] binary is in \\f[B]PATH\\f[R]. Depends on " "\\f[B]SecureBoot=\\f[R] being enabled and key from " "\\f[B]SecureBootKey=\\f[R].\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]SignExpectedPcrKey=\\f[R], \\f[B]--sign-expected-pcr-key=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Path to the PEM file containing the secret key for signing the expected PCR " "signatures. When \\f[B]SignExpectedPcrKeySource=\\f[R] is specified, the " "input type depends on the source.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]SignExpectedPcrCertificate=\\f[R], \\f[B]--sign-expected-pcr-certificate=\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]SecureBootKeySource=\\f[R], \\f[B]--secure-boot-key-source=\\f[R], \\f[B]VerityKeySource=\\f[R], \\f[B]--verity-key-source=\\f[R], \\f[B]SignExpectedPcrKeySource=\\f[R], \\f[B]--sign-expected-key-source=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "The source of the corresponding private key, to support OpenSSL engines and " "providers, e.g.\\ \\f[B]--secure-boot-key-source=engine:pkcs11\\f[R] or " "\\f[B]--secure-boot-key-source=provider:pkcs11\\f[R].\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]SecureBootCertificateSource=\\f[R], \\f[B]--secure-boot-certificate-source=\\f[R], \\f[B]VerityCertificateSource=\\f[R], \\f[B]--verity-certificate-source=\\f[R], \\f[B]SignExpectedPcrCertificateSource=\\f[R], \\f[B]--sign-expected-certificate-source=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "The source of the corresponding certificate, to support OpenSSL providers, " "e.g.\\ \\f[B]--secure-boot-certificate-source=provider:pkcs11\\f[R]. Note " "that engines are not supported.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]Passphrase=\\f[R], \\f[B]--passphrase=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Specify the path to a file containing the passphrase to use for LUKS " "encryption. It should contain the passphrase literally, and not end in a " "newline character (i.e.\\ in the same format as \\f[B]cryptsetup\\f[R] and " "\\f[B]/etc/crypttab\\f[R] expect the passphrase files). The file must have " "an access mode of 0600 or less.\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "\\f[R]Note that this setting on its own does not enable any encryption. You " "also have to add one or more partition definition files to " "\\f[B]mkosi.repart/\\f[R] with \\f[B]Encrypt=key-file\\f[R] to add encrypted " "partitions to the image.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]Checksum=\\f[R], \\f[B]--checksum=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Generate a \\f[B]EoutputE.SHA256SUMS\\f[R] file of all generated " "artifacts after the build is complete.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]Sign=\\f[R], \\f[B]--sign=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Sign the generated \\f[B]SHA256SUMS\\f[R] using \\f[B]gpg\\f[R] after " "completion.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]OpenPGPTool=\\f[R], \\f[B]--openpgp-tool=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "OpenPGP implementation to use for signing. \\f[B]gpg\\f[R] is the default. " "Selecting a value different than the default will use the given Stateless " "OpenPGP (SOP) tool for signing the \\f[B]SHA256SUMS\\f[R] file.\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "\\f[R]Exemplary choices are \\f[B]sqop\\f[R] and \\f[B]rsop\\f[R], but any " "implementation from https://www.openpgp.org/about/sop/ that can be installed " "locally will work.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]Key=\\f[R], \\f[B]--key=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Select the \\f[B]gpg\\f[R] key to use for signing \\f[B]SHA256SUMS\\f[R]. " "This key must be already present in the \\f[B]gpg\\f[R] keyring.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]ToolsTree=\\f[R], \\f[B]--tools-tree=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "If specified, programs executed by \\f[B]mkosi\\f[R] to build and boot an " "image are looked up inside the given tree instead of in the host system. " "Use this option to make image builds more reproducible by always using the " "same versions of programs to build the final image instead of whatever " "version is installed on the host system. If this option is not used, but " "the \\f[B]mkosi.tools/\\f[R] directory is found in the local directory it is " "automatically used for this purpose with the root directory as target.\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "\\f[R]The tools tree directory is kept between repeated image builds unless " "cleaned by calling \\f[B]mkosi clean -f\\f[R]. Note that binaries found in " "any of the paths configured with \\f[B]ExtraSearchPaths=\\f[R] will be " "executed with \\f[B]/usr/\\f[R] from the tools tree instead of from the " "host. If the host distribution or release does not match the tools tree " "distribution or release respectively, this might result in failures when " "trying to execute binaries from any of the extra search paths. If set to " "\\f[B]yes\\f[R], \\f[B]mkosi\\f[R] will automatically add an extra tools " "tree image and use it as the tools tree. This image can be further " "configured using the settings below or with \\f[B]mkosi.tools.conf\\f[R] " "which can either be a file or directory containing extra configuration for " "the default tools tree. See the \\f[B]TOOLS TREE\\f[R] section for further " "details.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]ToolsTreeDistribution=\\f[R], \\f[B]--tools-tree-distribution=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Set the distribution to use for the default tools tree. Defaults to the " "host distribution except for Ubuntu, which defaults to Debian, and RHEL, " "CentOS, Alma and Rocky, which default to Fedora, or \\f[B]custom\\f[R] if " "the distribution of the host is not a supported distribution.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]ToolsTreeRelease=\\f[R], \\f[B]--tools-tree-release=\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]ToolsTreeProfiles=\\f[R], \\f[B]--tools-tree-profile=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Set the profiles to enable for the default tools tree. Takes a comma-" "delimited list consisting of \\f[B]devel\\f[R], \\f[B]misc\\f[R], " "\\f[B]package-manager\\f[R] and \\f[B]runtime\\f[R]. By default, all " "profiles except \\f[B]devel\\f[R] are enabled.\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "\\f[R]The \\f[B]devel\\f[R] profile contains tools required to build (C/C+" "+) projects. The \\f[B]misc\\f[R] profile contains various useful tools " "that are handy to have available in scripts. The package manager profile " "contains package managers and related tools other than those native to the " "tools tree distribution. The \\f[B]runtime\\f[R] profile contains the tools " "required to boot images in a systemd-nspawn container or in a virtual " "machine.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]ToolsTreeMirror=\\f[R], \\f[B]--tools-tree-mirror=\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]ToolsTreeRepositories=\\f[R], \\f[B]--tools-tree-repository=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "Same as \\f[B]Repositories=\\f[R] but for the default tools tree.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]ToolsTreeSandboxTrees=\\f[R], \\f[B]--tools-tree-sandbox-tree=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "Same as \\f[B]SandboxTrees=\\f[R] but for the default tools tree.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]ToolsTreePackages=\\f[R], \\f[B]--tools-tree-package=\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]ToolsTreePackageDirectories=\\f[R], \\f[B]--tools-tree-package-directory=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Same as \\f[B]PackageDirectories=\\f[R], but for the default tools tree.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]ToolsTreeCertificates=\\f[R], \\f[B]--tools-tree-certificates=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Specify whether to use certificates and keys from the tools tree. Enabled " "by default. If enabled, \\f[B]/etc/pki/ca-trust\\f[R], \\f[B]/etc/pki/" "tls\\f[R], \\f[B]/etc/ssl\\f[R], \\f[B]/etc/ca-certificates\\f[R], and " "\\f[B]/var/lib/ca-certificates\\f[R] from the tools tree are used. " "Otherwise, these directories are picked up from the host.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]ExtraSearchPaths=\\f[R], \\f[B]--extra-search-path=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "List of colon-separated paths to look for tools in, before using the regular " "\\f[B]$PATH\\f[R] search path.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]Incremental=\\f[R], \\f[B]--incremental=\\f[R], \\f[B]-i\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Takes either \\f[B]strict\\f[R] or a boolean value as its argument. Enables " "incremental build mode. In this mode, a copy of the OS image is created " "immediately after all OS packages are installed and the prepare scripts have " "executed but before the \\f[B]mkosi.build\\f[R] scripts are invoked (or " "anything that happens after it). On subsequent invocations of " "\\f[B]mkosi\\f[R] with the \\f[B]-i\\f[R] switch this cached image may be " "used to skip the OS package installation, thus drastically speeding up " "repetitive build times. Note that while there is some rudimentary cache " "invalidation, it is definitely not perfect. In order to force a rebuild of " "the cached image, combine \\f[B]-i\\f[R] with \\f[B]-ff\\f[R] to ensure the " "cached image is first removed and then re-created.\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "\\f[R]If set to \\f[B]strict\\f[R], the build fails if previously built " "cached image does not exist.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]CacheOnly=\\f[R], \\f[B]--cache-only=\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "Takes one of \\f[B]auto\\f[R], \\f[B]metadata\\f[R], \\f[B]always\\f[R] or " "\\f[B]never\\f[R]. Defaults to \\f[B]auto\\f[R]. If \\f[B]always\\f[R], " "the package manager is instructed not to contact the network. This provides " "a minimal level of reproducibility, as long as the package cache is already " "fully populated. If set to \\f[B]metadata\\f[R], the package manager can " "still download packages, but we won\\(cqt sync the repository metadata. If " "set to \\f[B]auto\\f[R], the repository metadata is synced unless we have a " "cached image (see \\f[B]Incremental=\\f[R]) and packages can be downloaded " "during the build. If set to \\f[B]never\\f[R], repository metadata is " "always synced and packages can be downloaded during the build.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]SandboxTrees=\\f[R], \\f[B]--sandbox-tree=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Takes a comma-separated list of colon-separated path pairs. The first path " "of each pair refers to a directory to copy into the mkosi sandbox before " "executing a tool. The second path of each pair refers to the target " "directory inside the sandbox. If the second path is not provided, the " "directory is copied on top of the root directory of the sandbox. The second " "path is always interpreted as an absolute path. If the \\f[B]mkosi.sandbox/" "\\f[R] directory is found in the local directory it is used for this purpose " "with the root directory as target (also see the \\f[B]FILES\\f[R] section " "below).\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "\\f[B]mkosi\\f[R] will look for the package manager configuration and " "related files in the configured sandbox trees. Unless specified otherwise, " "it will use the configuration files from their canonical locations in \\f[B]/" "usr\\f[R] or \\f[B]/etc\\f[R] in the sandbox trees. For example, it will " "look for \\f[B]/etc/dnf/dnf.conf\\f[R] in the sandbox trees if " "\\f[B]dnf\\f[R] is used to install packages.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]WorkspaceDirectory=\\f[R], \\f[B]--workspace-directory=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Path to a directory where to store data required temporarily while building " "the image. This directory should have enough space to store the full OS " "image, though in most modes the actually used disk space is smaller. If not " "specified, a subdirectory of \\f[B]$XDG_CACHE_HOME\\f[R] (if set), \\f[B]" "$CACHE_DIRECTORY\\f[R] (if set), \\f[B]$HOME/.cache\\f[R] (if set) or \\f[B]/" "var/tmp\\f[R] is used.\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "\\f[R]The data in this directory is removed automatically after each build. " "It\\(cqs safe to manually remove the contents of this directory should an " "\\f[B]mkosi\\f[R] invocation be aborted abnormally (for example, due to " "reboot/power failure).\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]CacheDirectory=\\f[R], \\f[B]--cache-directory=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Takes a path to a directory to use as the incremental cache directory for " "the incremental images produced when the \\f[B]Incremental=\\f[R] option is " "enabled. If this option is not used, but a \\f[B]mkosi.cache/\\f[R] " "directory is found in the local directory it is automatically used for this " "purpose.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]CacheKey=\\f[R], \\f[B]--cache-key=\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "Specifies the subdirectory within the cache directory where to store the " "cached image. This may include both the regular specifiers (see " "\\f[B]Specifiers\\f[R]) and special delayed specifiers, that are expanded " "after config parsing has finished, instead of during config parsing, which " "are described below. The default format for this parameter is \\f[B]&d\\" "(ti&r\\(ti&a\\(ti&I\\f[R].\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]&d\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]Distribution=\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]&r\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]Release=\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]&a\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]Architecture=\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]&i\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]ImageId=\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]&v\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]ImageVersion=\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]&I\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[R]Subimage name within mkosi.images/ or \\f[B]main\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "\\f[R]Note that all images within a build must have a unique cache key.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]PackageCacheDirectory=\\f[R], \\f[B]--package-cache-dir=\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "Takes a path to a directory to use as the package cache directory for the " "distribution package manager used. If unset, but a \\f[B]mkosi.pkgcache/" "\\f[R] directory is found in the local directory it is automatically used " "for this purpose, otherwise a suitable directory in the user\\(cqs home " "directory or system is used.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]BuildDirectory=\\f[R], \\f[B]--build-directory=\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "Takes a path to a directory to use as the build directory for build systems " "that support out-of-tree builds (such as Meson). The directory used this " "way is shared between repeated builds, and allows the build system to reuse " "artifacts (such as object files, executable, \\&...) generated on previous " "invocations. The build scripts can find the path to this directory in the " "\\f[B]$BUILDDIR\\f[R] environment variable. This directory is mounted into " "the image\\(cqs root directory when \\f[B]mkosi-chroot\\f[R] is invoked " "during execution of the build scripts. If this option is not specified, but " "a directory \\f[B]mkosi.builddir/\\f[R] exists in the local directory it is " "automatically used for this purpose (also see the \\f[B]FILES\\f[R] section " "below).\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]BuildKey=\\f[R], \\f[B]--build-key=\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "Specifies the subdirectory within the build directory where to store " "incremental build artifacts. This may include both the regular specifiers " "(see \\f[B]Specifiers\\f[R]) and special delayed specifiers, that are " "expanded after config parsing has finished, instead of during config " "parsing, which are the same delayed specifiers that are supported by " "\\f[B]CacheKey=\\f[R]. The default format for this parameter is \\f[B]&d\\" "(ti&r\\(ti&a\\f[R].\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "\\f[R]To disable usage of a build subdirectory completely, assign a literal " "\\f[B]-\\f[R] to this setting.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]UseSubvolumes=\\f[R], \\f[B]--use-subvolumes=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Takes a boolean or \\f[B]auto\\f[R]. Enables or disables use of btrfs " "subvolumes for directory tree outputs. If enabled, \\f[B]mkosi\\f[R] will " "create the root directory as a btrfs subvolume and use btrfs subvolume " "snapshots where possible to copy base or cached trees which is much faster " "than doing a recursive copy. If explicitly enabled and \\f[B]btrfs\\f[R] is " "not installed or subvolumes cannot be created, an error is raised. If " "\\f[B]auto\\f[R], missing \\f[B]btrfs\\f[R] or failures to create subvolumes " "are ignored.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]RepartOffline=\\f[R], \\f[B]--repart-offline=\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "\\f[R]Note that when using \\f[B]RepartOffline=no\\f[R], \\f[B]mkosi\\f[R] " "cannot run unprivileged and the image build has to be done as the root user " "outside of any containers and with loopback devices available on the host " "system. There are currently two known scenarios where " "\\f[B]RepartOffline=no\\f[R] has to be used. The first is when using " "\\f[B]Subvolumes=\\f[R] in a repart partition definition file, as subvolumes " "cannot be created without using loopback devices. The second is when " "creating a system with SELinux and an XFS root partition. Because " "\\f[B]mkfs.xfs\\f[R] does not support populating an XFS filesystem with " "extended attributes, loopback devices have to be used to ensure the SELinux " "extended attributes end up in the generated XFS filesystem.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]History=\\f[R], \\f[B]--history=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Takes a boolean. If enabled, \\f[B]mkosi\\f[R] will write the configuration " "provided via the CLI for the latest build to the \\f[B].mkosi-private\\f[R] " "subdirectory in the directory from which it was invoked. These arguments " "are then reused as long as the image is not rebuilt to avoid having to " "specify them over and over again.\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "\\f[R]To give an example of why this is useful, if you run \\f[B]mkosi -O my-" "custom-output-dir -f\\f[R] followed by \\f[B]mkosi vm\\f[R], " "\\f[B]mkosi\\f[R] will fail saying the image hasn\\(cqt been built yet. If " "you run \\f[B]mkosi -O my-custom-output-dir --history=yes -f\\f[R] followed " "by \\f[B]mkosi vm\\f[R], it will boot the image built in the previous step " "as expected.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]BuildSources=\\f[R], \\f[B]--build-sources=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Takes a comma-separated list of colon-separated path pairs. The first path " "of each pair refers to a directory to mount from the host. The second path " "of each pair refers to the directory where the source directory should be " "mounted when running scripts. Every target path is prefixed with \\f[B]/" "work/src\\f[R] and all build sources are sorted lexicographically by their " "target before mounting, so that top level paths are mounted first. If not " "configured explicitly, the current working directory is mounted to \\f[B]/" "work/src\\f[R].\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]BuildSourcesEphemeral=\\f[R], \\f[B]--build-sources-ephemeral=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Takes a boolean or the special value \\f[B]buildcache\\f[R]. Disabled by " "default. Configures whether changes to source directories, the working " "directory and configured using \\f[B]BuildSources=\\f[R], are persisted. If " "enabled, all source directories will be reset to their original state every " "time after running all scripts of a specific type (except sync scripts).\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "\\f[R]💥💣💥 If set to \\f[B]buildcache\\f[R] the overlay is not discarded " "when running build scripts, but saved to the build directory, configured via " "\\f[B]BuildDirectory=\\f[R], and will be reused on subsequent runs. The " "overlay is still discarded for all other scripts. This option can be used " "to implement more advanced caching of builds, but can lead to unexpected " "states of the source directory. When using this option, a build directory " "must be configured. 💥💣💥\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]Environment=\\f[R], \\f[B]--environment=\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]EnvironmentFiles=\\f[R], \\f[B]--env-file=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Takes a comma-separated list of paths to files that contain environment " "variable definitions to be added to the scripting environment. Uses " "\\f[B]mkosi.env\\f[R] if it is found in the local directory. The variables " "are first read from \\f[B]mkosi.env\\f[R] if it exists, then from the given " "list of files and then from the \\f[B]Environment=\\f[R] settings.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]WithTests=\\f[R], \\f[B]--with-tests=\\f[R], \\f[B]-T\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "If set to false (or when the command-line option is used), the \\f[B]" "$WITH_TESTS\\f[R] environment variable is set to \\f[B]0\\f[R] when the " "\\f[B]mkosi.build\\f[R] scripts are invoked. This is supposed to be used by " "the build scripts to bypass any unit or integration tests that are normally " "run during the source build process. Note that this option has no effect " "unless the \\f[B]mkosi.build\\f[R] build scripts honor it.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]WithNetwork=\\f[R], \\f[B]--with-network=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "When true, enables network connectivity while the build scripts " "\\f[B]mkosi.build\\f[R] are invoked. By default, the build scripts run with " "networking turned off. The \\f[B]$WITH_NETWORK\\f[R] environment variable " "is passed to the \\f[B]mkosi.build\\f[R] build scripts indicating whether " "the build is done with or without network.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]ProxyUrl=\\f[R], \\f[B]--proxy-url=\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]ProxyExclude=\\f[R], \\f[B]--proxy-exclude=\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]ProxyPeerCertificate=\\f[R], \\f[B]--proxy-peer-certificate=\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]ProxyClientCertificate=\\f[R], \\f[B]--proxy-client-certificate=\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]ProxyClientKey=\\f[R], \\f[B]--proxy-client-key=\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]NSpawnSettings=\\f[R], \\f[B]--settings=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Specifies a \\f[B].nspawn\\f[R] settings file for \\f[B]systemd-nspawn\\f[R] " "to use in the \\f[B]boot\\f[R] and \\f[B]shell\\f[R] verbs, and to place " "next to the generated image file. This is useful to configure the " "\\f[B]systemd-nspawn\\f[R] environment when the image is run. If this " "setting is not used but an \\f[B]mkosi.nspawn\\f[R] file found in the local " "directory it is automatically used for this purpose.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]VirtualMachineMonitor=\\f[R], \\f[B]--vmm=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Configures the virtual machine monitor to use. Takes one of " "\\f[B]qemu\\f[R] or \\f[B]vmspawn\\f[R]. Defaults to \\f[B]qemu\\f[R].\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "\\f[R]When set to \\f[B]qemu\\f[R], the image is booted with " "\\f[B]qemu\\f[R]. Most output formats can be booted in \\f[B]qemu\\f[R]. " "Any arguments specified after the verb are appended to the \\f[B]qemu\\f[R] " "invocation and are interpreted as extra \\f[B]qemu\\f[R] command line " "arguments. When set to \\f[B]vmspawn\\f[R], \\f[B]systemd-vmspawn\\f[R] is " "used to boot up the image, \\f[B]vmspawn\\f[R] only supports disk and " "directory type images. Any arguments specified after the verb are appended " "to the \\f[B]systemd-vmspawn\\f[R] invocation and are interpreted as extra " "vmspawn options and extra kernel command line arguments.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]Console=\\f[R], \\f[B]--console=\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "Configures how to set up the console of the VM. Takes one of " "\\f[B]interactive\\f[R], \\f[B]read-only\\f[R], \\f[B]native\\f[R], or " "\\f[B]gui\\f[R]. Defaults to \\f[B]interactive\\f[R]. " "\\f[B]interactive\\f[R] provides an interactive terminal interface to the " "VM. \\f[B]read-only\\f[R] is similar, but is strictly read-only, i.e.\\ " "does not accept any input from the user. \\f[B]native\\f[R] also provides a " "TTY-based interface, but uses \\f[B]qemu\\f[R]\\(cqs native implementation " "(which means the \\f[B]qemu\\f[R] monitor is available). \\f[B]gui\\f[R] " "shows the \\f[B]qemu\\f[R] graphical UI.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]CPUs=\\f[R], \\f[B]--cpus=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Configures the number of CPU cores to assign to the guest when booting a " "virtual machine. Defaults to \\f[B]2\\f[R].\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "\\f[R]When set to \\f[B]0\\f[R], the number of CPUs available to the " "\\f[B]mkosi\\f[R] process will be used.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]RAM=\\f[R], \\f[B]--ram=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Configures the amount of RAM assigned to the guest when booting a virtual " "machine. Defaults to \\f[B]2G\\f[R].\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]MaxMem=\\f[R], \\f[B]--maxmem=\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]KVM=\\f[R], \\f[B]--kvm=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Configures whether KVM acceleration should be used when booting a virtual " "machine. Takes a boolean value or \\f[B]auto\\f[R]. Defaults to " "\\f[B]auto\\f[R].\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]CXL=\\f[R], \\f[B]--cxl=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Configures whether CXL devices are enabled for a given machine. Only valid " "if the architecture supports cxl. Takes a boolean value. Defaults to " "\\f[B]false\\f[R].\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]VSock=\\f[R], \\f[B]--vsock=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Configures whether to provision a vsock when booting a virtual machine. " "Takes a boolean value or \\f[B]auto\\f[R]. Defaults to \\f[B]auto\\f[R].\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]VSockCID=\\f[R], \\f[B]--vsock-cid=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Configures the vsock connection ID to use when booting a virtual machine. " "Takes a number in the interval \\f[B][3, 0xFFFFFFFF)\\f[R] or " "\\f[B]hash\\f[R] or \\f[B]auto\\f[R]. Defaults to \\f[B]auto\\f[R]. When " "set to \\f[B]hash\\f[R], the connection ID will be derived from the full " "path to the image. When set to \\f[B]auto\\f[R], \\f[B]mkosi\\f[R] will try " "to find a free connection ID automatically. Otherwise, the provided number " "will be used as is.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]TPM=\\f[R], \\f[B]--tpm=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Configure whether to use a virtual TPM when booting a virtual machine. " "Takes a boolean value or \\f[B]auto\\f[R]. Defaults to \\f[B]auto\\f[R].\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]Removable=\\f[R], \\f[B]--removable=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Configures whether to attach the image as a removable device when booting a " "virtual machine. Takes a boolean value. Defaults to \\f[B]no\\f[R].\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]Firmware=\\f[R], \\f[B]--firmware=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Configures the virtual machine firmware to use. Takes one of " "\\f[B]uefi\\f[R], \\f[B]uefi-secure-boot\\f[R], \\f[B]bios\\f[R], " "\\f[B]linux\\f[R], \\f[B]linux-noinitrd\\f[R] or \\f[B]auto\\f[R]. Defaults " "to \\f[B]auto\\f[R]. When set to \\f[B]uefi\\f[R], the OVMF firmware " "without secure boot support is used. When set to \\f[B]uefi-secure-" "boot\\f[R], the OVMF firmware with secure boot support is used. When set to " "\\f[B]bios\\f[R], the default SeaBIOS firmware is used. When set to " "\\f[B]linux\\f[R], direct kernel boot is used. See the \\f[B]Linux=\\f[R] " "option for more details on which kernel image is used with direct kernel " "boot. \\f[B]linux-noinitrd\\f[R] is identical to \\f[B]linux\\f[R] except " "that no initrd is used. When set to \\f[B]auto\\f[R], \\f[B]uefi-secure-" "boot\\f[R] is used if possible and \\f[B]linux\\f[R] otherwise.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]FirmwareVariables=\\f[R], \\f[B]--firmware-variables=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Configures the path to the virtual machine firmware variables file to use. " "Currently, this option is only taken into account when the \\f[B]uefi\\f[R] " "or \\f[B]uefi-secure-boot\\f[R] firmware is used. If not specified, " "\\f[B]mkosi\\f[R] will search for the default variables file and use that " "instead.\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "\\f[R]When set to \\f[B]microsoft\\f[R], a firmware variables file with the " "Microsoft secure boot certificates already enrolled will be used. When set " "to \\f[B]microsoft-mok\\f[R], a firmware variables file with the Microsoft " "secure boot certificates already enrolled will be extended with a " "\\f[B]MokList\\f[R] variable containing the secure boot certificate from " "\\f[B]SecureBootCertificate=\\f[R]. This is intended to be used together " "with shim binaries signed by the distribution and locally signed EFI " "binaries. When set to \\f[B]custom\\f[R], the secure boot certificate from " "\\f[B]SecureBootCertificate=\\f[R] will be enrolled into the default " "firmware variables file. \\f[B]virt-fw-vars\\f[R] from the E<.UR https://" "gitlab.com/kraxel/virt-firmware> virt-firmware E<.UE > \\ project can be " "used to customize OVMF variable files.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]Linux=\\f[R], \\f[B]--linux=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Set the kernel image to use for \\f[B]qemu\\f[R] direct kernel boot. If not " "specified, \\f[B]mkosi\\f[R] will use the kernel provided via the command " "line (\\f[B]-kernel\\f[R] option) or the latest kernel that was installed " "into the image (or fail if no kernel was installed into the image).\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "\\f[R]Note that when the \\f[B]cpio\\f[R] output format is used, direct " "kernel boot is used regardless of the configured firmware. Depending on the " "configured firmware, \\f[B]qemu\\f[R] might boot the kernel itself or using " "the configured firmware. This setting may include both the regular " "specifiers (see \\f[B]Specifiers\\f[R]) and special delayed specifiers, that " "are expanded after config parsing has finished, instead of during config " "parsing, which are described below. The following specifiers may be used:" "\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]&b\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]Drives=\\f[R], \\f[B]--drive=\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "Add a drive. Takes a colon-delimited string of format " "\\f[B]EidE:EsizeE[:EdirectoryE[:EoptionsE[:Efile-" "idE[:EflagsE]]]]\\f[R]. \\f[B]id\\f[R] specifies the ID " "assigned to the drive. This can be used as the \\f[B]drive=\\f[R] property " "in various \\f[B]qemu\\f[R] devices. \\f[B]size\\f[R] specifies the size of " "the drive. This takes a size in bytes. Additionally, the suffixes " "\\f[B]K\\f[R], \\f[B]M\\f[R] and \\f[B]G\\f[R] can be used to specify a size " "in kilobytes, megabytes and gigabytes respectively. \\f[B]directory\\f[R] " "optionally specifies the directory in which to create the file backing the " "drive. If unset, the file will be created under \\f[B]/var/tmp\\f[R]. " "\\f[B]options\\f[R] optionally specifies extra comma-delimited properties " "which are passed verbatim to \\f[B]qemu\\f[R]\\(cqs \\f[B]-blockdev\\f[R] " "option. \\f[B]file-id\\f[R] specifies the ID of the file backing the " "drive. If unset, this defaults to the drive ID. Drives with the same file " "ID will share the backing file. The directory and size of the file will be " "determined from the first drive with a given file ID. \\f[B]flags\\f[R] " "takes a comma-separated list of drive flags which currently only supports " "\\f[B]persist\\f[R]. \\f[B]persist\\f[R] determines whether the drive will " "be persisted across \\f[B]qemu\\f[R] invocations. The files backing the " "drives will be created with the schema \\f[B]/EdirectoryE/mkosi-" "drive-Emachine-or-image-nameE-Efile-idE\\f[R]. You can skip " "values by setting them to the empty string, specifying e.g.\\ " "\\f[B]myfs:1G::::persist\\f[R] will create a persistent drive under \\f[B]/" "var/tmp/mkosi-drive-main-myfs\\f[R].\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]QemuArgs=\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]Ephemeral=\\f[R], \\f[B]--ephemeral=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "When used with the \\f[B]shell\\f[R], \\f[B]boot\\f[R], or \\f[B]vm\\f[R] " "verbs, this option runs the specified verb on a temporary snapshot of the " "output image that is removed immediately when the container terminates. " "Taking the temporary snapshot is more efficient on file systems that support " "reflinks natively (\\f[B]btrfs\\f[R] or \\f[B]xfs\\f[R]) than on more " "traditional file systems that do not (ext4).\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]Credentials=\\f[R], \\f[B]--credential=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Set credentials to be passed to \\f[B]systemd-nspawn\\f[R] or the virtual " "machine respectively when \\f[B]mkosi shell/boot\\f[R] or \\f[B]mkosi " "vm\\f[R] are used. This option takes a space separated list of values which " "can be either key=value pairs or paths. If a path is provided, if it is a " "file, the credential name will be the name of the file. If the file is " "executable, the credential value will be the output of executing the file. " "Otherwise, the credential value will be the contents of the file. If the " "path is a directory, the same logic applies to each file in the directory." "\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "\\f[R]Note that values will only be treated as paths if they do not contain " "the delimiter (\\f[B]=\\f[R]).\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]KernelCommandLineExtra=\\f[R], \\f[B]--kernel-command-line-extra=\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]RuntimeTrees=\\f[R], \\f[B]--runtime-tree=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Takes a colon-separated pair of paths. The first path refers to a directory " "to mount into any machine (container or VM) started by mkosi. The second " "path refers to the target directory inside the machine. If the second path " "is not provided, the directory is mounted at \\f[B]/root/src\\f[R] in the " "machine. If the second path is relative, it is interpreted relative to " "\\f[B]/root/src\\f[R] in the machine.\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "\\f[R]For each mounted directory, the uid and gid of the user running mkosi " "are mapped to the root user in the machine. This means that all the files " "and directories will appear as if they\\(cqre owned by root in the machine, " "and all new files and directories created by root in the machine in these " "directories will be owned by the user running mkosi on the host. Note that " "when using \\f[B]mkosi vm\\f[R] with this feature systemd v254 or newer has " "to be installed in the image.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]RuntimeSize=\\f[R], \\f[B]--runtime-size=\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "If specified, disk images are grown to the specified size when they\\(cqre " "booted with \\f[B]mkosi boot\\f[R] or \\f[B]mkosi vm\\f[R]. Takes a size in " "bytes. Additionally, the suffixes \\f[B]K\\f[R], \\f[B]M\\f[R] and " "\\f[B]G\\f[R] can be used to specify a size in kilobytes, megabytes and " "gigabytes respectively.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]RuntimeNetwork=\\f[R], \\f[B]--runtime-network=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Takes one of \\f[B]user\\f[R], \\f[B]interface\\f[R] or \\f[B]none\\f[R]. " "Defaults to \\f[B]user\\f[R]. Specifies the networking to set up when " "booting the image. \\f[B]user\\f[R] sets up usermode networking. " "\\f[B]interface\\f[R] sets up a virtual network connection between the host " "and the image. This translates to a veth interface for \\f[B]mkosi " "shell\\f[R] and \\f[B]mkosi boot\\f[R] and a tap interface for \\f[B]mkosi " "vm\\f[R] and \\f[B]mkosi vmspawn\\f[R].\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "\\f[R]Note that when using \\f[B]interface\\f[R], \\f[B]mkosi\\f[R] does not " "automatically configure the host interface. It is expected that a recent " "version of \\f[B]systemd-networkd\\f[R] is running on the host which will " "automatically configure the host interface of the link.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]RuntimeBuildSources=\\f[R], \\f[B]--runtime-build-sources=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Mount the build sources configured with \\f[B]BuildSources=\\f[R] and the " "build directory (if one is configured) to the same locations in \\f[B]/" "work\\f[R] that they were mounted to when running the build script when " "using \\f[B]mkosi boot\\f[R] or \\f[B]mkosi vm\\f[R].\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]BindUser=\\f[R], \\f[B]--bind-user=\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]UnitProperties=\\f[R], \\f[B]--unit-property=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Configure systemd unit properties to add to the systemd scopes allocated " "when using \\f[B]mkosi boot\\f[R] or \\f[B]mkosi vm\\f[R]. These are passed " "directly to the \\f[B]--property=\\f[R] options of \\f[B]systemd-" "nspawn\\f[R] and \\f[B]systemd-run\\f[R] respectively.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]SshKey=\\f[R], \\f[B]--ssh-key=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Path to the X.509 private key in PEM format to use to connect to a virtual " "machine started with \\f[B]mkosi vm\\f[R] and built with the " "\\f[B]Ssh=\\f[R] option enabled (or with \\f[B]systemd-ssh-generator\\f[R] " "installed) via the \\f[B]mkosi ssh\\f[R] command. If not configured and " "\\f[B]mkosi.key\\f[R] exists in the working directory, it will automatically " "be used for this purpose. Run \\f[B]mkosi genkey\\f[R] to automatically " "generate a key in \\f[B]mkosi.key\\f[R].\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]SshCertificate=\\f[R], \\f[B]--ssh-certificate=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Path to the X.509 certificate in PEM format to provision as the SSH public " "key in virtual machines started with \\f[B]mkosi vm\\f[R]. If not " "configured and \\f[B]mkosi.crt\\f[R] exists in the working directory, it " "will automatically be used for this purpose. Run \\f[B]mkosi genkey\\f[R] " "to automatically generate a certificate in \\f[B]mkosi.crt\\f[R].\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]Machine=\\f[R], \\f[B]--machine=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Specify the machine name to use when booting the image. Can also be used to " "refer to a specific image when SSH-ing into an image (e.g. \\f[B]mkosi --" "image=myimage ssh\\f[R]).\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "\\f[R]Note that \\f[B]Ephemeral=\\f[R] has to be enabled to start multiple " "instances of the same image.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]Register=\\f[R], \\f[B]--register=\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "Takes a boolean value or \\f[B]auto\\f[R]. Specifies whether to register " "the vm/container with systemd-machined. If enabled, mkosi will fail if it " "can\\(cqt register the vm/container with systemd-machined. If disabled, " "mkosi will not register the vm/container with systemd-machined. If " "\\f[B]auto\\f[R], mkosi will register the vm/container with systemd-machined " "if it is available. Defaults to \\f[B]auto\\f[R].\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]ForwardJournal=\\f[R], \\f[B]--forward-journal=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Specify the path to which journal logs from containers and virtual machines " "should be forwarded. If the path has the \\f[B].journal\\f[R] extension, it " "is interpreted as a file to which the journal should be written. Otherwise, " "the path is interpreted as a directory to which the journal should be " "written.\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "\\f[R]Note that systemd v256 or newer is required in the virtual machine for " "log forwarding to work. Note that if a path with the \\f[B].journal\\f[R] " "extension is given, the journal size is limited to \\f[B]4G\\f[R]. " "Configure an output directory instead of file if your workload produces more " "than \\f[B]4G\\f[R] worth of journal data.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]StorageTargetMode=\\f[R], \\f[B]--storage-target-mode=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Specifies whether the \\f[B]serve\\f[R] verb should start \\f[B]systemd-" "storagetm\\f[R] to serve disk images over NVME-TCP. Takes a boolean value " "or \\f[B]auto\\f[R]. If enabled, systemd-storagetm is always started and " "mkosi will fail if it cannot start systemd-storagetm. If disabled, systemd-" "storagetm is never started. If \\f[B]auto\\f[R], systemd-storagetm will be " "started if a disk image is being built, the systemd-storagetm binary is " "found and \\f[B]mkosi serve\\f[R] is being invoked as the root user.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]SysupdateDirectory=\\f[R], \\f[B]--sysupdate-directory=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Path to a directory containing systemd-sysupdate transfer definition files " "that are used by \\f[B]mkosi sysupdate\\f[R]. If \\f[B]mkosi.sysupdate/" "\\f[R] exists in the local directory, it will be used for this purpose as " "well.\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "\\f[R]Note that \\f[B]mkosi sysupdate\\f[R] invokes \\f[B]systemd-" "sysupdate\\f[R] with \\f[B]--transfer-source=\\f[R] set to the " "\\f[B]mkosi\\f[R] output directory. To make use of this in a transfer " "definition file, set \\f[B]PathRelativeTo=explicit\\f[R] to have the " "\\f[B]Path=\\f[R] setting for the transfer source be interpreted relative to " "the \\f[B]mkosi\\f[R] output directory. Generally, configuring " "\\f[B]PathRelativeTo=explicit\\f[R] and \\f[B]Path=/\\f[R] for the transfer " "source is sufficient for the match pattern to be interpreted relative to the " "\\f[B]mkosi\\f[R] output directory.\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]Profiles=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Matches against the configured architecture. If this condition is used and " "no architecture has been explicitly configured yet, the host architecture is " "used. \\f[B]Architecture=uefi\\f[R] can be used to match against any " "architecture that supports UEFI.\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]Repositories=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Matches against repositories enabled with the \\f[B]Repositories=\\f[R] " "setting. Takes a single repository name.\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]PathExists=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Matches against the configured image version. Image versions can be " "prepended by the operators \\f[B]==\\f[R], \\f[B]!=\\f[R], " "\\f[B]E=\\f[R], \\f[B]E=\\f[R], \\f[B]E\\f[R], \\f[B]E\\f[R] " "for rich version comparisons according to the UAPI group version format " "specification. If no operator is prepended, the equality operator is " "assumed by default. If this condition is used and no image version has been " "explicitly configured yet, this condition fails.\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]Bootable=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Matches against the configured value for the \\f[B]Bootable=\\f[R] feature. " "Takes a boolean value or \\f[B]auto\\f[R].\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]Format=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Matches against the configured value for the \\f[B]Format=\\f[R] option. " "Takes an output format (see the \\f[B]Format=\\f[R] option).\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]SystemdVersion=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Matches against the systemd version on the host (as reported by " "\\f[B]systemctl --version\\f[R]). Values can be prepended by the operators " "\\f[B]==\\f[R], \\f[B]!=\\f[R], \\f[B]E=\\f[R], \\f[B]E=\\f[R], " "\\f[B]E\\f[R], \\f[B]E\\f[R] for rich version comparisons according " "to the UAPI group version format specification. If no operator is " "prepended, the equality operator is assumed by default.\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]BuildSources=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Takes a build source target path (see \\f[B]BuildSources=\\f[R]). This " "match is satisfied if any of the configured build sources uses this target " "path. For example, if we have a \\f[B]mkosi.conf\\f[R] file containing:\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "\\f[R]and a drop-in containing:\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "\\f[R]The drop-in will be included. Any absolute paths passed to this " "setting are interpreted relative to the current working directory.\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]HostArchitecture=\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "Matches against the host\\(cqs native architecture. See the " "\\f[B]Architecture=\\f[R] setting for a list of possible values.\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]ToolsTreeDistribution=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]ToolsTreeRelease=\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]Environment=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Matches against a specific key/value pair configured with " "\\f[B]Environment=\\f[R]. If no value is provided, check if the given key " "is in the environment regardless of which value it has.\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]Image=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Match against the current (sub)image name. The name of a subimage is its " "name in \\f[B]mkosi.images/\\f[R] (without any \\f[B].conf\\f[R] suffix). " "The name of the top level image is \\f[B]main\\f[R]. The main use case is " "to allow having a shared config that can be included by both the top level " "image and subimages by gating the universal settings behind a " "\\f[B]Image=main\\f[R] match.\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "" "\\f[R]match the fallback tools tree distribution (see\n" "\\f[B]ToolsTreeDistribution=\\f[R] in \\f[B][Build]\\f[R])\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]Include=\\f[R], \\f[B]--include=\\f[R], \\f[B]-I\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "Note that each path containing extra configuration is only parsed once, even " "if included more than once with \\f[B]Include=\\f[R]. The builtin configs " "for the \\f[B]mkosi\\f[R] default initrd, default tools tree, default " "virtual machine image and default UKI addon can be included by including the " "literal value \\f[B]mkosi-initrd\\f[R], \\f[B]mkosi-tools\\f[R], \\f[B]mkosi-" "vm\\f[R] or \\f[B]mkosi-addon\\f[R] respectively. Note: Include names " "starting with either of the literals \\f[B]mkosi-\\f[R] or \\f[B]contrib-" "\\f[R] are reserved for use by \\f[B]mkosi\\f[R] itself.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]Profiles=\\f[R], \\f[B]--profile=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Select the given profiles. A profile is a configuration file or directory " "in the \\f[B]mkosi.profiles/\\f[R] directory. The configuration files and " "directories of each profile are included after parsing the " "\\f[B]mkosi.conf.d/*.conf\\f[R] drop in configuration.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]Dependencies=\\f[R], \\f[B]--dependency=\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "When this setting is specified for the \\(lqmain\\(rq image, it specifies " "which subimages should be built. See the \\f[B]BUILDING MULTIPLE " "IMAGES\\f[R] section for more information.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]MinimumVersion=\\f[R], \\f[B]--minimum-version=\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "\\f[R]The minimum version can also be specified as a git commit hash when " "prefixed with \\f[B]commit:\\f[R], in which case mkosi must be executed from " "a git checkout and the specified git commit hash must be an ancestor of the " "currently checked out git commit in the repository that mkosi is being " "executed from.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]ConfigureScripts=\\f[R], \\f[B]--configure-script=\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]PassEnvironment=\\f[R], \\f[B]--pass-environment=\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "Takes a list of environment variable names separated by spaces. When " "building multiple images, pass the listed environment variables to each " "individual subimage as if they were \\(lquniversal\\(rq settings. See the " "\\f[B]BUILDING MULTIPLE IMAGES\\f[R] section for more information.\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "The \\f[B]UKIProfile\\f[R] section can be used in UKI profile config files " "which are passed to the \\f[B]UnifiedKernelImageProfiles=\\f[R] setting. " "The following settings can be specified in the \\f[B]UKIProfile\\f[R] " "section:\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]Profile=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "The contents of the \\f[B].profile\\f[R] section of the UKI profile. Takes " "a list of key/value pairs separated by \\f[B]=\\f[R]. The \\f[B]ID=\\f[R] " "key must be specified. See the UKI E<.UR https://uapi-group.org/" "specifications/specs/unified_kernel_image/#multi-profile-ukis> specification " "E<.UE > \\ for a full list of possible keys.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]Cmdline=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Extra kernel command line options for the UKI profile. Takes a space " "delimited list of extra kernel command line arguments. Note that the final " "\\f[B].cmdline\\f[R] section will the combination of the base " "\\f[B].cmdline\\f[R] section and the extra kernel command line arguments " "specified with this setting.\\fR" msgstr "" #. type: TP #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]SignExpectedPcr=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "The current value of various settings can be accessed when parsing " "configuration files by using specifiers. To write a literal \\f[B]%\\f[R] " "character in a configuration file without treating it as a specifier, use " "\\f[B]%%\\f[R]. The following specifiers are understood:\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]%d\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]%r\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]%a\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]%t\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]Output=\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]%o\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]OutputDirectory=\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]%O\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]%i\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]%v\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]%C\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]%P\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]%D\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]%I\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[R]Name of the current subimage in \\f[B]mkosi.images\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]%F\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Note that the current working directory changes as \\f[B]mkosi\\f[R] parses " "its configuration. Specifically, each time \\f[B]mkosi\\f[R] parses a " "directory containing a \\f[B]mkosi.conf\\f[R] file, \\f[B]mkosi\\f[R] " "changes its working directory to that directory.\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Note that the directory that \\f[B]mkosi\\f[R] was invoked in is influenced " "by the \\f[B]--directory=\\f[R] command line argument.\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]$D/mkosi.conf\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]$D/mkosi.conf.d/abc/abc.conf\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]$D/mkosi.conf.d/abc/mkosi.conf\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]$D\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]$D/mkosi.conf.d\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]$D/mkosi.conf.d/abc\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "In theory, any distribution may be used on the host for building images " "containing any other distribution, as long as the necessary tools are " "available. Specifically, any distribution that packages \\f[B]apt\\f[R] may " "be used to build \\f[I]Debian\\f[R], \\f[I]Kali\\f[R] or \\f[I]Ubuntu\\f[R] " "images. Any distribution that packages \\f[B]dnf\\f[R] may be used to build " "images for any of the RPM-based distributions. Any distro that packages " "\\f[B]pacman\\f[R] may be used to build \\f[I]Arch Linux\\f[R] images. Any " "distribution that packages \\f[B]zypper\\f[R] may be used to build " "\\f[I]openSUSE\\f[R] images. Other distributions and build automation tools " "for embedded Linux systems such as Buildroot, OpenEmbedded and Yocto Project " "may be used by selecting the \\f[B]custom\\f[R] distribution, and populating " "the rootfs via a combination of base trees, skeleton trees, and prepare " "scripts.\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Note that when not using a custom mirror, \\f[B]RHEL\\f[R] images can only " "be built from a host system with a \\f[B]RHEL\\f[R] subscription " "(established using e.g.\\ \\f[B]subscription-manager\\f[R]).\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Execution flow for \\f[B]mkosi build\\f[R]. Default values/calls are shown " "in parentheses. When building with \\f[B]--incremental=yes\\f[R] " "\\f[B]mkosi\\f[R] creates a cache of the distribution installation if not " "already existing and replaces the distribution installation in consecutive " "runs with data from the cached one.\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "Run configure scripts (\\f[B]mkosi.configure\\f[R])\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "If we\\(cqre not running as root, unshare the user namespace and map the " "subuid range configured in \\f[B]/etc/subuid\\f[R] and \\f[B]/etc/" "subgid\\f[R] into it.\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]/usr\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]/etc\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]/opt\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]/srv\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]/boot\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]/efi\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]/media\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]/mnt\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "Run sync scripts (\\f[B]mkosi.sync\\f[R])\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "Copy base trees (\\f[B]--base-tree=\\f[R]) into the image\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "Copy skeleton trees (\\f[B]mkosi.skeleton\\f[R]) into image\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Run prepare scripts on image with the \\f[B]final\\f[R] argument " "(\\f[B]mkosi.prepare\\f[R])\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Run prepare scripts on overlay with the \\f[B]build\\f[R] argument if any " "build scripts are configured (\\f[B]mkosi.prepare\\f[R])\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "Cache the image if configured (\\f[B]--incremental=yes\\f[R])\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Run build scripts on image + overlay if any build scripts are configured " "(\\f[B]mkosi.build\\f[R])\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Finalize the build if the output format \\f[B]none\\f[R] is configured\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "Copy the extra trees into the image (\\f[B]mkosi.extra\\f[R])\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "Run post-install scripts (\\f[B]mkosi.postinst\\f[R])\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Write config files required for \\f[B]Ssh=\\f[R], \\f[B]Autologin=\\f[R] and " "\\f[B]MakeInitrd=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Install systemd-boot and configure secure boot if configured (\\f[B]--secure-" "boot=yes\\f[R])\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "Run \\f[B]systemctl preset-all\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Remove packages and files (\\f[B]RemovePackages=\\f[R], " "\\f[B]RemoveFiles=\\f[R])\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "Run finalize scripts (\\f[B]mkosi.finalize\\f[R])\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "Run post-output scripts (\\f[B]mkosi.postoutput\\f[R])\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "To allow for image customization that cannot be implemented using " "\\f[B]mkosi\\f[R]\\(cqs builtin features, \\f[B]mkosi\\f[R] supports running " "scripts at various points during the image build process that can customize " "the image as needed. Scripts are executed on the host system as root " "(either real root or root within the user namespace that \\f[B]mkosi\\f[R] " "created when running unprivileged) with a customized environment to simplify " "modifying the image. For each script, the configured build sources " "(\\f[B]BuildSources=\\f[R]) are mounted into the current working directory " "before running the script in the current working directory. \\f[B]" "$SRCDIR\\f[R] is set to point to the current working directory. The " "following scripts are supported:\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "If \\f[R]mkosi.configure\\f[R] (\\f[B]ConfigureScripts=\\f[R]) exists, it " "is executed before building the image. This script may be used to " "dynamically modify the configuration. It receives the configuration " "serialized as JSON on stdin and should output the modified configuration " "serialized as JSON on stdout. Note that this script only runs when building " "or booting the image (\\f[B]build\\f[R], \\f[B]vm\\f[R], \\f[B]boot\\f[R] " "and \\f[B]shell\\f[R] verbs). If a default tools tree is configured, it " "will be built before running the configure scripts and the configure scripts " "will run with the tools tree available. This also means that the " "modifications made by configure scripts will not be visible in the " "\\f[B]summary\\f[R] output.\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "If \\f[R]mkosi.sync\\f[R] (\\f[B]SyncScripts=\\f[R]) exists, it is executed " "before the image is built. This script may be used to update various " "sources that are used to build the image. One use case is to run \\f[B]git " "pull\\f[R] on various source repositories before building the image. " "Specifically, the \\f[B]BuildSourcesEphemeral=\\f[R] setting does not apply " "to sync scripts, which means sync scripts can be used to update build " "sources even if \\f[B]BuildSourcesEphemeral=\\f[R] is enabled.\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "If \\f[R]mkosi.prepare\\f[R] (\\f[B]PrepareScripts=\\f[R]) exists, it is " "first called with the \\f[B]final\\f[R] argument, right after the software " "packages are installed. It is called a second time with the " "\\f[B]build\\f[R] command line parameter, right after the build packages are " "installed and the build overlay mounted on top of the image\\(cqs root " "directory . This script has network access and may be used to install " "packages from other sources than the distro\\(cqs package manager (e.g.\\ " "\\f[B]pip\\f[R], \\f[B]npm\\f[R], \\&...), after all software packages are " "installed but before the image is cached (if incremental mode is enabled). " "In contrast to a general purpose installation, it is safe to install " "packages to the system (\\f[B]pip install\\f[R], \\f[B]npm install -g\\f[R]) " "instead of in \\f[B]$SRCDIR\\f[R] itself because the build image is only " "used for a single project and can easily be thrown away and rebuilt so " "there\\(cqs no risk of conflicting dependencies and no risk of polluting the " "host system.\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "If \\f[R]mkosi.build\\f[R] (\\f[B]BuildScripts=\\f[R]) exists, it is " "executed with the build overlay mounted on top of the image\\(cqs root " "directory. When running the build script, \\f[B]$DESTDIR\\f[R] points to a " "directory where the script should place any files generated it would like to " "end up in the image. Note that \\f[B]make\\f[R]-, \\f[B]automake\\f[R]-, " "and \\f[B]meson\\f[R]-based build systems generally honor \\f[B]" "$DESTDIR\\f[R], thus making it very natural to build \\f[I]source\\f[R] " "trees from the build script. After running the build script, the contents " "of \\f[B]$DESTDIR\\f[R] are copied into the image.\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "If \\f[R]mkosi.postinst\\f[R] (\\f[B]PostInstallationScripts=\\f[R]) exists, " "it is executed after the (optional) build tree and extra trees have been " "installed. This script may be used to alter the images without any " "restrictions, after all software packages and built sources have been " "installed.\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "If \\f[R]mkosi.finalize\\f[R] (\\f[B]FinalizeScripts=\\f[R]) exists, it is " "executed as the last step of preparing an image.\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "If \\f[R]mkosi.postoutput\\f[R] (\\f[B]PostOutputScripts=\\f[R]) exists, it " "is executed right after all the output files have been generated, before " "they are finally moved into the output directory. This can be used to " "generate additional or alternative outputs, e.g.\\ \\f[B]SHA256FILES\\f[R] " "or SBOM manifests.\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "If \\f[R]mkosi.clean\\f[R] (\\f[B]CleanScripts=\\f[R]) exists, it is " "executed right after the outputs of a previous build have been cleaned up. " "A clean script can clean up any outputs that \\f[B]mkosi\\f[R] does not know " "about (e.g. artifacts from \\f[B]SplitArtifacts=partitions\\f[R] or RPMs " "built in a build script). Note that this script does not use the tools tree " "even if one is configured.\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "If \\f[R]mkosi.version\\f[R] exists and is executable, it is run during " "configuration parsing and populates \\f[B]ImageVersion=\\f[R] with the " "output on stdout. This can be used for external version tracking, e.g.\\ " "with \\f[B]git describe\\f[R] or \\f[B]date \\(aq+%Y-%m-%d\\(aq\\f[R]. Note " "that this script is executed on the host system without any sandboxing.\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "If \\f[R]mkosi.rootpw\\f[R] exists and is executable, it is run during " "configuration parsing and populates \\f[B]RootPassword=\\f[R] with the " "output on stdout. This can be used to randomly generate a password and can " "be remembered by outputting it to stderr or by reading \\f[B]" "$MKOSI_CONFIG\\f[R] in another script (e.g.\\ " "\\f[B]mkosi.postoutput\\f[R]). Note that this script is executed on the " "host system without any sandboxing.\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "If a script uses the \\f[B].chroot\\f[R] extension, \\f[B]mkosi\\f[R] will " "chroot into the image using \\f[B]mkosi-chroot\\f[R] (see below) before " "executing the script. For example, if \\f[B]mkosi.postinst.chroot\\f[R] " "exists, \\f[B]mkosi\\f[R] will chroot into the image and execute it as the " "post-installation script.\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Instead of a single file script, \\f[B]mkosi\\f[R] will also read all files " "in lexicographical order from appropriately named \\f[B].d\\f[R] " "directories, e.g.\\ all files in a \\f[B]mkosi.build.d\\f[R] would be used " "as build scripts. This is supported by\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]mkosi.sync.d\\f[R],\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]mkosi.prepare.d\\f[R],\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]mkosi.build.d\\f[R],\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]mkosi.postinst.d\\f[R],\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]mkosi.finalize.d\\f[R],\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]mkosi.postoutput.d\\f[R], and\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]mkosi.clean.d\\f[R].\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "This can be combined with the \\f[B].chroot\\f[R] extension, e.g.\\ " "\\f[B]mkosi.build.d/01-foo.sh\\f[R] would be run without chrooting into the " "image and \\f[B]mkosi.build.d/02-bar.sh.chroot\\f[R] would be run after " "chrooting into the image first.\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "\\f[B]$ARCHITECTURE\\f[R] contains the architecture from the " "\\f[B]Architecture=\\f[R] setting. If \\f[B]Architecture=\\f[R] is not set, " "it will contain the native architecture of the host machine. See the " "documentation of \\f[B]Architecture=\\f[R] for possible values for this " "variable.\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "\\f[B]$QEMU_ARCHITECTURE\\f[R] contains the architecture from \\f[B]" "$ARCHITECTURE\\f[R] in the format used by \\f[B]qemu\\f[R]. Useful for " "finding the qemu binary ( \\f[B]qemu-system-$QEMU_ARCHITECTURE\\f[R]).\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "\\f[B]$EFI_ARCHITECTURE\\f[R] contains the architecture from \\f[B]" "$ARCHITECTURE\\f[R] in the format used by \\f[B]UEFI\\f[R]. It is unset on " "architectures that do not support \\f[B]UEFI\\f[R].\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "\\f[B]$DISTRIBUTION\\f[R] contains the distribution from the " "\\f[B]Distribution=\\f[R] setting.\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "\\f[B]$RELEASE\\f[R] contains the release from the \\f[B]Release=\\f[R] " "setting.\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "\\f[B]$DISTRIBUTION_ARCHITECTURE\\f[R] contains the architecture from \\f[B]" "$ARCHITECTURE\\f[R] in the format used by the configured distribution.\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "\\f[B]$PROFILES\\f[R] contains the profiles from the \\f[B]Profiles=\\f[R] " "setting as a comma-delimited string.\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "\\f[B]$CACHED\\f[R] is set to \\f[B]1\\f[R] if a cached image is available, " "\\f[B]0\\f[R] otherwise.\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "\\f[B]$CHROOT_SCRIPT\\f[R] contains the path to the running script relative " "to the image root directory. The primary usecase for this variable is in " "combination with the \\f[B]mkosi-chroot\\f[R] script. See the description " "of \\f[B]mkosi-chroot\\f[R] below for more information.\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "\\f[B]$SRCDIR\\f[R] contains the path to the directory \\f[B]mkosi\\f[R] was " "invoked from, with any configured build sources mounted on top. \\f[B]" "$CHROOT_SRCDIR\\f[R] contains the value that \\f[B]$SRCDIR\\f[R] will have " "after invoking \\f[B]mkosi-chroot\\f[R].\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "\\f[B]$BUILDDIR\\f[R] is only defined if \\f[B]mkosi.builddir\\f[R] exists " "and points to the build directory to use. This is useful for all build " "systems that support out-of-tree builds to reuse already built artifacts " "from previous runs. \\f[B]$CHROOT_BUILDDIR\\f[R] contains the value that " "\\f[B]$BUILDDIR\\f[R] will have after invoking \\f[B]mkosi-chroot\\f[R].\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "\\f[B]$DESTDIR\\f[R] is a directory into which any installed software " "generated by a build script may be placed. This variable is only set when " "executing a build script. \\f[B]$CHROOT_DESTDIR\\f[R] contains the value " "that \\f[B]$DESTDIR\\f[R] will have after invoking \\f[B]mkosi-chroot\\f[R]." "\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "\\f[B]$OUTPUTDIR\\f[R] points to the staging directory used to store build " "artifacts generated during the build. \\f[B]$CHROOT_OUTPUTDIR\\f[R] " "contains the value that \\f[B]$OUTPUTDIR\\f[R] will have after invoking " "\\f[B]mkosi-chroot\\f[R].\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "\\f[B]$PACKAGEDIR\\f[R] points to the directory containing the local package " "repository. Build scripts can add more packages to the local repository by " "writing the packages to \\f[B]$PACKAGEDIR\\f[R].\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "\\f[B]$ARTIFACTDIR\\f[R] points to the directory that is used to pass around " "build artifacts generated during the build and make them available for use " "by mkosi. This is similar to \\f[B]PACKAGEDIR\\f[R], but is meant for " "artifacts that may not be packages understood by the package manager, e.g.\\ " "initrds created by other initrd generators than mkosi. Build scripts can " "add more artifacts to the directory by placing them in \\f[B]" "$ARTIFACTDIR\\f[R]. Files in this directory are only available for the " "current build and are not copied out like the contents of \\f[B]" "$OUTPUTDIR\\f[R].\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "\\f[B]io.mkosi.microcode\\f[R]: All files in this directory are used as " "microcode files, i.e.\\ they are prepended to the initrds in lexicographical " "order.\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "\\f[B]io.mkosi.initrd\\f[R]: All files in this directory are used as initrds " "and joined in lexicographical order.\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "It is recommended, that users of \\f[B]$ARTIFACTDIR\\f[R] put things for " "their own use in a similar namespaced directory, e.g.\\ " "\\f[B]local.my.namespace\\f[R].\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "\\f[B]$BUILDROOT\\f[R] is the root directory of the image being built, " "optionally with the build overlay mounted on top depending on the script " "that\\(cqs being executed.\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "\\f[B]$WITH_DOCS\\f[R] is either \\f[B]0\\f[R] or \\f[B]1\\f[R] depending on " "whether a build without or with installed documentation was requested " "(\\f[B]WithDocs=yes\\f[R]). A build script should suppress installation of " "any package documentation to \\f[B]$DESTDIR\\f[R] in case \\f[B]" "$WITH_DOCS\\f[R] is set to \\f[B]0\\f[R].\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "\\f[B]$WITH_TESTS\\f[R] is either \\f[B]0\\f[R] or \\f[B]1\\f[R] depending " "on whether a build without or with running the test suite was requested " "(\\f[B]WithTests=no\\f[R]). A build script should avoid running any unit or " "integration tests in case \\f[B]$WITH_TESTS\\f[R] is \\f[B]0\\f[R].\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "\\f[B]$WITH_NETWORK\\f[R] is either \\f[B]0\\f[R] or \\f[B]1\\f[R] depending " "on whether a build without or with networking is being executed " "(\\f[B]WithNetwork=no\\f[R]). A build script should avoid any network " "communication in case \\f[B]$WITH_NETWORK\\f[R] is \\f[B]0\\f[R].\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "\\f[B]$SOURCE_DATE_EPOCH\\f[R] is defined if requested " "(\\f[B]SourceDateEpoch=TIMESTAMP\\f[R], " "\\f[B]Environment=SOURCE_DATE_EPOCH=TIMESTAMP\\f[R] or the host environment " "variable \\f[B]$SOURCE_DATE_EPOCH\\f[R]). This is useful to make builds " "reproducible. See E<.UR https://reproducible-builds.org/specs/source-date-" "epoch/> SOURCE_DATE_EPOCH E<.UE > \\ for more information.\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "\\f[B]$MKOSI_UID\\f[R] and \\f[B]$MKOSI_GID\\f[R] respectively are the uid, " "gid of the user that invoked mkosi.\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "\\f[B]$MKOSI_CONFIG\\f[R] is a file containing a json summary of the " "settings of the current image. This file can be parsed inside scripts to " "gain access to all settings for the current image.\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "\\f[B]$IMAGE_ID\\f[R] contains the identifier from the \\f[B]ImageId=\\f[R] " "or \\f[B]--image-id=\\f[R] setting.\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "\\f[B]$IMAGE_VERSION\\f[R] contains the version from the " "\\f[B]ImageVersion=\\f[R] or \\f[B]--image-version=\\f[R] setting.\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "\\f[B]$MKOSI_DEBUG\\f[R] is either \\f[B]0\\f[R] or \\f[B]1\\f[R] depending " "on whether debugging output is enabled.\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]configure\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]sync\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]prepare\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]postinst\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]finalize\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]postoutput\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]ARCHITECTURE\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]ARTIFACTDIR\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]BUILDDIR\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]BUILDROOT\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]CACHED\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]CHROOT_BUILDDIR\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]CHROOT_DESTDIR\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]CHROOT_OUTPUTDIR\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]CHROOT_SCRIPT\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]CHROOT_SRCDIR\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]MKOSI_DEBUG\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]DESTDIR\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]DISTRIBUTION\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]DISTRIBUTION_ARCHITECTURE\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]EFI_ARCHITECTURE\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]IMAGE_ID\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]IMAGE_VERSION\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]MKOSI_CONFIG\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]MKOSI_GID\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]MKOSI_UID\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]OUTPUTDIR\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]PACKAGEDIR\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]PROFILES\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]QEMU_ARCHITECTURE\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]RELEASE\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]SOURCE_DATE_EPOCH\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]SRCDIR\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]WITH_DOCS\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]WITH_NETWORK\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]WITH_TESTS\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Additionally, when a script is executed, a few scripts are made available " "via \\f[B]$PATH\\f[R] to simplify common usecases.\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "\\f[B]mkosi-chroot\\f[R]: This script will chroot into the image and execute " "the given command. On top of chrooting into the image, it will also mount " "various files and directories (\\f[B]$SRCDIR\\f[R], \\f[B]$DESTDIR\\f[R], " "\\f[B]$BUILDDIR\\f[R], \\f[B]$OUTPUTDIR\\f[R], \\f[B]$CHROOT_SCRIPT\\f[R]) " "into the image and modify the corresponding environment variables to point " "to the locations inside the image. It will also mount APIVFS filesystems " "(\\f[B]/proc\\f[R], \\f[B]/dev\\f[R], \\&...) to make sure scripts and " "tools executed inside the chroot work properly. It also propagates \\f[B]/" "etc/resolv.conf\\f[R] from the host into the chroot if requested so that DNS " "resolution works inside the chroot. After the mkosi-chroot command exits, " "various mount points are cleaned up.\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "To execute the entire script inside the image, add a \\f[B].chroot\\f[R] " "suffix to the name (\\f[B]mkosi.build.chroot\\f[R] instead of " "\\f[B]mkosi.build\\f[R], etc.).\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "For all of the supported package managers (\\f[B]dnf\\f[R], \\f[B]rpm\\f[R], " "\\f[B]apt\\f[R], \\f[B]dpkg\\f[R], \\f[B]pacman\\f[R], \\f[B]zypper\\f[R]), " "scripts of the same name are put into \\f[B]$PATH\\f[R] that make sure these " "commands operate on the image\\(cqs root directory with the configuration " "supplied by the user instead of on the host system. This means that from a " "script, you can do e.g. \\f[B]dnf install vim\\f[R] to install vim into the " "image.\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Additionally, \\f[B]mkosi-install\\f[R], \\f[B]mkosi-reinstall\\f[R], " "\\f[B]mkosi-upgrade\\f[R] and \\f[B]mkosi-remove\\f[R] will invoke the " "corresponding operation of the package manager being used to built the image." "\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "\\f[B]git\\f[R] is automatically invoked with \\f[B]safe.directory=*\\f[R] " "to avoid permissions errors when running as the root user in a user " "namespace.\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "\\f[B]useradd\\f[R] and \\f[B]groupadd\\f[R] are automatically invoked with " "\\f[B]--root=$BUILDROOT\\f[R] when executed outside of the image.\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "When scripts are executed, any directories that are still writable are also " "made read-only (\\f[B]/home\\f[R], \\f[B]/var\\f[R], \\f[B]/root\\f[R], " "\\&...) and only the minimal set of directories that need to be writable " "remain writable. This is to ensure that scripts can\\(cqt mess with the " "host system when \\f[B]mkosi\\f[R] is running as root.\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "The \\f[R]mkosi.skeleton/\\f[R] directory or \\f[R]mkosi.skeleton.tar\\f[R] " "archive may be used to insert files into the image. The files are copied " "\\f[I]before\\f[R] the distribution packages are installed into the image. " "This allows creation of files that need to be provided early, for example to " "configure the package manager or set systemd presets.\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "The \\f[R]mkosi.extra/\\f[R] directory or \\f[R]mkosi.extra.tar\\f[R] " "archive may be used to insert additional files into the image, on top of " "what the distribution includes in its packages. They are similar to " "\\f[B]mkosi.skeleton/\\f[R] and \\f[B]mkosi.skeleton.tar\\f[R], but the " "files are copied into the directory tree of the image \\f[I]after\\f[R] the " "OS was installed.\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "The \\f[R]mkosi.sandbox/\\f[R] directory or \\f[R]mkosi.sandbox.tar\\f[R] " "archive may be used to configure the package manager without the files being " "inserted into the image. If the files should be included in the image " "\\f[B]mkosi.skeleton/\\f[R] and \\f[B]mkosi.skeleton.tar\\f[R] should be " "used instead.\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "The \\f[R]mkosi.nspawn\\f[R] nspawn settings file will be copied into the " "same place as the output image file, if it exists. This is useful since " "nspawn looks for settings files next to image files it boots, for additional " "container runtime settings.\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "The \\f[R]mkosi.cache/\\f[R] directory, if it exists, is automatically used " "as package download cache, in order to speed repeated runs of the tool.\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "The \\f[R]mkosi.builddir/\\f[R] directory, if it exists, is automatically " "used as out-of-tree build directory, if the build commands in the " "\\f[B]mkosi.build\\f[R] scripts support it. Specifically, this directory " "will be mounted into the build container, and the \\f[B]$BUILDDIR\\f[R] " "environment variable will be set to it when the build scripts are invoked. " "A build script may then use this directory as build directory, for " "\\f[B]automake\\f[R]-style or \\f[B]ninja\\f[R]-style out-of-tree builds. " "This speeds up builds considerably, in particular when \\f[B]mkosi\\f[R] is " "used in incremental mode (\\f[B]-i\\f[R]): not only the image and build " "overlay, but also the build tree is reused between subsequent invocations. " "Note that if this directory does not exist the \\f[B]$BUILDDIR\\f[R] " "environment variable is not set, and it is up to the build scripts to decide " "whether to do an in-tree or an out-of-tree build, and which build directory " "to use.\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "The \\f[R]mkosi.rootpw\\f[R] file can be used to provide the password for " "the root user of the image. If the password is prefixed with \\f[B]hashed:" "\\f[R] it is treated as an already hashed root password. The password may " "optionally be followed by a newline character which is implicitly removed. " "The file must have an access mode of 0600 or less. If this file does not " "exist, the distribution\\(cqs default root password is set (which usually " "means access to the root user is blocked).\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "The \\f[R]mkosi.passphrase\\f[R] file provides the passphrase to use when " "LUKS encryption is selected. It should contain the passphrase literally, " "and not end in a newline character (i.e.\\ in the same format as " "\\f[B]cryptsetup\\f[R] and \\f[B]/etc/crypttab\\f[R] expect the passphrase " "files). The file must have an access mode of 0600 or less.\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "The \\f[R]mkosi.crt\\f[R] and \\f[R]mkosi.key\\f[R] files contain an X.509 " "certificate and PEM private key to use when signing is required (UEFI " "SecureBoot, verity, \\&...).\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "The \\f[R]mkosi.output/\\f[R] directory is used to store all build artifacts." "\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "The \\f[R]mkosi.credentials/\\f[R] directory is used as a source of extra " "credentials similar to the \\f[B]Credentials=\\f[R] option. For each file " "in the directory, the filename will be used as the credential name and the " "file contents become the credential value, or, if the file is executable, " "\\f[B]mkosi\\f[R] will execute the file and the command\\(cqs output to " "stdout will be used as the credential value. Output to stderr will be " "ignored. Credentials configured with \\f[B]Credentials=\\f[R] take " "precedence over files in \\f[B]mkosi.credentials\\f[R].\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "The \\f[R]mkosi.repart/\\f[R] directory is used as the source for " "\\f[B]systemd-repart\\f[R] partition definition files which are passed to " "\\f[B]systemd-repart\\f[R] when building a disk image. If it does not exist " "and the \\f[B]RepartDirectories=\\f[R] setting is not configured, " "\\f[B]mkosi\\f[R] will default to the following partition definition files:" "\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "\\f[B]00-esp.conf\\f[R] (if we\\(cqre building a bootable image):\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "\\f[B]05-bios.conf\\f[R] (if we\\(cqre building a BIOS bootable image):\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]10-root.conf\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Note that if either \\f[B]mkosi.repart/\\f[R] is found or " "\\f[B]RepartDirectories=\\f[R] is used, we will not use any of the default " "partition definitions.\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Note that the location of all these files may also be configured during " "invocation via command line switches, and as settings in " "\\f[B]mkosi.conf\\f[R], in case the default settings are not acceptable for " "a project.\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "The package cache of the distribution package manager may be cached between " "builds. This is configured with the \\f[B]--cache-directory=\\f[R] option " "or the \\f[B]mkosi.cache/\\f[R] directory. This form of caching relies on " "the distribution\\(cqs package manager, and caches distribution packages " "(RPM, deb, \\&...) after they are downloaded, but before they are unpacked." "\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "If the incremental build mode is enabled with \\f[B]--incremental=yes\\f[R], " "cached copies of the final image and build overlay are made immediately " "before the build sources are copied in (for the build overlay) or the " "artifacts generated by \\f[B]mkosi.build\\f[R] are copied in (in case of the " "final image). This form of caching allows bypassing the time-consuming " "package unpacking step of the distribution package managers, but is only " "effective if the list of packages to use remains stable, but the build " "sources and its scripts change regularly. Note that this cache requires " "manual flushing: whenever the package list is modified the cached images " "need to be explicitly removed before the next re-build, using the \\f[B]-" "f\\f[R] switch.\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Finally, between multiple builds the build artifact directory may be shared, " "using the \\f[B]mkosi.builddir/\\f[R] directory. This directory allows " "build systems such as Meson to reuse already compiled sources from a " "previous built, thus speeding up the build process of a " "\\f[B]mkosi.build\\f[R] build script.\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Tools trees can be provided via the \\f[B]ToolsTree=\\f[R] option, the " "\\f[B]mkosi.tools\\f[R] directory or built automatically by mkosi if set to " "\\f[B]ToolsTree=yes\\f[R]. For most use cases setting it is sufficient to " "use the default tools trees and the use of a tools tree is recommended.\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Tools trees, including default tools trees, can be further customized via " "the different \\f[B]ToolsTree*=\\f[R] variables as well as the " "\\f[B]mkosi.tools.conf\\f[R] configuration file or directory. The output " "format for tools trees cannot currently be changed via configuration files." "\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]acl\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]apt\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]archlinux-keyring\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]attr\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]bash\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]btrfs-progs\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]ca-certificates\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]coreutils\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]cpio\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]createrepo_c\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]curl\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]debian-keyring\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]diffutils\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]distribution-gpg-keys\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]dnf\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]dosfstools\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]e2fsprogs\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]edk2-ovmf\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]erofs-utils\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]findutils\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]git\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]grep\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]grub-tools\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]jq\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]kali-archive-keyring\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]kmod\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]less\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]mtools\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]nano\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]opensc\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]openssh\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]openssl\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]pkcs11-provider\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]perf\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]sed\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]pacman\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]p11-kit\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]policycoreutils\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]qemu\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]sbsigntools\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]socat\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]squashfs-tools\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]strace\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]swtpm\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]systemd\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]ukify\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]tar\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]ubuntu-keyring\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]util-linux\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]virtiofsd\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]virt-firmware\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]xfsprogs\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]xz\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]zstd\\fR" msgstr "" #. type: tbl table #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "\\f[B]zypper\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "If the \\f[B]mkosi.images/\\f[R] directory exists, \\f[B]mkosi\\f[R] will " "load individual subimage configurations from it and build each of them. " "Image configurations can be either directories containing \\f[B]mkosi\\f[R] " "configuration files or regular files with the \\f[B].conf\\f[R] extension." "\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "When image configurations are found in \\f[B]mkosi.images/\\f[R], " "\\f[B]mkosi\\f[R] will build the images specified in the " "\\f[B]Dependencies=\\f[R] setting of the main image and all of their " "dependencies (or all of them if no images were explicitly configured using " "\\f[B]Dependencies=\\f[R] in the main image configuration). To add " "dependencies between subimages, the \\f[B]Dependencies=\\f[R] setting can be " "used as well. Subimages are always built before the main image.\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "When images are defined, \\f[B]mkosi\\f[R] will first read the main image " "configuration (configuration outside of the \\f[B]mkosi.images/\\f[R] " "directory), followed by the image specific configuration.\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "Several \\(lqmultiversal\\(rq settings apply to the default tools tree and " "to the main image and cannot be configured separately outside of the main " "image:" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]RepositoryKeyCheck=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]RepositoryKeyFetch=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]SourceDateEpoch=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]CacheOnly=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]WorkspaceDirectory=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]PackageCacheDirectory=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]BuildSourcesEphemeral=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]ProxyClientCertificate=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]ProxyClientKey=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]ProxyExclude=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]ProxyPeerCertificate=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]ProxyUrl=\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "Several \\(lquniversal\\(rq settings apply to the main image and all its " "subimages and cannot be configured separately in subimages. The following " "settings are universal and cannot be configured in subimages:" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]BuildDirectory=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]CacheDirectory=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]ExtraSearchPaths=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]Incremental=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]LocalMirror=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]Mirror=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]OutputMode=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]PackageDirectories=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]RepartOffline=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]SandboxTrees=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]ToolsTree=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]ToolsTreeCertificates=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]UseSubvolumes=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]SecureBootCertificate=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]SecureBootCertificateSource=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]SecureBootKey=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]SecureBootKeySource=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]VerityCertificate=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]VerityCertificateSource=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]VerityKey=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]VerityKeySource=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]VolatilePackageDirectories=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]WithNetwork=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]WithTests\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]SectorSize=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]CacheKey=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]BuildKey=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]CompressLevel=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]SignExpectedPcrKey=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]SignExpectedPcrKeySource=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]SignExpectedPcrCertificate=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]SignExpectedPcrCertificateSource=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]MinimumVersion=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]PassEnvironment=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]ToolsTreeProfiles=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]ToolsTreeMirror=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]ToolsTreeRepositories=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]ToolsTreeSandboxTrees=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]ToolsTreePackages=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]ToolsTreePackageDirectories=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]History=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "Every setting in the \\f[B][Runtime]\\f[R] section\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]BaseTrees=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]ExtraTrees=\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "\\f[B]Initrds=\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "To refer to outputs of a image\\(cqs dependencies, simply configure any of " "these options with a relative path to the output to use in the output " "directory of the dependency. Or use the \\f[B]%O\\f[R] specifier to refer " "to the output directory.\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "\\f[B]$MKOSI_LESS\\f[R] overrides options for \\f[B]less\\f[R] when it is " "invoked by \\f[B]mkosi\\f[R] to page output.\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "\\f[B]$MKOSI_DNF\\f[R] can be used to override the executable used as " "\\f[B]dnf\\f[R]. This is particularly useful to select between " "\\f[B]dnf\\f[R] and \\f[B]dnf5\\f[R].\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "\\f[B]$EPEL_MIRROR\\f[R] can be used to override the default mirror location " "used for the epel repositories when \\f[B]Mirror=\\f[R] is used. By default " "\\f[B]mkosi\\f[R] looks for the epel repositories in the \\f[B]fedora\\f[R] " "subdirectory of the parent directory of the mirror specified in " "\\f[B]Mirror=\\f[R]. For example if the mirror is set to \\f[B]https://" "mirror.net/centos-stream\\f[R] \\f[B]mkosi\\f[R] will look for the epel " "repositories in \\f[B]https://mirror.net/fedora/epel\\f[R].\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "\\f[B]SYSEXT_SCOPE\\f[R] and \\f[B]CONFEXT_SCOPE\\f[R] can be used to " "override the default value of the respective \\f[B]extension-release\\f[R] " "file when building a sysext or confext. By default the value is set to " "\\f[B]initrd system portable\\f[R].\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Create and run a raw \\f[I]GPT\\f[R] image with \\f[I]ext4\\f[R], as " "\\f[B]image.raw\\f[R]:\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Create and run a bootable \\f[I]GPT\\f[R] image, as \\f[B]foobar.raw\\f[R]:" "\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Create a compressed image \\f[B]image.raw.xz\\f[R] with SSH installed and " "add a checksum file:\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed #, no-wrap msgid "" "if [ \"$container\" != \"mkosi\" ]; then\n" " exec mkosi-chroot \"$CHROOT_SCRIPT\" \"$\\(at\"\n" "fi\n" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed #, no-wrap msgid "" "cd $SRCDIR\n" "\\&./autogen.sh\n" "\\&./configure --prefix=/usr\n" "make -j \\(ganproc\\(ga\n" "make install\n" "EOF\n" "$ chmod +x mkosi.build\n" "# mkosi -i boot\n" "# systemd-nspawn -bi image.raw\n" msgstr "" #. type: SS #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "Different ways to boot with \\f[B]vm\\fB" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed #, no-wrap msgid "" "$ mkosi -d fedora -p systemd-udev,systemd-boot,kernel-core build\n" "$ mkosi -d fedora vm\n" "\\&...\n" "fedora login: root (automatic login)\n" "[root\\(atfedora \\(ti]#\n" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "The default is to boot with a text console only. In this mode, messages " "from the boot loader, the kernel, and systemd, and later the " "\\f[B]getty\\f[R] login prompt and shell all use the same terminal. It is " "possible to switch between the \\f[B]qemu\\f[R] console and monitor by " "pressing \\f[B]Ctrl-a c\\f[R]. The \\f[B]qemu\\f[R] monitor may for example " "be used to inject special keys or shut down the machine quickly. " "Alternatively the machine can be shut down using \\f[B]Ctrl-a x\\f[R].\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "To boot with a graphical window, add \\f[B]--console=gui\\f[R]:\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "A kernel may be booted directly with \\f[B]mkosi vm -kernel ... " "-initrd ... -append \\(aq...\\(aq\\f[R]. This is a bit faster because no " "boot loader is used, and it is also easier to experiment with different " "kernels and kernel command lines. Note that despite the name, " "\\f[B]qemu\\f[R]\\(cqs \\f[B]-append\\f[R] option replaces the default " "kernel command line embedded in the kernel and any previous \\f[B]-" "append\\f[R] specifications.\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed #, no-wrap msgid "$ mkosi vm -- -kernel mkosi.output/fedora\\(ti38/image.efi\n" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "When booting using an external kernel, we don\\(cqt need the kernel " "\\f[I]in\\f[R] the image, but we would still want the kernel modules to be " "installed.\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "mkosi requires a Linux kernel that provides \\f[B]mount_setattr()\\f[R] " "which was introduces in 5.12.\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "On Debian/Kali/Ubuntu it might be necessary to install the \\f[B]ubuntu-" "keyring\\f[R], \\f[B]ubuntu-archive-keyring\\f[R], \\f[B]kali-archive-" "keyring\\f[R] and/or \\f[B]debian-archive-keyring\\f[R] packages explicitly, " "in addition to \\f[B]apt\\f[R], depending on what kind of distribution " "images you want to build.\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "For information about Ubuntu, that implements such restrictions using " "AppArmor, see https://ubuntu.com/blog/ubuntu-23-10-restricted-unprivileged-" "user-namespaces. For other systems, try researching the " "\\f[B]kernel.unprivileged_userns_clone\\f[R] or " "\\f[B]user.max.user_namespace\\f[R] sysctls.\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "For Ubuntu systems, you can remove the restrictions for \\f[B]mkosi\\f[R] by " "adapting this snippet to point to your \\f[B]mkosi\\f[R] binary, copying it " "to \\f[B]/etc/apparmor.d/resolved.path.to.mkosi\\f[R], and then running " "\\f[B]systemctl reload apparmor\\f[R]:\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Why does \\f[B]mkosi vm\\f[R] with KVM not work on Debian/Kali/Ubuntu?\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "While other distributions are OK with allowing access to \\f[B]/dev/" "kvm\\f[R], on Debian/Kali/Ubuntu this is only allowed for users in the " "\\f[B]kvm\\f[R] group. Because \\f[B]mkosi\\f[R] unshares a user namespace " "when running unprivileged, even if the calling user was in the kvm group, " "when \\f[B]mkosi\\f[R] unshares the user namespace to run unprivileged, it " "loses access to the \\f[B]kvm\\f[R] group and by the time we start " "\\f[B]qemu\\f[R] we don\\(cqt have access to \\f[B]/dev/kvm\\f[R] anymore. " "As a workaround, you can change the permissions of the device nodes to " "\\f[B]0666\\f[R] which is sufficient to make KVM work unprivileged. To " "persist these settings across reboots, copy \\f[B]/usr/lib/tmpfiles.d/static-" "nodes-permissions.conf\\f[R] to \\f[B]/etc/tmpfiles.d/static-nodes-" "permissions.conf\\f[R] and change the mode of \\f[B]/dev/kvm\\f[R] from " "\\f[B]0660\\f[R] to \\f[B]0666\\f[R].\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed #, no-wrap msgid "useradd --create-home --user-group $USER --password \"$(openssl passwd -stdin -6 E$USER_PASSWORD_FILE)\"\n" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Note that chown calls are only suppressed when running package managers, but " "not when running scripts. If this is required, e.g.\\ for a build script, " "you can set the \\f[B]MKOSI_CHROOT_SUPPRESS_CHOWN\\f[R] variable to a true " "value (\\f[B]1\\f[R], \\f[B]yes\\f[R], \\f[B]true\\f[R]) to suppress chown " "calls in \\f[B]mkosi-chroot\\f[R] and \\f[B].chroot\\f[R] scripts.\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "If this behavior causes applications running in your image to misbehave, you " "can consider running \\f[B]mkosi\\f[R] as root which avoids this problem. " "Alternatively, if running \\f[B]mkosi\\f[R] as root is not desired, you can " "use \\f[B]unshare --map-auto --map-current-user --setuid 0 --setgid 0\\f[R] " "to become root in a user namespace with more than one user assuming the UID/" "GID mappings in \\f[B]/etc/subuid\\f[R] and \\f[B]/etc/subgid\\f[R] are " "configured correctly. Note that running mkosi as root or with " "\\f[B]unshare\\f[R] means that all output files produced by " "\\f[B]mkosi\\f[R] will not be owned by your current user anymore.\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Note that for systemd services that need directories in \\f[B]/var\\f[R] " "owned by the service user and group, an alternative to shipping these " "directories in packages or creating them via systemd-tmpfiles is to use " "\\f[B]StateDirectory=\\f[R], \\f[B]CacheDirectory=\\f[R] or " "\\f[B]LogsDirectory=\\f[R] in the service file which instructs systemd to " "create the directory when it first starts the service.\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "Alternatively, the \\f[B]z\\f[R] or \\f[B]Z\\f[R] directives for " "\\f[B]systemd-tmpfiles\\f[R] can be used to chown various directories and " "files to their owning user when the system first boots up.\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "Why does \\f[B]portablectl inspect EimageE\\f[R]/\\f[B]systemd-" "dissect EimageE\\f[R] say my portable service isn\\(cqt one?\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "\\f[B]systemd-dissect\\f[R] and\\f[B]portablectl inspect\\f[R] check for " "\\f[B]PORTABLE_PREFIXES=\\f[R] in \\f[B]os-release\\f[R] and if the key is " "missing, will fail to recognise a portable service as one, showing ✗ under " "\\f[I]Use as\\f[R] for in the case of \\f[B]systemd-dissect\\f[R] or \\f[B]n/" "a\\f[R] under \\f[I]Portable Service\\f[R] for \\f[B]portablectl\\f[R].\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "Since there is no good default to set for this key and the generated " "portable service images will still attach properly, even when the key is not " "set, \\f[B]mkosi\\f[R] doesn\\(cqt set one.\\fR" msgstr "" #. type: Plain text #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed msgid "" "You can set \\f[B]PORTABLE_PREFIXES=\\f[R] in the \\f[B]os-release\\f[R] " "file yourself in a postinst script.\\fR" msgstr "" #. type: Plain text #: debian-unstable opensuse-tumbleweed msgid "" "E<.UR https://0pointer.net/blog/mkosi-a-tool-for-generating-os-images.html> " "mkosi \\(em A Tool for Generating OS Images E<.UE > \\ introductory blog " "post by Lennart Poettering" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "This builds the image if it is not built yet, and then invokes \\f[B]systemd-" "nspawn\\f[R] to run an interactive shell in the image. This doesn\\[cq]t " "require booting the system, it\\[cq]s like a better chroot. An optional " "command line may be specified after the \\f[B]shell\\f[R] verb, to be " "invoked in place of the shell in the container. To pass extra options to " "nspawn, separate them from regular options with \\f[B]--\\f[R].\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "When the image is built with the \\f[B]Ssh=always\\f[R] option or if " "systemd\\[cq]s \\f[B]sshd-vsock\\f[R] service is running in the VM (systemd " "v256+), this command connects to a booted virtual machine via SSH. Make " "sure to run \\f[B]mkosi ssh\\f[R] with the same config as \\f[B]mkosi " "build\\f[R] so that it has the necessary information available to connect to " "the running virtual machine via SSH. Specifically, the SSH private key from " "the \\f[B]SshKey=\\f[R] setting is used to connect to the virtual machine. " "Use \\f[B]mkosi genkey\\f[R] to automatically generate a key and certificate " "that will be picked up by \\f[B]mkosi\\f[R]. Any arguments passed after the " "\\f[B]ssh\\f[R] verb are passed as arguments to the \\f[B]ssh\\f[R] " "invocation. To pass extra options, separate them from regular options with " "\\f[B]--\\f[R].To connect to a container, use \\f[B]machinectl login\\f[R] " "or \\f[B]machinectl shell\\f[R].\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "The \\f[B]Machine=\\f[R] option can be used to give the machine a custom " "hostname when booting it which can later be used to \\f[B]ssh\\f[R] into the " "image (e.g.\\ \\f[B]mkosi --machine=mymachine vm\\f[R] followed by " "\\f[B]mkosi --machine=mymachine ssh\\f[R]).\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "If \\f[B]mkosi.bump\\f[R] exists, it is invoked to generate the new version " "to be used instead of using mkosi\\[cq]s own logic.\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "Show \\f[B]mkosi\\f[R]\\[cq]s documentation. If no argument is given, the " "\\f[B]mkosi\\f[R] man page is shown, but the arguments \\f[B]mkosi\\f[R], " "\\f[B]mkosi-initrd\\f[R], \\f[B]initrd\\f[R], \\f[B]mkosi-sandbox\\f[R], " "\\f[B]sandbox\\f[R], \\f[B]mkosi.news\\f[R] and \\f[B]news\\f[R] are " "supported and respectively show the man pages for \\f[B]mkosi\\f[R], " "\\f[B]mkosi-initrd\\f[R], \\f[B]mkosi-sandbox\\f[R] and \\f[B]mkosi\\f[R]\\" "[cq]s NEWS file.\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "By default this verb will try several ways to output the documentation, but " "a specific option can be chosen with the \\f[B]--doc-format\\f[R] option. " "Distro packagers are encouraged to add a file \\f[B]mkosi.1\\f[R] into the " "\\f[B]mkosi/resources\\f[R] directory of the Python package, if it is " "missing, as well as to install it in the appropriate search path for man " "pages. The man page can be generated from the markdown file \\f[B]mkosi/" "resources/man/mkosi.1.md\\f[R] e.g via \\f[B]pandoc -t man -s -o mkosi.1 " "mkosi.1.md\\f[R].\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "By default, only the dependencies required to build images with mkosi are " "shown. Extra tools tree profiles can be enabled to also output the packages " "belonging to those profiles. For example, running \\f[B]mkosi dependencies " "-- --profile runtime\\f[R] will also output the packages in the runtime " "profile on top of the regular packages. See the documentation for " "\\f[B]ToolsTreeProfiles=\\f[R] for a list of available profiles.\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "Common name to be used when generating keys via \\f[B]mkosi\\f[R]\\[cq]s " "\\f[B]genkey\\f[R] command. Defaults to \\f[B]mkosi of %u\\f[R], where " "\\f[B]%u\\f[R] expands to the username of the user invoking " "\\f[B]mkosi\\f[R].\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "Number of days that the keys should remain valid when generating keys via " "\\f[B]mkosi\\f[R]\\[cq]s \\f[B]genkey\\f[R] command. Defaults to two years " "(730 days).\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "If this setting is configured and \\f[B]Mirror=\\f[R] is not explicitly " "configured, different default mirrors are used:\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "This setting is only implemented for distributions using \\f[B]dnf\\f[R], " "\\f[B]pacman\\f[R] or \\f[B]zypper\\f[R] as their package manager. For " "other distributions the distribution GPG keys are always looked up locally " "regardless of the value of this setting. To make the distribution GPG keys " "for distributions available without enabling this setting, the corresponding " "package has to be installed on the host. This is usually one of " "\\f[B]archlinux-keyring\\f[R], \\f[B]debian-keyring\\f[R], \\f[B]kali-" "archive-keyring\\f[R], \\f[B]ubuntu-keyring\\f[R] or \\f[B]distribution-gpg-" "keys\\f[R] (for RPM-based distributions).\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "If the \\f[B]disk\\f[R] output format is used, the disk image is generated " "using \\f[B]systemd-repart\\f[R]. The repart partition definition files to " "use can be configured using the \\f[B]RepartDirectories=\\f[R] setting or " "via \\f[B]mkosi.repart/\\f[R]. When verity partitions are configured using " "\\f[B]systemd-repart\\f[R]\\[cq]s \\f[B]Verity=\\f[R] setting, " "\\f[B]mkosi\\f[R] will automatically parse the verity hash partition\\[cq]s " "roothash from \\f[B]systemd-repart\\f[R]\\[cq]s JSON output and include it " "in the kernel command line of every unified kernel image built by " "\\f[B]mkosi\\f[R].\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "If the \\f[B]none\\f[R] output format is used, the outputs from a previous " "build are not removed, but clean scripts (see \\f[B]CleanScripts=\\f[R]) " "are still executed. This allows rerunning a build script (see " "\\f[B]BuildScripts=\\f[R]) without removing the results of a previous build." "\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "Note that this only specifies the output prefix, depending on the specific " "output format, compression and image version used, the full output name " "might be \\f[B]image_7.8.raw.xz\\f[R].\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "When building a disk image and \\f[B]partitions\\f[R] is specified, pass " "\\f[B]--split=yes\\f[R] to \\f[B]systemd-repart\\f[R] to have it write out " "split partition files for each configured partition. Read the E<.UR https://" "www.freedesktop.org/software/systemd/man/systemd-repart.html#--split=BOOL> " "man E<.UE > \\ page for more information. This is useful in A/B update " "scenarios where an existing disk image shall be augmented with a new version " "of a root or \\f[B]/usr\\f[R] partition along with its Verity partition and " "unified kernel.\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "When \\f[B]tar\\f[R] is specified, the rootfs is additionally archived as a " "tar archive (compressed according to \\f[B]CompressOutput=\\f[R]).\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "When \\f[B]roothash\\f[R] is specified and a dm-verity disk image is built, " "the dm-verity roothash is written out as a separate file, which is useful " "for offline signing.\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "\\f[B]kernel-modules-initrd\\f[R] corresponds to the separate kernel modules " "initrd which mkosi appends to the main initrd. This is primarily intended " "for debugging as many initrd inspection tools don\\[cq]t properly handle " "multiple initrds appended to each other.\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "When \\f[B]repart-definitions\\f[R] is specified, a directory containing the " "used repart definition files is written to the output directory. If " "multiple directories are configured via \\f[B]RepartDirectories=\\f[R], they " "are merged, with later directories taking priority over earlier ones when " "files with identical names exist.\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "By default \\f[B]uki\\f[R], \\f[B]kernel\\f[R] and \\f[B]initrd\\f[R] are " "split out.\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "See \\f[B]PackageDirectories=\\f[R] for information on how to make local " "packages available for installation with \\f[B]Packages=\\f[R].\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "\\f[B]Example\\f[R]: when using a distro that uses \\f[B]dnf\\f[R], the " "following configuration would install the \\f[B]meson\\f[R] package (in the " "latest version), the 32-bit version of the \\f[B]libfdisk-devel\\f[R] " "package, all available packages that start with the \\f[B]git-\\f[R] prefix, " "a \\f[B]systemd\\f[R] RPM from the local file system, one of the packages " "that provides \\f[B]/usr/bin/ld\\f[R], the packages in the \\f[I]Development " "Tools\\f[R] group, and the package that contains the \\f[B]mypy\\f[R] python " "module.\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "Additionally, build scripts can add more packages to the local repository by " "placing the built packages in \\f[B]$PACKAGEDIR\\f[R]. The packages placed " "in \\f[B]$PACKAGEDIR\\f[R] are shared between all image builds and thus " "available for installation in all images using \\f[B]VolatilePackages=\\f[R]." "\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "Note that skeleton trees are cached and any changes to skeleton trees after " "a cached image has been built (when using \\f[B]Incremental=\\f[R]) are " "only applied when the cached image is rebuilt (by using \\f[B]-ff\\f[R] or " "running \\f[B]mkosi -f clean\\f[R]).\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "As with the base tree logic above, instead of a directory, a tar file may be " "provided too. \\f[B]mkosi.skeleton.tar\\f[R] will be automatically used if " "found in the local directory.\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "To add extra package manager configuration files such as extra repositories, " "use \\f[B]SandboxTrees=\\f[R] as \\f[B]mkosi\\f[R] invokes the package " "managers from outside the image and not inside so any package manager " "configuration files provided via \\f[B]SkeletonTrees=\\f[R] won\\[cq]t take " "effect when \\f[B]mkosi\\f[R] invokes a package manager to install packages." "\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "As with the base tree logic above, instead of a directory, a tar file may be " "provided too. \\f[B]mkosi.extra.tar\\f[R] will be automatically used if " "found in the local directory.\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "Takes a boolean or \\f[B]auto\\f[R]. Enables or disables generation of a " "bootable image. If enabled, \\f[B]mkosi\\f[R] will install an EFI " "bootloader, and add an ESP partition when the disk image output is used. If " "the selected EFI bootloader (see \\f[B]Bootloader=\\f[R]) is not installed " "or no kernel images can be found, the build will fail. \\f[B]auto\\f[R] " "behaves as if the option was enabled, but the build won\\[cq]t fail if " "either no kernel images or the selected EFI bootloader can\\[cq]t be found. " "If disabled, no bootloader will be installed even if found inside the image, " "no unified kernel images will be generated and no ESP partition will be " "added to the image if the disk output format is used.\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "If the \\f[B]esp\\f[R] output format is used, an ESP partition and " "bootloader are always added, and the \\f[B]Bootable=\\f[R] option only " "controls whether a UKI is added to the ESP partition or not.\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "The \\f[B]signed\\f[R] variants will only install pre-signed EFI binaries " "shipped by the distribution.\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "Kernels need to be placed into the root filesystem (for example using " "\\f[B]ExtraTrees=\\f[R]) under \\f[B]/usr/lib/modules/$version\\f[R], named " "\\f[B]vmlinux\\f[R] or \\f[B]vmlinuz\\f[R]. The \\f[B]$version\\f[R] is as " "produced by Kbuild\\[cq]s \\f[B]kernelversion\\f[R] make target.\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "Note: When using \\f[B]systemd-boot\\f[R] or \\f[B]systemd-boot-" "signed\\f[R], \\f[B]mkosi\\f[R] expects the \\f[B]systemd-boot\\f[R] EFI " "binaries to be present in the image. Depending on your distribution, these " "may be packaged separately. For example, Debian- based images will need " "\\f[B]systemd-boot-efi\\f[R].\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "Note that this option is not mutually exclusive with " "\\f[B]Bootloader=\\f[R]. It is possible to have an image that is both " "bootable on UEFI and BIOS by configuring both \\f[B]Bootloader=\\f[R] and " "\\f[B]BiosBootloader=\\f[R].\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "The grub BIOS boot partition should have UUID " "\\f[B]21686148-6449-6e6f-744e-656564454649\\f[R] and should be at least 1MB." "\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "Takes one of \\f[B]none\\f[R], \\f[B]unsigned\\f[R], or \\f[B]signed\\f[R]. " "Defaults to \\f[B]none\\f[R]. If set to \\f[B]none\\f[R], shim and " "MokManager will not be installed to the ESP. If set to " "\\f[B]unsigned\\f[R], \\f[B]mkosi\\f[R] will search for unsigned shim and " "MokManager EFI binaries and install them. If \\f[B]SecureBoot=\\f[R] is " "enabled, \\f[B]mkosi\\f[R] will sign the unsigned EFI binaries before " "installing them. If set to \\f[B]signed\\f[R], \\f[B]mkosi\\f[R] will " "search for signed EFI binaries and install those. Even if " "\\f[B]SecureBoot=\\f[R] is enabled, \\f[B]mkosi\\f[R] won\\[cq]t sign these " "binaries again.\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "Note that this option only takes effect when an image that is bootable on " "UEFI firmware is requested using other options (\\f[B]Bootable=\\f[R], " "\\f[B]Bootloader=\\f[R]).\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "See the documentation for the \\f[B]UKIProfile\\f[R] section for information " "on which settings can be configured in UKI profile config files.\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "For UKI builds, multiple matches enable automatic hardware-based selection " "using the \\f[B].dtbauto\\f[R] sections. Type 1 boot entries require " "exactly one match.\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "Example: \\f[B]Devicetrees=rockchip/*,imx.*\\f[R] would include all Rockchip " "devicetrees and any IMX devicetrees.\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "The \\f[B].ko\\f[R] suffix and compression suffix are ignored during " "matching.\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "Globs are matched against module paths relative to \\f[B]/usr/lib/module/" "EkverE\\f[R], e.g.\\ the module at \\f[B]/usr/lib/module/" "EkverE/kernel/foo/bar.ko.xz\\f[R] becomes \\f[B]kernel/foo/bar\\f[R] " "for matching purposes.\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "Globs beginning with \\[lq]/\\[rq] are treated specially. The glob is " "\\f[I]first\\f[R] matched against a path relative to \\f[B]/usr/lib/module/" "EkverE/kernel\\f[R], and only then against \\f[B]/usr/lib/module/" "EkverE/\\f[R]. This is a convenience, since usually only the in-" "tree modules under \\f[B]kernel/\\f[R] are of interest.\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "For example, the module at\\f[B]/usr/lib/module/EkverE/kernel/foo/" "bar.ko.xz\\f[R] can be matched by either \\f[B]/foo/bar\\f[R] or \\f[B]/" "kernel/foo/bar\\f[R].\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "The glob patterns may include just the basename (e.g.\\ \\f[B]loop\\f[R]), " "which must match the basename of the module, the relative path (e.g.\\ " "\\f[B]block/loop\\f[R]), which must match the final components of the module " "path up to the basename, or an absolute path (e.g.\\ \\f[B]/drivers/block/" "loop\\f[R]), which must match the full path to the module.\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "When suffixed with \\f[B]/\\f[R], the pattern will match all modules " "underneath that directory.\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "The patterns may include shell-style globs (\\f[B]*\\f[R], \\f[B]?\\f[R], " "\\f[B][\\&...-\\&...]\\f[R]).\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "If the special value \\f[B]default\\f[R] is used, the default kernel modules " "defined in the \\f[B]mkosi-initrd\\f[R] configuration are included as well." "\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "If the special value \\f[B]host\\f[R] is used, the currently loaded modules " "on the host system are included as well.\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "Example: \\f[B]FirmwareFiles=cxgb4/bcm8483.bin\\f[R] or " "\\f[B]FirmwareFiles=bcm8483.*\\f[R] would both cause \\f[B]/usr/lib/firmware/" "cxgb4/bcm8483.bin.xz\\f[R] to be included, even if not listed by a module." "\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "If set to \\f[B]auto\\f[R] and \\f[B]sshd\\f[R] is present in the image and " "the generator binary \\f[B]systemd-ssh-generator\\f[R] is not present, or if " "set to \\f[B]always\\f[R], mkosi will install \\f[B]sshd\\f[R] units in the " "final image that expose SSH over VSock. If set to \\f[B]never\\f[R], mkosi " "will not install these units. If the \\f[B]runtime\\f[R] value is used, " "mkosi will also not install any units but abort starting \\f[B]mkosi " "vm\\f[R] if no SSH credentials are configured. When building with this " "option and running the image using \\f[B]mkosi vm\\f[R], the \\f[B]mkosi " "ssh\\f[R] command can be used to connect to the container/VM via SSH. Note " "that you still have to make sure openssh is installed in the image to make " "\\f[B]mkosi ssh\\f[R] behave correctly. Run \\f[B]mkosi genkey\\f[R] to " "automatically generate an X.509 certificate and private key to be used by " "\\f[B]mkosi\\f[R] to enable SSH access to any virtual machines via " "\\f[B]mkosi ssh\\f[R]. To access images booted using \\f[B]mkosi " "boot\\f[R], use \\f[B]machinectl\\f[R].\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "Starting with systemd v256, systemd-ssh-generator(8) will automatically " "provide \\f[B]sshd\\f[R] over VSock when running inside a VM. So if you\\" "[cq]re using a recent version of systemd inside a VM, this option is " "generally not used. You still need openssh installed in the image, and the " "default setting of \\f[B]--vsock=auto\\f[R] is enough to ensure a VSock is " "available inside the VM.\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "Note: if the image distro uses SELinux, mkosi\\[cq]s sshd service will be " "denied access to the VSock, resulting in failure to connect to it from the " "host. You will need to either disable SELinux enforcement, or create a " "custom policy module (e.g.\\ with \\f[B]audit2allow\\f[R]).\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "Specifies whether to relabel files to match the image\\[cq]s SELinux " "policy. Takes a boolean value or \\f[B]auto\\f[R]. Defaults to " "\\f[B]auto\\f[R]. If disabled, files will not relabeled. If enabled, an " "SELinux policy has to be installed in the image and \\f[B]setfiles\\f[R] has " "to be available to relabel files. If any errors occur during " "\\f[B]setfiles\\f[R], the build will fail. If set to \\f[B]auto\\f[R], " "files will be relabeled if mkosi is not building a directory image, an " "SELinux policy is installed in the image and if \\f[B]setfiles\\f[R] is " "available. Any errors occurred during \\f[B]setfiles\\f[R] will be ignored." "\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "Whether to enforce or disable verity for extension images. Takes one of " "\\f[B]signed\\f[R], \\f[B]hash\\f[R], \\f[B]defer\\f[R], \\f[B]auto\\f[R] or " "a boolean value. If set to \\f[B]signed\\f[R], a verity key and certificate " "must be present and the build will fail if we don\\[cq]t detect any verity " "partitions in the disk image produced by \\f[B]systemd-repart\\f[R]. If " "disabled, verity partitions will be excluded from the extension images " "produced by \\f[B]systemd-repart\\f[R]. If set to \\f[B]hash\\f[R], " "\\f[B]mkosi\\f[R] configures \\f[B]systemd-repart\\f[R] to create a verity " "hash partition, but no signature partition. If set to \\f[B]defer\\f[R], " "space for the verity sig partition will be allocated but it will not be " "populated yet. If set to \\f[B]auto\\f[R] and a verity key and certificate " "are present, \\f[B]mkosi\\f[R] will pass them to \\f[B]systemd-repart\\f[R] " "and expects the generated disk image to contain verity partitions, but the " "build won\\[cq]t fail if no verity partitions are found in the disk image " "produced by \\f[B]systemd-repart\\f[R].\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "Note that explicitly disabling verity signature and/or hash is not yet " "implemented for the \\f[B]disk\\f[R] output and only works for extension " "images at the moment.\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "Note that this setting on its own does not enable any encryption. You also " "have to add one or more partition definition files to \\f[B]mkosi.repart/" "\\f[R] with \\f[B]Encrypt=key-file\\f[R] to add encrypted partitions to the " "image.\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "Exemplary choices are \\f[B]sqop\\f[R] and \\f[B]rsop\\f[R], but any " "implementation from https://www.openpgp.org/about/sop/ that can be installed " "locally will work.\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "The tools tree directory is kept between repeated image builds unless " "cleaned by calling \\f[B]mkosi clean -f\\f[R].\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "Note that binaries found in any of the paths configured with " "\\f[B]ExtraSearchPaths=\\f[R] will be executed with \\f[B]/usr/\\f[R] from " "the tools tree instead of from the host. If the host distribution or " "release does not match the tools tree distribution or release respectively, " "this might result in failures when trying to execute binaries from any of " "the extra search paths.\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "If set to \\f[B]yes\\f[R], \\f[B]mkosi\\f[R] will automatically add an extra " "tools tree image and use it as the tools tree. This image can be further " "configured using the settings below or with \\f[B]mkosi.tools.conf\\f[R] " "which can either be a file or directory containing extra configuration for " "the default tools tree.\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "The \\f[B]devel\\f[R] profile contains tools required to build (C/C++) " "projects. The \\f[B]misc\\f[R] profile contains various useful tools that " "are handy to have available in scripts. The package manager profile " "contains package managers and related tools other than those native to the " "tools tree distribution. The \\f[B]runtime\\f[R] profile contains the tools " "required to boot images in a systemd-nspawn container or in a virtual " "machine.\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "If set to \\f[B]strict\\f[R], the build fails if previously built cached " "image does not exist.\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "Takes one of \\f[B]auto\\f[R], \\f[B]metadata\\f[R], \\f[B]always\\f[R] or " "\\f[B]never\\f[R]. Defaults to \\f[B]auto\\f[R]. If \\f[B]always\\f[R], " "the package manager is instructed not to contact the network. This provides " "a minimal level of reproducibility, as long as the package cache is already " "fully populated. If set to \\f[B]metadata\\f[R], the package manager can " "still download packages, but we won\\[cq]t sync the repository metadata. If " "set to \\f[B]auto\\f[R], the repository metadata is synced unless we have a " "cached image (see \\f[B]Incremental=\\f[R]) and packages can be downloaded " "during the build. If set to \\f[B]never\\f[R], repository metadata is " "always synced and packages can be downloaded during the build.\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "Specifies the subdirectory within the cache directory where to store the " "cached image. This may include both the regular specifiers (see " "\\f[B]Specifiers\\f[R]) and special delayed specifiers, that are expanded " "after config parsing has finished, instead of during config parsing, which " "are described below. The default format for this parameter is \\f[B]&d\\" "[ti]&r\\[ti]&a\\[ti]&I\\f[R].\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "Takes a path to a directory to use as the package cache directory for the " "distribution package manager used. If unset, but a \\f[B]mkosi.pkgcache/" "\\f[R] directory is found in the local directory it is automatically used " "for this purpose, otherwise a suitable directory in the user\\[cq]s home " "directory or system is used.\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "Takes a path to a directory to use as the build directory for build systems " "that support out-of-tree builds (such as Meson). The directory used this " "way is shared between repeated builds, and allows the build system to reuse " "artifacts (such as object files, executable, \\&...) generated on previous " "invocations. The build scripts can find the path to this directory in the " "\\f[B]$BUILDDIR\\f[R] environment variable. This directory is mounted into " "the image\\[cq]s root directory when \\f[B]mkosi-chroot\\f[R] is invoked " "during execution of the build scripts. If this option is not specified, but " "a directory \\f[B]mkosi.builddir/\\f[R] exists in the local directory it is " "automatically used for this purpose (also see the \\f[B]FILES\\f[R] section " "below).\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "Specifies the subdirectory within the build directory where to store " "incremental build artifacts. This may include both the regular specifiers " "(see \\f[B]Specifiers\\f[R]) and special delayed specifiers, that are " "expanded after config parsing has finished, instead of during config " "parsing, which are the same delayed specifiers that are supported by " "\\f[B]CacheKey=\\f[R]. The default format for this parameter is \\f[B]&d\\" "[ti]&r\\[ti]&a\\f[R].\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "To disable usage of a build subdirectory completely, assign a literal \\f[B]-" "\\f[R] to this setting.\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "Note that when using \\f[B]RepartOffline=no\\f[R], \\f[B]mkosi\\f[R] cannot " "run unprivileged and the image build has to be done as the root user outside " "of any containers and with loopback devices available on the host system.\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "There are currently two known scenarios where \\f[B]RepartOffline=no\\f[R] " "has to be used. The first is when using \\f[B]Subvolumes=\\f[R] in a repart " "partition definition file, as subvolumes cannot be created without using " "loopback devices. The second is when creating a system with SELinux and an " "XFS root partition. Because \\f[B]mkfs.xfs\\f[R] does not support " "populating an XFS filesystem with extended attributes, loopback devices have " "to be used to ensure the SELinux extended attributes end up in the generated " "XFS filesystem.\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "To give an example of why this is useful, if you run \\f[B]mkosi -O my-" "custom-output-dir -f\\f[R] followed by \\f[B]mkosi vm\\f[R], " "\\f[B]mkosi\\f[R] will fail saying the image hasn\\[cq]t been built yet. If " "you run \\f[B]mkosi -O my-custom-output-dir --history=yes -f\\f[R] followed " "by \\f[B]mkosi vm\\f[R], it will boot the image built in the previous step " "as expected.\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "💥💣💥 If set to \\f[B]buildcache\\f[R] the overlay is not discarded when " "running build scripts, but saved to the build directory, configured via " "\\f[B]BuildDirectory=\\f[R], and will be reused on subsequent runs. The " "overlay is still discarded for all other scripts. This option can be used " "to implement more advanced caching of builds, but can lead to unexpected " "states of the source directory. When using this option, a build directory " "must be configured. 💥💣💥\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "When set to \\f[B]qemu\\f[R], the image is booted with \\f[B]qemu\\f[R]. " "Most output formats can be booted in \\f[B]qemu\\f[R]. Any arguments " "specified after the verb are appended to the \\f[B]qemu\\f[R] invocation and " "are interpreted as extra \\f[B]qemu\\f[R] command line arguments.\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "When set to \\f[B]vmspawn\\f[R], \\f[B]systemd-vmspawn\\f[R] is used to boot " "up the image, \\f[B]vmspawn\\f[R] only supports disk and directory type " "images. Any arguments specified after the verb are appended to the " "\\f[B]systemd-vmspawn\\f[R] invocation and are interpreted as extra vmspawn " "options and extra kernel command line arguments.\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "Configures how to set up the console of the VM. Takes one of " "\\f[B]interactive\\f[R], \\f[B]read-only\\f[R], \\f[B]native\\f[R], or " "\\f[B]gui\\f[R]. Defaults to \\f[B]interactive\\f[R]. " "\\f[B]interactive\\f[R] provides an interactive terminal interface to the " "VM. \\f[B]read-only\\f[R] is similar, but is strictly read-only, i.e.\\ " "does not accept any input from the user. \\f[B]native\\f[R] also provides a " "TTY-based interface, but uses \\f[B]qemu\\f[R]\\[cq]s native implementation " "(which means the \\f[B]qemu\\f[R] monitor is available). \\f[B]gui\\f[R] " "shows the \\f[B]qemu\\f[R] graphical UI.\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "When set to \\f[B]0\\f[R], the number of CPUs available to the " "\\f[B]mkosi\\f[R] process will be used.\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "When set to \\f[B]microsoft\\f[R], a firmware variables file with the " "Microsoft secure boot certificates already enrolled will be used.\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "When set to \\f[B]microsoft-mok\\f[R], a firmware variables file with the " "Microsoft secure boot certificates already enrolled will be extended with a " "\\f[B]MokList\\f[R] variable containing the secure boot certificate from " "\\f[B]SecureBootCertificate=\\f[R]. This is intended to be used together " "with shim binaries signed by the distribution and locally signed EFI " "binaries.\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "When set to \\f[B]custom\\f[R], the secure boot certificate from " "\\f[B]SecureBootCertificate=\\f[R] will be enrolled into the default " "firmware variables file.\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "\\f[B]virt-fw-vars\\f[R] from the E<.UR https://gitlab.com/kraxel/virt-" "firmware> virt-firmware E<.UE > \\ project can be used to customize OVMF " "variable files.\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "Note that when the \\f[B]cpio\\f[R] output format is used, direct kernel " "boot is used regardless of the configured firmware. Depending on the " "configured firmware, \\f[B]qemu\\f[R] might boot the kernel itself or using " "the configured firmware.\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "Add a drive. Takes a colon-delimited string of format " "\\f[B]EidE:EsizeE[:EdirectoryE[:EoptionsE[:Efile-" "idE[:EflagsE]]]]\\f[R]. \\f[B]id\\f[R] specifies the ID " "assigned to the drive. This can be used as the \\f[B]drive=\\f[R] property " "in various \\f[B]qemu\\f[R] devices. \\f[B]size\\f[R] specifies the size of " "the drive. This takes a size in bytes. Additionally, the suffixes " "\\f[B]K\\f[R], \\f[B]M\\f[R] and \\f[B]G\\f[R] can be used to specify a size " "in kilobytes, megabytes and gigabytes respectively. \\f[B]directory\\f[R] " "optionally specifies the directory in which to create the file backing the " "drive. If unset, the file will be created under \\f[B]/var/tmp\\f[R]. " "\\f[B]options\\f[R] optionally specifies extra comma-delimited properties " "which are passed verbatim to \\f[B]qemu\\f[R]\\[cq]s \\f[B]-blockdev\\f[R] " "option. \\f[B]file-id\\f[R] specifies the ID of the file backing the " "drive. If unset, this defaults to the drive ID. Drives with the same file " "ID will share the backing file. The directory and size of the file will be " "determined from the first drive with a given file ID. \\f[B]flags\\f[R] " "takes a comma-separated list of drive flags which currently only supports " "\\f[B]persist\\f[R]. \\f[B]persist\\f[R] determines whether the drive will " "be persisted across \\f[B]qemu\\f[R] invocations. The files backing the " "drives will be created with the schema \\f[B]/EdirectoryE/mkosi-" "drive-Emachine-or-image-nameE-Efile-idE\\f[R]. You can skip " "values by setting them to the empty string, specifying e.g.\\ " "\\f[B]myfs:1G::::persist\\f[R] will create a persistent drive under \\f[B]/" "var/tmp/mkosi-drive-main-myfs\\f[R].\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "Note that values will only be treated as paths if they do not contain the " "delimiter (\\f[B]=\\f[R]).\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "Note that when using \\f[B]mkosi vm\\f[R] with this feature systemd v254 or " "newer has to be installed in the image.\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "If specified, disk images are grown to the specified size when they\\[cq]re " "booted with \\f[B]mkosi boot\\f[R] or \\f[B]mkosi vm\\f[R]. Takes a size in " "bytes. Additionally, the suffixes \\f[B]K\\f[R], \\f[B]M\\f[R] and " "\\f[B]G\\f[R] can be used to specify a size in kilobytes, megabytes and " "gigabytes respectively.\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "Note that when using \\f[B]interface\\f[R], \\f[B]mkosi\\f[R] does not " "automatically configure the host interface. It is expected that a recent " "version of \\f[B]systemd-networkd\\f[R] is running on the host which will " "automatically configure the host interface of the link.\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "Note that \\f[B]Ephemeral=\\f[R] has to be enabled to start multiple " "instances of the same image.\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "Takes a boolean value or \\f[B]auto\\f[R]. Specifies whether to register " "the vm/container with systemd-machined. If enabled, mkosi will fail if it " "can\\[cq]t register the vm/container with systemd-machined. If disabled, " "mkosi will not register the vm/container with systemd-machined. If " "\\f[B]auto\\f[R], mkosi will register the vm/container with systemd-machined " "if it is available. Defaults to \\f[B]auto\\f[R].\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "Note that if a path with the \\f[B].journal\\f[R] extension is given, the " "journal size is limited to \\f[B]4G\\f[R]. Configure an output directory " "instead of file if your workload produces more than \\f[B]4G\\f[R] worth of " "journal data.\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "Note that \\f[B]mkosi sysupdate\\f[R] invokes \\f[B]systemd-sysupdate\\f[R] " "with \\f[B]--transfer-source=\\f[R] set to the \\f[B]mkosi\\f[R] output " "directory. To make use of this in a transfer definition file, set " "\\f[B]PathRelativeTo=explicit\\f[R] to have the \\f[B]Path=\\f[R] setting " "for the transfer source be interpreted relative to the \\f[B]mkosi\\f[R] " "output directory. Generally, configuring " "\\f[B]PathRelativeTo=explicit\\f[R] and \\f[B]Path=/\\f[R] for the transfer " "source is sufficient for the match pattern to be interpreted relative to the " "\\f[B]mkosi\\f[R] output directory.\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "Matches against the host\\[cq]s native architecture. See the " "\\f[B]Architecture=\\f[R] setting for a list of possible values.\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "Note that each path containing extra configuration is only parsed once, even " "if included more than once with \\f[B]Include=\\f[R].\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "The builtin configs for the \\f[B]mkosi\\f[R] default initrd, default tools " "tree, default virtual machine image and default UKI addon can be included by " "including the literal value \\f[B]mkosi-initrd\\f[R], \\f[B]mkosi-" "tools\\f[R], \\f[B]mkosi-vm\\f[R] or \\f[B]mkosi-addon\\f[R] respectively." "\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "Note: Include names starting with either of the literals \\f[B]mkosi-\\f[R] " "or \\f[B]contrib-\\f[R] are reserved for use by \\f[B]mkosi\\f[R] itself.\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "The minimum version can also be specified as a git commit hash when prefixed " "with \\f[B]commit:\\f[R], in which case mkosi must be executed from a git " "checkout and the specified git commit hash must be an ancestor of the " "currently checked out git commit in the repository that mkosi is being " "executed from.\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "If we\\[cq]re not running as root, unshare the user namespace and map the " "subuid range configured in \\f[B]/etc/subuid\\f[R] and \\f[B]/etc/" "subgid\\f[R] into it.\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "To allow for image customization that cannot be implemented using " "\\f[B]mkosi\\f[R]\\[cq]s builtin features, \\f[B]mkosi\\f[R] supports " "running scripts at various points during the image build process that can " "customize the image as needed. Scripts are executed on the host system as " "root (either real root or root within the user namespace that " "\\f[B]mkosi\\f[R] created when running unprivileged) with a customized " "environment to simplify modifying the image. For each script, the " "configured build sources (\\f[B]BuildSources=\\f[R]) are mounted into the " "current working directory before running the script in the current working " "directory. \\f[B]$SRCDIR\\f[R] is set to point to the current working " "directory. The following scripts are supported:\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "If \\f[R]mkosi.prepare\\f[R] (\\f[B]PrepareScripts=\\f[R]) exists, it is " "first called with the \\f[B]final\\f[R] argument, right after the software " "packages are installed. It is called a second time with the " "\\f[B]build\\f[R] command line parameter, right after the build packages are " "installed and the build overlay mounted on top of the image\\[cq]s root " "directory . This script has network access and may be used to install " "packages from other sources than the distro\\[cq]s package manager (e.g.\\ " "\\f[B]pip\\f[R], \\f[B]npm\\f[R], \\&...), after all software packages are " "installed but before the image is cached (if incremental mode is enabled). " "In contrast to a general purpose installation, it is safe to install " "packages to the system (\\f[B]pip install\\f[R], \\f[B]npm install -g\\f[R]) " "instead of in \\f[B]$SRCDIR\\f[R] itself because the build image is only " "used for a single project and can easily be thrown away and rebuilt so " "there\\[cq]s no risk of conflicting dependencies and no risk of polluting " "the host system.\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "If \\f[R]mkosi.build\\f[R] (\\f[B]BuildScripts=\\f[R]) exists, it is " "executed with the build overlay mounted on top of the image\\[cq]s root " "directory. When running the build script, \\f[B]$DESTDIR\\f[R] points to a " "directory where the script should place any files generated it would like to " "end up in the image. Note that \\f[B]make\\f[R]-, \\f[B]automake\\f[R]-, " "and \\f[B]meson\\f[R]-based build systems generally honor \\f[B]" "$DESTDIR\\f[R], thus making it very natural to build \\f[I]source\\f[R] " "trees from the build script. After running the build script, the contents " "of \\f[B]$DESTDIR\\f[R] are copied into the image.\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "If \\f[R]mkosi.version\\f[R] exists and is executable, it is run during " "configuration parsing and populates \\f[B]ImageVersion=\\f[R] with the " "output on stdout. This can be used for external version tracking, e.g.\\ " "with \\f[B]git describe\\f[R] or \\f[B]date \\[aq]+%Y-%m-%d\\[aq]\\f[R]. " "Note that this script is executed on the host system without any sandboxing." "\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "\\f[B]$BUILDROOT\\f[R] is the root directory of the image being built, " "optionally with the build overlay mounted on top depending on the script " "that\\[cq]s being executed.\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "For all of the supported package managers (\\f[B]dnf\\f[R], \\f[B]rpm\\f[R], " "\\f[B]apt\\f[R], \\f[B]dpkg\\f[R], \\f[B]pacman\\f[R], \\f[B]zypper\\f[R]), " "scripts of the same name are put into \\f[B]$PATH\\f[R] that make sure these " "commands operate on the image\\[cq]s root directory with the configuration " "supplied by the user instead of on the host system. This means that from a " "script, you can do e.g. \\f[B]dnf install vim\\f[R] to install vim into the " "image.\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "When scripts are executed, any directories that are still writable are also " "made read-only (\\f[B]/home\\f[R], \\f[B]/var\\f[R], \\f[B]/root\\f[R], " "\\&...) and only the minimal set of directories that need to be writable " "remain writable. This is to ensure that scripts can\\[cq]t mess with the " "host system when \\f[B]mkosi\\f[R] is running as root.\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "The \\f[R]mkosi.rootpw\\f[R] file can be used to provide the password for " "the root user of the image. If the password is prefixed with \\f[B]hashed:" "\\f[R] it is treated as an already hashed root password. The password may " "optionally be followed by a newline character which is implicitly removed. " "The file must have an access mode of 0600 or less. If this file does not " "exist, the distribution\\[cq]s default root password is set (which usually " "means access to the root user is blocked).\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "The \\f[R]mkosi.credentials/\\f[R] directory is used as a source of extra " "credentials similar to the \\f[B]Credentials=\\f[R] option. For each file " "in the directory, the filename will be used as the credential name and the " "file contents become the credential value, or, if the file is executable, " "\\f[B]mkosi\\f[R] will execute the file and the command\\[cq]s output to " "stdout will be used as the credential value. Output to stderr will be " "ignored. Credentials configured with \\f[B]Credentials=\\f[R] take " "precedence over files in \\f[B]mkosi.credentials\\f[R].\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "\\f[B]00-esp.conf\\f[R] (if we\\[cq]re building a bootable image):\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "\\f[B]05-bios.conf\\f[R] (if we\\[cq]re building a BIOS bootable image):\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "The package cache of the distribution package manager may be cached between " "builds. This is configured with the \\f[B]--cache-directory=\\f[R] option " "or the \\f[B]mkosi.cache/\\f[R] directory. This form of caching relies on " "the distribution\\[cq]s package manager, and caches distribution packages " "(RPM, deb, \\&...) after they are downloaded, but before they are unpacked." "\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "To refer to outputs of a image\\[cq]s dependencies, simply configure any of " "these options with a relative path to the output to use in the output " "directory of the dependency. Or use the \\f[B]%O\\f[R] specifier to refer " "to the output directory.\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "A kernel may be booted directly with \\f[B]mkosi vm -kernel ... " "-initrd ... -append \\[aq]...\\[aq]\\f[R]. This is a bit faster because no " "boot loader is used, and it is also easier to experiment with different " "kernels and kernel command lines. Note that despite the name, " "\\f[B]qemu\\f[R]\\[cq]s \\f[B]-append\\f[R] option replaces the default " "kernel command line embedded in the kernel and any previous \\f[B]-" "append\\f[R] specifications.\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "While other distributions are OK with allowing access to \\f[B]/dev/" "kvm\\f[R], on Debian/Kali/Ubuntu this is only allowed for users in the " "\\f[B]kvm\\f[R] group. Because \\f[B]mkosi\\f[R] unshares a user namespace " "when running unprivileged, even if the calling user was in the kvm group, " "when \\f[B]mkosi\\f[R] unshares the user namespace to run unprivileged, it " "loses access to the \\f[B]kvm\\f[R] group and by the time we start " "\\f[B]qemu\\f[R] we don\\[cq]t have access to \\f[B]/dev/kvm\\f[R] anymore. " "As a workaround, you can change the permissions of the device nodes to " "\\f[B]0666\\f[R] which is sufficient to make KVM work unprivileged. To " "persist these settings across reboots, copy \\f[B]/usr/lib/tmpfiles.d/static-" "nodes-permissions.conf\\f[R] to \\f[B]/etc/tmpfiles.d/static-nodes-" "permissions.conf\\f[R] and change the mode of \\f[B]/dev/kvm\\f[R] from " "\\f[B]0660\\f[R] to \\f[B]0666\\f[R].\\fR" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "Why does \\f[B]portablectl inspect EimageE\\f[R]/\\f[B]systemd-" "dissect EimageE\\f[R] say my portable service isn\\[cq]t one?\\fR" msgstr "" #. type: Plain text #: opensuse-leap-16-1 msgid "" "When building a disk image and \\f[CR]partitions\\f[R] is specified, pass " "\\f[CR]--split=yes\\f[R] to \\f[B]systemd-repart\\f[R] to have it write out " "split partition files for each configured partition. Read the E<.UR https://" "www.freedesktop.org/software/systemd/man/systemd-repart.html#--split=BOOL> " "man E<.UE > \\ page for more information. This is useful in A/B update " "scenarios where an existing disk image shall be augmented with a new version " "of a root or \\f[CR]/usr\\f[R] partition along with its Verity partition and " "unified kernel. By default \\f[CR]uki\\f[R], \\f[CR]kernel\\f[R] and " "\\f[CR]initrd\\f[R] are split out.\\fR" msgstr ""