From: Daan De Meyer Date: Mon, 12 Feb 2024 18:34:48 +0000 (+0100) Subject: Expand specifiers in match values as well X-Git-Tag: v21~58^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F2381%2Fhead;p=thirdparty%2Fmkosi.git Expand specifiers in match values as well Fixes #2379 --- diff --git a/mkosi/config.py b/mkosi/config.py index b91e597a1..495c42366 100644 --- a/mkosi/config.py +++ b/mkosi/config.py @@ -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")