[systemd-devel] Another attempt: Making dependencies properly overridable
Christian Seiler
christian at iwakd.de
Thu Apr 23 11:54:56 PDT 2015
On 04/23/2015 08:38 PM, Lennart Poettering wrote:
> 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.
Yes, I know, because I'm currently working on a patch for this. ;-)
I'll probably send a first version in a couple of days.
Christian
More information about the systemd-devel
mailing list