1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 05:09:24 +00:00

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>
This commit is contained in:
Sander van Grieken
2012-08-30 13:33:40 +02:00
committed by Richard Purdie
parent 8dd8f56f99
commit 8e188a7fb3
-19
View 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
}