summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity
diff options
context:
space:
mode:
authorBetacentauri <betacentauri@arcor.de>2018-07-05 19:26:29 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-07-26 13:16:31 +0100
commit4feb586ba9fa0255d8f83bc1bec11f697dc26a33 (patch)
treeb43b555acdeb57a0b6ce28b361c9f6ca743e50df /meta/recipes-connectivity
parentf467fd277eb77336097cfc0f5f329bdc8d0f70cb (diff)
downloadopenembedded-core-contrib-4feb586ba9fa0255d8f83bc1bec11f697dc26a33.tar.gz
openembedded-core-contrib-4feb586ba9fa0255d8f83bc1bec11f697dc26a33.tar.bz2
openembedded-core-contrib-4feb586ba9fa0255d8f83bc1bec11f697dc26a33.zip
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. Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-connectivity')
-rw-r--r--meta/recipes-connectivity/libnss-mdns/libnss-mdns_0.10.bb2
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
S = "${WORKDIR}/nss-mdns-${PV}"
+localstatedir = "/"
+
inherit autotools
EXTRA_OECONF = "--libdir=${base_libdir} --disable-lynx --enable-avahi"