]> git.ipfire.org Git - thirdparty/mkosi.git/commit
Make matches work more like systemd conditions 1613/head
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 6 Jun 2023 09:59:55 +0000 (11:59 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 7 Jun 2023 13:08:51 +0000 (15:08 +0200)
commit5b2eddb28ed626b5bf1986afb036b29158e299f6
tree3837a84778950da3ae15b95a2286341901fe4e61
parent70a6508f2d8b7eaf5ec1d1dbe0193edd283df6b8
Make matches work more like systemd conditions

Let's make matches behave like systemd conditions. We drop support
for list matches. Instead, we add support for match negation and
trigger matches. A match is a trigger match if it's prefixed with
the pipe symbol (|). A match is satisfied if all its regular matches
and one of its trigger matches are satisfied.
mkosi.md
mkosi/config.py
tests/test_parse_load_args.py