]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
Parse mkosi.profiles in included configuration
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 21 Jan 2025 14:35:19 +0000 (15:35 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 21 Jan 2025 15:05:32 +0000 (16:05 +0100)
Fixes #3174

mkosi/config.py

index 775d9b565c337ff083a941a31fd0b48329bee7aa..16c8d922c685741a09b33f9f3d60b3150dd04572 100644 (file)
@@ -4121,7 +4121,7 @@ class ParseContext:
                 )
 
             with chdir(path if path.is_dir() else Path.cwd()):
-                self.parse_config_one(path if path.is_file() else Path("."))
+                self.parse_config_one(path if path.is_file() else Path("."), parse_profiles=True)
 
     def finalize_value(self, setting: ConfigSetting[T]) -> Optional[T]:
         # If a value was specified on the CLI, it always takes priority. If the setting is a collection of