[systemd-devel] Another attempt: Making dependencies properly overridable
Lennart Poettering
lennart at poettering.net
Thu Apr 23 11:38:14 PDT 2015
On Sun, 19.04.15 09:29, Andrei Borzenkov (arvidjaar at gmail.com) wrote:
> Unless I'm mistaken, the only real change is that Wants= will clear
> list, just like it does it for ExecStart=. This should be rather
> straightforward to implement I guess.
Actually it's not that easy. You need to collect the deps created from
unit configuration into a set of hashmaps of their own, and then add a final
"commit" step that merges those into the real deps. And if we want to
do this without needless copies and allocations this is actually not
easy at all.
Lennart
--
Lennart Poettering, Red Hat
More information about the systemd-devel
mailing list