[oe-commits] Sander van Grieken : avahi: systemd postinst and postrm removed in favor of using systemd.bbclass
git at git.openembedded.org
git at git.openembedded.org
Sun Sep 2 12:57:26 UTC 2012
Module: openembedded-core.git
Branch: master
Commit: 277d2fbe50a88a9aa830efd5e06b327e04ecd72d
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=277d2fbe50a88a9aa830efd5e06b327e04ecd72d
Author: Sander van Grieken <sander at outrightsolutions.nl>
Date: Thu Aug 30 13:33:40 2012 +0200
avahi: systemd postinst and postrm removed in favor of using systemd.bbclass
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>
Signed-off-by: Saul Wold <sgw at linux.intel.com>
---
meta/recipes-connectivity/avahi/avahi.inc | 19 -------------------
1 files changed, 0 insertions(+), 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
-}
-
More information about the Openembedded-commits
mailing list