"--incremental", str(p.incremental),
"--acl", str(p.acl),
"--format", "directory",
- *flatten(["--package", package] for package in distribution.tools_tree_packages()),
+ *flatten(["--package", package] for package in itertools.chain(distribution.tools_tree_packages(), p.tools_tree_packages)),
"--output", f"{distribution}-tools",
"--bootable", "no",
"--manifest-format", "",
tools_tree: Optional[Path]
tools_tree_distribution: Optional[Distribution]
tools_tree_release: Optional[str]
+ tools_tree_packages: list[str]
# QEMU-specific options
qemu_gui: bool
parse=config_parse_string,
help="Set the release to use for the default tools tree",
),
+ MkosiConfigSetting(
+ dest="tools_tree_packages",
+ metavar="PACKAGE",
+ section="Host",
+ parse=config_make_list_parser(delimiter=","),
+ help="Add additional packages to the tools tree",
+ ),
)
MATCHES = (
default, the hardcoded default release in mkosi for the distribution
is used.
+`ToolsTreePackages=`, `--tools-tree-packages=`
+
+: Extra packages to install into the 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.
+
## Supported distributions
Images may be created containing installations of the following