mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-16 20:20:52 +00:00
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>
This commit is contained in:
parent
db658e9954
commit
dd54be4a2f
@ -4,7 +4,7 @@ HOMEPAGE = "http://www.rsyslog.com/"
|
|||||||
LICENSE = "GPLv3"
|
LICENSE = "GPLv3"
|
||||||
LIC_FILES_CHKSUM = "file://COPYING;md5=51d9635e646fb75e1b74c074f788e973"
|
LIC_FILES_CHKSUM = "file://COPYING;md5=51d9635e646fb75e1b74c074f788e973"
|
||||||
|
|
||||||
INC_PR = "r0"
|
INC_PR = "r1"
|
||||||
|
|
||||||
SRC_URI = "http://www.rsyslog.com/files/download/rsyslog/${PN}-${PV}.tar.gz \
|
SRC_URI = "http://www.rsyslog.com/files/download/rsyslog/${PN}-${PV}.tar.gz \
|
||||||
file://rsyslog.conf"
|
file://rsyslog.conf"
|
||||||
@ -25,7 +25,7 @@ pkg_postinst_${PN} () {
|
|||||||
systemctl enable rsyslog.service
|
systemctl enable rsyslog.service
|
||||||
}
|
}
|
||||||
|
|
||||||
pkg_postrm_${PN} () {
|
pkg_prerm_${PN} () {
|
||||||
systemctl disable rsyslog.service
|
systemctl disable rsyslog.service
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user