[OE-core] [PATCH 1/4] avahi.inc: use avahi-daemon as avahi's provider

Hongxu Jia hongxu.jia at windriver.com
Fri Nov 7 07:57:01 UTC 2014


The package avahi does not exist, so we use avahi-daemon as the provider.
It avoids the do_rootfs failure while IMAGE_INSTALL += "avahi"

[YOCTO #6937]

Signed-off-by: Hongxu Jia <hongxu.jia at windriver.com>
---
 meta/recipes-connectivity/avahi/avahi.inc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-connectivity/avahi/avahi.inc b/meta/recipes-connectivity/avahi/avahi.inc
index b060437..5573372 100644
--- a/meta/recipes-connectivity/avahi/avahi.inc
+++ b/meta/recipes-connectivity/avahi/avahi.inc
@@ -76,6 +76,8 @@ PACKAGES =+ "avahi-daemon libavahi-common libavahi-core libavahi-client avahi-dn
 # As avahi doesn't put any files into PN, clear the files list to avoid problems
 # if extra libraries appear.
 FILES_avahi = ""
+# Let avahi-daemon to provide avahi
+RPROVIDES_avahi-daemon = "avahi"
 FILES_avahi-autoipd = "${sbindir}/avahi-autoipd \
                        ${sysconfdir}/avahi/avahi-autoipd.action \
                        ${sysconfdir}/dhcp/*/avahi-autoipd \
-- 
1.9.1




More information about the Openembedded-core mailing list