[systemd-devel] systemd build dependency on dbus

Filipe Brandenburger filbranden at google.com
Thu Oct 23 05:35:58 PDT 2014


On Thu, Oct 23, 2014 at 7:21 AM, Lennart Poettering
<lennart at poettering.net> wrote:
> The behaviour should really be to:
>
> 1. take the paths from configure switches
> 2. if they are not specified, try to get them from pkg-config
> 3. if the relevant pkg-config files are not installed, generate an error and refuse build
>
> This way things should work smoothly without dbus/polkit/... around on
> the build host as long as you specify the paths manually. But if you
> don't and we cannot find them we'll rightfully fail.

Yes, I had something like that in mind. I was thinking of maybe
defaulting it to /etc/whatever, though I can see that failing if not
explicit or available from pkg-config would be better.

>> I'll take a look at making the dbus dependency optional but I'll take
>> my time to make sure it's done right. Expect a patch sometime next
>> week.
>
> Thanks, that would be great!

Great, I'll make sure I test all the combinations and update the docs
and send you something when I'm happy with it.

Cheers,
Filipe


More information about the systemd-devel mailing list