From: Sander van Grieken Date: Thu, 30 Aug 2012 11:36:27 +0000 (+0000) Subject: avahi: use systemd.bbclass for avahi-systemd X-Git-Tag: rev_ivi_2015_02_04~4301 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=750cc9c7889f70d45ba12f5e55dea65a5db51a09;p=scm%2Fbb%2Ftizen-distro.git avahi: use systemd.bbclass for avahi-systemd The original behaviour is to enable the service in the package postinst phase. This patch will enable the service also when building the rootfs, so it fixes the case when no package-management is enabled. It also now delegates systemd enablement to the systemd bbclass, instead of using explicit code in the recipe itself. (From meta-openembedded rev: 62884020d9119fea79dad44c9f62e4a01448c628) Signed-off-by: Sander van Grieken Signed-off-by: Koen Kooi Signed-off-by: Patrick Ohly --- diff --git a/meta-openembedded/meta-systemd/oe-core/recipes-connectivity/avahi/avahi_0.6.31.bbappend b/meta-openembedded/meta-systemd/oe-core/recipes-connectivity/avahi/avahi_0.6.31.bbappend new file mode 100644 index 0000000..d41ca93 --- /dev/null +++ b/meta-openembedded/meta-systemd/oe-core/recipes-connectivity/avahi/avahi_0.6.31.bbappend @@ -0,0 +1,9 @@ +PRINC := "${@int(PRINC) + 1}" + +inherit systemd + +SYSTEMD_PACKAGES = "${PN}-systemd" +SYSTEMD_SERVICE = "avahi-daemon.service" +SYSTEMD_AUTO_ENABLE = "enable" + +FILES_${PN}-systemd += "${systemd_unitdir}/system/"