]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
Expand specifiers in match values as well 2381/head
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 12 Feb 2024 18:34:48 +0000 (19:34 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 12 Feb 2024 18:34:48 +0000 (19:34 +0100)
Fixes #2379

mkosi/config.py

index b91e597a11fda5b16f2520cf5f4d5d14381e5a00..495c4236629d3ce04047cabc8620bfcc53a79d35 100644 (file)
@@ -2968,6 +2968,8 @@ def parse_config(argv: Sequence[str] = (), *, resources: Path = Path("/")) -> tu
             negate = v.startswith("!")
             v = v.removeprefix("!")
 
+            v = expand_specifiers(v, namespace, defaults)
+
             if not v:
                 die("Match value cannot be empty")