All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] avahi: create missing "services" directory
@ 2017-07-04 16:35 Maxime Hadjinlian
  2017-07-04 16:35 ` [Buildroot] [PATCH] qt5base: disable libraries not built Maxime Hadjinlian
  2017-08-17 13:52 ` [Buildroot] [PATCH] avahi: create missing "services" directory Thomas Petazzoni
  0 siblings, 2 replies; 3+ messages in thread
From: Maxime Hadjinlian @ 2017-07-04 16:35 UTC (permalink / raw)
  To: buildroot

Fixes a warning in avahi-daemon startup log:
"Failed to read /etc/avahi/services."

This directory can contain services files that you want avahi to
advertise.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
---
 package/avahi/avahi.mk | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/package/avahi/avahi.mk b/package/avahi/avahi.mk
index a356a08291..5f6f3c36b3 100644
--- a/package/avahi/avahi.mk
+++ b/package/avahi/avahi.mk
@@ -180,6 +180,12 @@ endef

 AVAHI_POST_INSTALL_TARGET_HOOKS += AVAHI_REMOVE_INITSCRIPT

+define AVAHI_CREATE_SERVICES_DIRECTORY
+	mkdir -p $(TARGET_DIR)/etc/avahi/services
+endef
+
+AVAHI_POST_INSTALL_TARGET_HOOKS += AVAHI_CREATE_SERVICES_DIRECTORY
+
 ifeq ($(BR2_PACKAGE_AVAHI_AUTOIPD),y)
 define AVAHI_INSTALL_AUTOIPD
 	rm -f $(TARGET_DIR)/var/lib/avahi-autoipd
--
2.13.2

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-08-17 13:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-04 16:35 [Buildroot] [PATCH] avahi: create missing "services" directory Maxime Hadjinlian
2017-07-04 16:35 ` [Buildroot] [PATCH] qt5base: disable libraries not built Maxime Hadjinlian
2017-08-17 13:52 ` [Buildroot] [PATCH] avahi: create missing "services" directory Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.