diff options
author | Betacentauri <betacentauri@arcor.de> | 2018-07-05 19:26:29 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-07-26 13:16:40 +0100 |
commit | f6a00e069589fc53411d8f504805f5fc541531a1 (patch) | |
tree | 6e68fec34128f4a967e2c64a3c28c005cc5c15f8 | |
parent | 869e501544960f638edfe17c9d7500b54d05837e (diff) | |
download | poky-f6a00e069589fc53411d8f504805f5fc541531a1.tar.gz |
libnss-mdns: Fix search path for avahi socket file
Since v0.7 avahi uses /run/avahi-daemon/socket.
libnss searches in $(localstatedir)/run/avahi-daemon/.
Set localstatedir to / to fix mdns resolving.
(From OE-Core rev: 4feb586ba9fa0255d8f83bc1bec11f697dc26a33)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-connectivity/libnss-mdns/libnss-mdns_0.10.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/libnss-mdns/libnss-mdns_0.10.bb b/meta/recipes-connectivity/libnss-mdns/libnss-mdns_0.10.bb index 5be5e4fa32..d0eb2768d1 100644 --- a/meta/recipes-connectivity/libnss-mdns/libnss-mdns_0.10.bb +++ b/meta/recipes-connectivity/libnss-mdns/libnss-mdns_0.10.bb | |||
@@ -17,6 +17,8 @@ SRC_URI[sha256sum] = "1e683c2e7c3921814706d62fbbd3e9cbf493a75fa00255e0e715508d81 | |||
17 | 17 | ||
18 | S = "${WORKDIR}/nss-mdns-${PV}" | 18 | S = "${WORKDIR}/nss-mdns-${PV}" |
19 | 19 | ||
20 | localstatedir = "/" | ||
21 | |||
20 | inherit autotools | 22 | inherit autotools |
21 | 23 | ||
22 | EXTRA_OECONF = "--libdir=${base_libdir} --disable-lynx --enable-avahi" | 24 | EXTRA_OECONF = "--libdir=${base_libdir} --disable-lynx --enable-avahi" |