From: Daan De Meyer Date: Wed, 26 Mar 2025 08:59:18 +0000 (+0100) Subject: Make Profiles= an inherited setting X-Git-Tag: v26~296^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e3a006b5af73519670cfd076bf3e2aa84bc26858;p=thirdparty%2Fmkosi.git Make Profiles= an inherited setting --- diff --git a/mkosi/config.py b/mkosi/config.py index b28f7bef5..5d207e99f 100644 --- a/mkosi/config.py +++ b/mkosi/config.py @@ -2503,7 +2503,7 @@ SETTINGS: list[ConfigSetting[Any]] = [ help="Build the specified profiles", parse=config_make_list_parser(delimiter=",", parse=parse_profile), match=config_make_list_matcher(parse=parse_profile), - scope=SettingScope.universal, + scope=SettingScope.inherit, compat_names=("Profile",), ), ConfigSetting( diff --git a/mkosi/resources/man/mkosi.1.md b/mkosi/resources/man/mkosi.1.md index 8a3d6c343..3c699f05e 100644 --- a/mkosi/resources/man/mkosi.1.md +++ b/mkosi/resources/man/mkosi.1.md @@ -2865,7 +2865,6 @@ and cannot be configured in subimages: - `OutputMode=` - `PackageCacheDirectory=` - `PackageDirectories=` -- `Profiles=` - `ProxyClientCertificate=` - `ProxyClientKey=` - `ProxyExclude=` @@ -2903,6 +2902,7 @@ 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: +- `Profiles=` - `ImageId=` - `ImageVersion=` - `SectorSize=`