]> code.ossystems Code Review - openembedded-core.git/commitdiff
avahi: systemd postinst and postrm removed in favor of using systemd.bbclass
authorSander van Grieken <sander@outrightsolutions.nl>
Thu, 30 Aug 2012 11:33:40 +0000 (13:33 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 2 Sep 2012 12:47:34 +0000 (05:47 -0700)
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@outrightsolutions.nl>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/recipes-connectivity/avahi/avahi.inc

index c08acb563283ea5cf852459c8f648eeb714e29b0..a0a1681ab36c06aa4ef0fe38c0ead0817cec79b4 100644 (file)
@@ -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
-}
-