Skip to contentSkip to conversation

systemd: use pkg-config to determine systemd library availability

PATCH Applied Konrad Rzeszutek Wilk 2 participants 2 messages Dec 4, 2014

lore
Share & tools
lore
#0 lore raw
Quoted 11 lines · Ian Campbell
Quoted 9 lines · Ian Campbell
Quoted 8 lines · Olaf Hering
Quoted 5 lines · Ian Campbell

Ah I didn't know about the sd_listen_fds thing, so I think that what we need then is to use pkg-config first to determine if systemd-daemon is present at all, and then check for specific symbols we require using the pkg-config supplied CFLAGS and LDFLAGS rather than assuming -lsystemd-daemon.

Quoted 10 lines
Quoted 5 lines
Quoted 3 lines

Correction: sd_listen_fds is available since at least v1. git describe --contains abbbea81a8fa70badb7a05e518d6b07c360fc09d v1~390

In that case I don't think we realistically need to check for it?

The implication here being that Wei's original patch is correct. Konrad, do you think this is OK for the release?

Quoted 1 line

Yes. Release-Axked-By: Konrad Rzeszutek Wilk <[email protected]>

Quoted 11 lines
Quoted 8 lines

Ian.

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

Quoted 4 lines

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

Applied
#1 lore raw
Quoted 16 lines · Konrad Rzeszutek Wilk
Quoted 15 lines · Ian Campbell
Quoted 13 lines · Ian Campbell
Quoted 11 lines · Olaf Hering
Quoted 5 lines · Ian Campbell

Ah I didn't know about the sd_listen_fds thing, so I think that what we need then is to use pkg-config first to determine if systemd-daemon is present at all, and then check for specific symbols we require using the pkg-config supplied CFLAGS and LDFLAGS rather than assuming -lsystemd-daemon.

Correction: sd_listen_fds is available since at least v1.
git describe --contains abbbea81a8fa70badb7a05e518d6b07c360fc09d v1~390

Quoted 8 lines
Quoted 6 lines
Quoted 1 line

In that case I don't think we realistically need to check for it?

The implication here being that Wei's original patch is correct. Konrad, do you think this is OK for the release?

Quoted 1 line

Yes. Release-Axked-By: Konrad Rzeszutek Wilk <[email protected]>

Applied, thanks.

Quoted 15 lines
Quoted 15 lines
Quoted 8 lines

Ian.

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel