[oe-commits] Ross Burton : avahi: unset FILES_avahi to avoid packaging files there

git at git.openembedded.org git at git.openembedded.org
Fri Aug 15 07:47:49 UTC 2014


Module: openembedded-core.git
Branch: master-next
Commit: 3c53a579297f2b24ba9eedc904236893f83b4aff
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=3c53a579297f2b24ba9eedc904236893f83b4aff

Author: Ross Burton <ross.burton at intel.com>
Date:   Tue Aug 12 14:00:05 2014 +0100

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.

Signed-off-by: Ross Burton <ross.burton at intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-connectivity/avahi/avahi.inc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/recipes-connectivity/avahi/avahi.inc b/meta/recipes-connectivity/avahi/avahi.inc
index 3318f40..4a68f6a 100644
--- a/meta/recipes-connectivity/avahi/avahi.inc
+++ b/meta/recipes-connectivity/avahi/avahi.inc
@@ -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 \



More information about the Openembedded-commits mailing list