Patchwork [1/1] rsyslog: change postrm to prerm

login
register
mail settings
Submitter Anders Darander
Date Nov. 9, 2011, 12:32 p.m.
Message ID <af4142d54e9a7999e8e705495cb746c07c7d3990.1320841846.git.anders@chargestorm.se>
Download mbox | patch
Permalink /patch/14623/
State Accepted
Commit dd54be4a2fc0f0597a82525fcb97c69539a547c4
Headers show

Comments

Anders Darander - Nov. 9, 2011, 12:32 p.m.
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>
---
 meta-oe/recipes-extended/rsyslog/rsyslog.inc |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
Koen Kooi - Nov. 9, 2011, 1:17 p.m.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Op 09-11-11 13:32, Anders Darander schreef:
> 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>

Applied. Next time could you please follow
https://github.com/openembedded/meta-oe/blob/master/meta-oe/README and use
[meta-oe] in the subject?


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: GPGTools - http://gpgtools.org

iD8DBQFOun1cMkyGM64RGpERAtC7AKCc5sVPSafYXUIn763VVmCwIPuw0gCfcAGw
lTnZak0VIzJnfOG1wjF2vC4=
=x7f9
-----END PGP SIGNATURE-----
Anders Darander - Nov. 9, 2011, 1:32 p.m.
* Koen Kooi <koen@dominion.thruhere.net> [111109 14:18]:
> Op 09-11-11 13:32, Anders Darander schreef:
> > 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>

> Applied. Next time could you please follow
> https://github.com/openembedded/meta-oe/blob/master/meta-oe/README and use
> [meta-oe] in the subject?

Yes, sure. Sorry that I forgot that....

Cheers,
Anders
Koen Kooi - Nov. 9, 2011, 1:36 p.m.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Op 09-11-11 14:32, Anders Darander schreef:
> * Koen Kooi <koen@dominion.thruhere.net> [111109 14:18]:
>> Op 09-11-11 13:32, Anders Darander schreef:
>>> 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>
> 
>> Applied. Next time could you please follow 
>> https://github.com/openembedded/meta-oe/blob/master/meta-oe/README and
>> use [meta-oe] in the subject?
> 
> Yes, sure. Sorry that I forgot that....

I look at http://patchwork.openembedded.org/project/oe/list/?q=meta- far
more often than oe-devel :)


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: GPGTools - http://gpgtools.org

iD8DBQFOuoHFMkyGM64RGpERAmq/AJ0QQyXQm9w8pAuW9djpTVi2QcubUwCfXZXy
UxerDjXtNhgihdFgTfmaKfg=
=Blqn
-----END PGP SIGNATURE-----

Patch

diff --git a/meta-oe/recipes-extended/rsyslog/rsyslog.inc b/meta-oe/recipes-extended/rsyslog/rsyslog.inc
index 8af2049..856d965 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/"
 LICENSE = "GPLv3"
 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 \
            file://rsyslog.conf"
@@ -25,7 +25,7 @@  pkg_postinst_${PN} () {
 	systemctl enable rsyslog.service
 }
 
-pkg_postrm_${PN} () {
+pkg_prerm_${PN} () {
 	systemctl disable rsyslog.service
 }