summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2013-07-18 21:24:13 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2013-07-18 22:34:04 (GMT)
commita8a7960c3184bb97a8a60704cd4ba9b2c523188c (patch)
tree8068894367355dc83311b9a2d4dccb7bb6a38562
parenta03386fba330bc1c4efce56723a2dcec80739f37 (diff)
downloadbuildroot-a8a7960c3184bb97a8a60704cd4ba9b2c523188c.tar.gz
buildroot-a8a7960c3184bb97a8a60704cd4ba9b2c523188c.tar.bz2
package/nss-mdns: fix avahi socket location
In buildroot, the avahi socket is located in /var/run/avahi-daemon, not in /usr/var/run/avahi-daemon/socket. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/nss-mdns/nss-mdns.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/nss-mdns/nss-mdns.mk b/package/nss-mdns/nss-mdns.mk
index ea53bc2..4d36633 100644
--- a/package/nss-mdns/nss-mdns.mk
+++ b/package/nss-mdns/nss-mdns.mk
@@ -7,6 +7,8 @@
NSS_MDNS_VERSION=0.10
NSS_MDNS_SITE=http://0pointer.de/lennart/projects/nss-mdns
+NSS_MDNS_CONF_OPT += --localstatedir=/var
+
define NSS_MDNS_INSTALL_CONFIG
$(INSTALL) -D -m 0664 package/nss-mdns/nsswitch.conf $(TARGET_DIR)/etc/nsswitch.conf
endef