]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
Make Profiles= an inherited setting
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 26 Mar 2025 08:59:18 +0000 (09:59 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 26 Mar 2025 09:21:44 +0000 (10:21 +0100)
mkosi/config.py
mkosi/resources/man/mkosi.1.md

index b28f7bef5ed98cc17d75aae7b4ee1e5895cf4eb0..5d207e99f4b3de01038bc05e7886f76b8a50ae88 100644 (file)
@@ -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(
index 8a3d6c3433eb8104301ddd3469a28e5fa71abcb6..3c699f05e20c2d70f9d3f5455d60bd9410ffdc2d 100644 (file)
@@ -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=`