[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH for-4.5] systemd: use pkg-config to determine systemd library availability





On Wed, 3 Dec 2014, Konrad Rzeszutek Wilk wrote:

On Wed, Dec 03, 2014 at 11:55:22AM +0100, Olaf Hering wrote:
On Wed, Dec 03, Ian Campbell wrote:

On Wed, 2014-12-03 at 11:49 +0100, Olaf Hering wrote:
On Wed, Dec 03, Ian Campbell wrote:

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

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

Yes. Anything before 208 is stale. At least I dont have anything older
around for testing.

And for Fedora it is Fedora 21 or later. F20 has 208 so we are OK there.

Fedora 21 is going through its final release candidates now so it will stick to Xen 4.4 . The first Fedora release that might use this code (if I decide to use it - at the moment I have reservations) would be Fedora 22.

        Michael Young

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.