From patchwork Thu Aug 30 11:33:40 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: avahi: systemd postinst and postrm removed in favor of using systemd.bbclass Date: Thu, 30 Aug 2012 11:33:40 -0000 From: Sander van Grieken X-Patchwork-Id: 35537 Message-Id: <1346326420-23677-1-git-send-email-sander@outrightsolutions.nl> To: openembedded-core@lists.openembedded.org 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 --- 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 -} -