diff options
author | Anders Darander <anders@chargestorm.se> | 2011-11-09 12:32:24 +0000 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2011-11-09 14:16:14 +0100 |
commit | dd54be4a2fc0f0597a82525fcb97c69539a547c4 (patch) | |
tree | 67cc63d4f263c3ab8eadcbd0c4db76e162eb473f | |
parent | db658e9954586f209c9ad3737c7f7488065ece38 (diff) | |
download | meta-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>
-rw-r--r-- | meta-oe/recipes-extended/rsyslog/rsyslog.inc | 4 |
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/" | |||
4 | LICENSE = "GPLv3" | 4 | LICENSE = "GPLv3" |
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=51d9635e646fb75e1b74c074f788e973" | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=51d9635e646fb75e1b74c074f788e973" |
6 | 6 | ||
7 | INC_PR = "r0" | 7 | INC_PR = "r1" |
8 | 8 | ||
9 | SRC_URI = "http://www.rsyslog.com/files/download/rsyslog/${PN}-${PV}.tar.gz \ | 9 | SRC_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 | ||
28 | pkg_postrm_${PN} () { | 28 | pkg_prerm_${PN} () { |
29 | systemctl disable rsyslog.service | 29 | systemctl disable rsyslog.service |
30 | } | 30 | } |
31 | 31 | ||