summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/rsyslog
diff options
context:
space:
mode:
authorAnders Darander <anders@chargestorm.se>2011-11-09 12:32:24 +0000
committerKoen Kooi <koen@dominion.thruhere.net>2011-11-09 14:16:14 +0100
commitdd54be4a2fc0f0597a82525fcb97c69539a547c4 (patch)
tree67cc63d4f263c3ab8eadcbd0c4db76e162eb473f /meta-oe/recipes-extended/rsyslog
parentdb658e9954586f209c9ad3737c7f7488065ece38 (diff)
downloadmeta-openembedded-dd54be4a2fc0f0597a82525fcb97c69539a547c4.tar.gz
rsyslog: change postrm to prerm
The systemd service can't be disabled if it already has been removed, thus disable it prior to removing the package. Signed-off-by: Anders Darander <anders@chargestorm.se> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'meta-oe/recipes-extended/rsyslog')
-rw-r--r--meta-oe/recipes-extended/rsyslog/rsyslog.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-oe/recipes-extended/rsyslog/rsyslog.inc b/meta-oe/recipes-extended/rsyslog/rsyslog.inc
index 8af204990..856d96542 100644
--- a/meta-oe/recipes-extended/rsyslog/rsyslog.inc
+++ b/meta-oe/recipes-extended/rsyslog/rsyslog.inc
@@ -4,7 +4,7 @@ HOMEPAGE = "http://www.rsyslog.com/"
4LICENSE = "GPLv3" 4LICENSE = "GPLv3"
5LIC_FILES_CHKSUM = "file://COPYING;md5=51d9635e646fb75e1b74c074f788e973" 5LIC_FILES_CHKSUM = "file://COPYING;md5=51d9635e646fb75e1b74c074f788e973"
6 6
7INC_PR = "r0" 7INC_PR = "r1"
8 8
9SRC_URI = "http://www.rsyslog.com/files/download/rsyslog/${PN}-${PV}.tar.gz \ 9SRC_URI = "http://www.rsyslog.com/files/download/rsyslog/${PN}-${PV}.tar.gz \
10 file://rsyslog.conf" 10 file://rsyslog.conf"
@@ -25,7 +25,7 @@ pkg_postinst_${PN} () {
25 systemctl enable rsyslog.service 25 systemctl enable rsyslog.service
26} 26}
27 27
28pkg_postrm_${PN} () { 28pkg_prerm_${PN} () {
29 systemctl disable rsyslog.service 29 systemctl disable rsyslog.service
30} 30}
31 31