]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/network/networkd-network.c
condition: add ConditionEnvironment=
authorLennart Poettering <lennart@poettering.net>
Thu, 14 May 2020 17:13:03 +0000 (19:13 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 15 May 2020 14:05:33 +0000 (16:05 +0200)
commita0b191b705ff4bcc4f7b49aec060dfa713e2325a
tree70042eed4cf2cb95c22ddb350515cf61f7034a41
parent7cd9e4f8a087caa38acb5c7b0c41d38e82cf4d80
condition: add ConditionEnvironment=

Prompted by the discussions in #15180.

This is a bit more complex than I hoped, since for PID 1 we need to pass
in the synethetic environment block in we generate on demand.
src/analyze/analyze-condition.c
src/core/unit.c
src/network/netdev/netdev.c
src/network/networkd-network.c
src/network/networkd-util.c
src/shared/condition.c
src/shared/condition.h
src/test/test-condition.c
src/udev/net/link-config.c