repository_key_check: bool
repositories: list[str]
cache_only: bool
+ package_manager_trees: list[tuple[Path, Optional[Path]]]
output_format: OutputFormat
manifest_format: list[ManifestFormat]
base_trees: list[Path]
skeleton_trees: list[tuple[Path, Optional[Path]]]
- package_manager_trees: list[tuple[Path, Optional[Path]]]
extra_trees: list[tuple[Path, Optional[Path]]]
remove_packages: list[str]
parse=config_parse_boolean,
help="Only use the package cache when installing packages",
),
+ MkosiConfigSetting(
+ dest="package_manager_trees",
+ long="--package-manager-tree",
+ metavar="PATH",
+ section="Distribution",
+ parse=config_make_list_parser(delimiter=",", parse=make_source_target_paths_parser()),
+ default_factory=lambda ns: ns.skeleton_trees,
+ default_factory_depends=("skeleton_trees",),
+ help="Use a package manager tree to configure the package manager",
+ ),
MkosiConfigSetting(
dest="output_format",
path_default=False,
help="Use a skeleton tree to bootstrap the image before installing anything",
),
- MkosiConfigSetting(
- dest="package_manager_trees",
- long="--package-manager-tree",
- metavar="PATH",
- section="Content",
- parse=config_make_list_parser(delimiter=",", parse=make_source_target_paths_parser()),
- default_factory=lambda ns: ns.skeleton_trees,
- default_factory_depends=("skeleton_trees",),
- help="Use a package manager tree to configure the package manager",
- ),
MkosiConfigSetting(
dest="extra_trees",
long="--extra-tree",
Repo Signature/Key check: {yes_no(config.repository_key_check)}
Repositories: {line_join_list(config.repositories)}
Use Only Package Cache: {yes_no(config.cache_only)}
+ Package Manager Trees: {line_join_source_target_list(config.package_manager_trees)}
{bold("OUTPUT")}:
Output Format: {config.output_format}
Base Trees: {line_join_list(config.base_trees)}
Skeleton Trees: {line_join_source_target_list(config.skeleton_trees)}
- Package Manager Trees: {line_join_source_target_list(config.package_manager_trees)}
Extra Trees: {line_join_source_target_list(config.extra_trees)}
Remove Packages: {line_join_list(config.remove_packages)}
reproducibility, as long as the package cache is already fully
populated.
+`PackageManagerTrees=`, `--package-manager-tree=`
+
+: This option mirrors the above `SkeletonTrees=` option and defaults to the
+ same value if not configured otherwise, but installs the files to a
+ subdirectory of the workspace directory instead of the OS tree. This
+ subdirectory of the workspace is used to configure the package manager.
+
+: `SkeletonTrees=` and `PackageManagerTrees=` fulfill similar roles. Use
+ `SkeletonTrees=` if you want the files to be present in the final image. Use
+ `PackageManagerTrees=` if you don't want the files to be present in the final
+ image, e.g. when building an initrd or if you want to refer to paths outside
+ of the image in your repository configuration.
+
### [Output] Section
`Format=`, `--format=`, `-t`
file may be provided too. `mkosi.skeleton.tar` will be automatically
used if found in the local directory.
-`PackageManagerTrees=`, `--package-manager-tree=`
-
-: This option mirrors the above `SkeletonTrees=` option and defaults to the
- same value if not configured otherwise, but installs the files to a
- subdirectory of the workspace directory instead of the OS tree. This
- subdirectory of the workspace is used to configure the package manager.
-
-: `SkeletonTrees=` and `PackageManagerTrees=` fulfill similar roles. Use
- `SkeletonTrees=` if you want the files to be present in the final image. Use
- `PackageManagerTrees=` if you don't want the files to be present in the final
- image, e.g. when building an initrd or if you want to refer to paths outside
- of the image in your repository configuration.
-
`ExtraTrees=`, `--extra-tree=`
: Takes a colon separated pair of paths. The first path refers to a