[OE-core] [PATCH] avahi: systemd postinst and postrm removed in favor of using systemd.bbclass

Sander van Grieken sander at outrightsolutions.nl
Thu Aug 30 11:33:40 UTC 2012


The recipe's custom systemd service enable code is now handled by the meta-systemd
bbappend recipe in meta-openembedded.

Signed-off-by: Sander van Grieken <sander at outrightsolutions.nl>
---
 meta/recipes-connectivity/avahi/avahi.inc |   19 -------------------
 1 file changed, 19 deletions(-)

diff --git a/meta/recipes-connectivity/avahi/avahi.inc b/meta/recipes-connectivity/avahi/avahi.inc
index c08acb5..a0a1681 100644
--- a/meta/recipes-connectivity/avahi/avahi.inc
+++ b/meta/recipes-connectivity/avahi/avahi.inc
@@ -155,22 +155,3 @@ pkg_postrm_avahi-autoipd () {
 	deluser avahi-autoipd || true
 	delgroup avahi-autoipd || true
 }
-
-pkg_postinst_avahi-systemd() {
-	# can't do this offline
-	if [ "x$D" != "x" ]; then
-		exit 1
-	fi
-	
-	systemctl enable avahi-daemon.service
-}
-
-pkg_postrm_avahi-systemd() {
-	# can't do this offline
-	if [ "x$D" != "x" ]; then
-		exit 1
-	fi
-
-	systemctl disable avahi-daemon.service
-}
-
-- 
1.7.9.5





More information about the Openembedded-core mailing list