"--distribution", str(config.tools_tree_distribution),
*(["--release", config.tools_tree_release] if config.tools_tree_release else []),
*(["--mirror", config.tools_tree_mirror] if config.tools_tree_mirror else []),
+ "--repositories", ",".join(config.tools_tree_repositories),
+ "--package-manager-tree", ",".join(str(t) for t in config.tools_tree_package_manager_trees),
"--repository-key-check", str(config.repository_key_check),
"--cache-only", str(config.cacheonly),
*(["--output-dir", str(config.output_dir)] if config.output_dir else []),
tools_tree_distribution: Optional[Distribution]
tools_tree_release: Optional[str]
tools_tree_mirror: Optional[str]
+ tools_tree_repositories: list[str]
+ tools_tree_package_manager_trees: list[ConfigTree]
tools_tree_packages: list[str]
runtime_trees: list[ConfigTree]
runtime_size: Optional[int]
default_factory=lambda ns: ns.mirror if ns.mirror and ns.distribution == ns.tools_tree_distribution else None,
help="Set the mirror to use for the default tools tree",
),
+ ConfigSetting(
+ dest="tools_tree_repositories",
+ long="--tools-tree-repository",
+ metavar="REPOS",
+ section="Host",
+ parse=config_make_list_parser(delimiter=","),
+ help="Repositories to use for the default tools tree",
+ ),
+ ConfigSetting(
+ dest="tools_tree_package_manager_trees",
+ long="--tools-tree-package-manager-tree",
+ metavar="PATH",
+ section="Host",
+ parse=config_make_list_parser(delimiter=",", parse=make_tree_parser()),
+ help="Package manager trees for the default tools tree",
+ ),
ConfigSetting(
dest="tools_tree_packages",
long="--tools-tree-package",
Tools Tree Distribution: {none_to_none(config.tools_tree_distribution)}
Tools Tree Release: {none_to_none(config.tools_tree_release)}
Tools Tree Mirror: {none_to_default(config.tools_tree_mirror)}
+ Tools Tree Repositories: {line_join_list(config.tools_tree_repositories)}
+ Tools Tree Package Manager Trees: {line_join_list(config.tools_tree_package_manager_trees)}
Tools Tree Packages: {line_join_list(config.tools_tree_packages)}
Runtime Trees: {line_join_list(config.runtime_trees)}
Runtime Size: {format_bytes_or_none(config.runtime_size)}
: Set the mirror to use for the default tools tree. By default, the
default mirror for the tools tree distribution is used.
+`ToolsTreeRepositories=`, `--tools-tree-repository`
+
+: Same as `Repositories=` but for the default tools tree.
+
+`ToolsTreePackageManagerTrees=`, `--tools-tree-package-manager-tree=`
+
+: Same as `PackageManagerTrees=` but for the default tools tree.
+
`ToolsTreePackages=`, `--tools-tree-packages=`
: Extra packages to install into the default tools tree. Takes a comma
"ToolsTree": null,
"ToolsTreeDistribution": null,
"ToolsTreeMirror": null,
+ "ToolsTreePackageManagerTrees": [
+ {
+ "source": "/a/b/c",
+ "target": "/"
+ }
+ ],
"ToolsTreePackages": [],
"ToolsTreeRelease": null,
+ "ToolsTreeRepositories": [
+ "abc"
+ ],
"UseSubvolumes": "auto",
"VerityCertificate": "/path/to/cert",
"VerityKey": null,
tools_tree = None,
tools_tree_distribution = None,
tools_tree_mirror = None,
+ tools_tree_package_manager_trees = [ConfigTree(Path("/a/b/c"), Path("/"))],
tools_tree_packages = [],
tools_tree_release = None,
+ tools_tree_repositories = ["abc"],
use_subvolumes = ConfigFeature.auto,
verity_certificate = Path("/path/to/cert"),
verity_key = None,