Patchwork [2/4] package/nss-mdns: fix avahi socket location

login
register
mail settings
Submitter Yann E. MORIN
Date July 18, 2013, 9:24 p.m.
Message ID <ecbc3969bbc335c75373f15fb7daa9e29248ec5d.1374182572.git.yann.morin.1998@free.fr>
Download mbox | patch
Permalink /patch/260158/
State Accepted
Commit a8a7960c3184bb97a8a60704cd4ba9b2c523188c
Headers show

Comments

Yann E. MORIN - July 18, 2013, 9:24 p.m.
From: "Yann E. MORIN" <yann.morin.1998@free.fr>

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>
---
 package/nss-mdns/nss-mdns.mk | 2 ++
 1 file changed, 2 insertions(+)
Peter Korsgaard - July 18, 2013, 10:34 p.m.
>>>>> "Yann" == Yann E MORIN <yann.morin.1998@free.fr> writes:

 Yann> From: "Yann E. MORIN" <yann.morin.1998@free.fr>
 Yann> In buildroot, the avahi socket is located in /var/run/avahi-daemon,
 Yann> not in /usr/var/run/avahi-daemon/socket.

Committed, thanks.

Patch

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