Skip to contentSkip to conversation

avahi: unset FILES_avahi to avoid packaging files there

PATCH Superseded Ross Burton 1 participant 1 message Aug 12, 2014

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 avahi: unset FILES_avahi to avoid packaging files there

The main avahi recipe doesn't package anything into ${PN}. If a library is enabled but not put into a separate package it ends up in ${PN} and all the packages are renamed using it's soname - ie libdns-sd-daemon.

Avoid this by clearing FILES_avahi so extra files are unpackaged instead of creating a new package.

---
 meta/recipes-connectivity/avahi/avahi.inc |    3 +++
 1 file changed, 3 insertions(+)
meta/recipes-connectivity/avahi/avahi.inc +3 -0
index 3318f40..4a68f6a 100644
@@ -73,6 +73,9 @@ do_configure_prepend() {
 
 PACKAGES =+ "avahi-daemon libavahi-common libavahi-core libavahi-client avahi-dnsconfd libavahi-glib libavahi-ui avahi-autoipd avahi-utils"
 
+# As avahi doesn't put any files into PN, clear the files list to avoid problems
+# if extra libraries appear.
+FILES_avahi = ""
 FILES_avahi-autoipd = "${sbindir}/avahi-autoipd \
                        ${sysconfdir}/avahi/avahi-autoipd.action \
                        ${sysconfdir}/dhcp/*/avahi-autoipd \
Signature · 1 line
1.7.10.4