summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/avahi/avahi.inc
diff options
context:
space:
mode:
authorSander van Grieken <sander@outrightsolutions.nl>2012-08-30 13:33:40 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-09-02 05:52:07 -0700
commit8e188a7fb3c777150a786f76f86b728ecdd847d4 (patch)
treec8b7e9c9c2fb435c36dd0a64c885ec154b6c9bd3 /meta/recipes-connectivity/avahi/avahi.inc
parent8dd8f56f997bc2cc072270edbff44a52359ee728 (diff)
downloadpoky-8e188a7fb3c777150a786f76f86b728ecdd847d4.tar.gz
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. (From OE-Core rev: 277d2fbe50a88a9aa830efd5e06b327e04ecd72d) Signed-off-by: Sander van Grieken <sander@outrightsolutions.nl> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/avahi/avahi.inc')
-rw-r--r--meta/recipes-connectivity/avahi/avahi.inc19
1 files changed, 0 insertions, 19 deletions
diff --git a/meta/recipes-connectivity/avahi/avahi.inc b/meta/recipes-connectivity/avahi/avahi.inc
index c08acb5632..a0a1681ab3 100644
--- a/meta/recipes-connectivity/avahi/avahi.inc
+++ b/meta/recipes-connectivity/avahi/avahi.inc
@@ -155,22 +155,3 @@ pkg_postrm_avahi-autoipd () {
155 deluser avahi-autoipd || true 155 deluser avahi-autoipd || true
156 delgroup avahi-autoipd || true 156 delgroup avahi-autoipd || true
157} 157}
158
159pkg_postinst_avahi-systemd() {
160 # can't do this offline
161 if [ "x$D" != "x" ]; then
162 exit 1
163 fi
164
165 systemctl enable avahi-daemon.service
166}
167
168pkg_postrm_avahi-systemd() {
169 # can't do this offline
170 if [ "x$D" != "x" ]; then
171 exit 1
172 fi
173
174 systemctl disable avahi-daemon.service
175}
176