class ToolsTreeProfile(StrEnum):
+ devel = enum.auto()
misc = enum.auto()
package_manager = enum.auto()
runtime = enum.auto()
+ @classmethod
+ def default(cls) -> tuple["ToolsTreeProfile", ...]:
+ return (cls.misc, cls.package_manager, cls.runtime)
+
class InitrdProfile(StrEnum):
lvm = enum.auto()
section="Build",
parse=config_make_list_parser(delimiter=",", parse=make_enum_parser(ToolsTreeProfile)),
choices=ToolsTreeProfile.values(),
- default=list(ToolsTreeProfile),
+ default=ToolsTreeProfile.default(),
help="Which profiles to enable for the default tools tree",
),
ConfigSetting(
`ToolsTreeProfiles=`, `--tools-tree-profile=`
: Set the profiles to enable for the default tools tree. Takes a
- comma-delimited list consisting of `misc`, `package-manager` and
- `runtime`. By default, all profiles are enabled.
-
- The `misc` 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 `runtime` profile contains the tools
- required to boot images in a systemd-nspawn container or in a
+ comma-delimited list consisting of `devel`, `misc`,
+ `package-manager` and `runtime`. By default, all profiles except
+ `devel` are enabled.
+
+ The `devel` profile contains tools required to build (C/C++)
+ projects. The `misc` 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 `runtime` profile contains the
+ tools required to boot images in a systemd-nspawn container or in a
virtual machine.
`ToolsTreeMirror=`, `--tools-tree-mirror=`