From: Steffen Sledz <sledz@dresearch.de>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [PATCH] rsyslog: new recipe
Date: Thu, 25 Mar 2010 07:49:14 +0100 [thread overview]
Message-ID: <4BAB076A.5070305@dresearch.de> (raw)
In-Reply-To: <20100324174300.GA16224@gmail.com>
Khem Raj wrote:
>> +pkg_postinst() {
>> + update-rc.d -f syslog remove
>> +}
>
> AFAIK pkg_postinst is run after install here it seems this must be done
> after un-install.
>
>> +
>> +pkg_postrm() {
>> + update-rc.d syslog add 5
>> +}
>
> pkg_postrm is run after uninstall and this seems to be adding the service
> may it should be revered ?
These steps are made similar to the ones in
recipes/syslog-ng/syslog-ng_2.0.5.bb which remove/reinstall the
default syslogd initscript (if i understand this right).
I believe that's a hack, but for now i would made it in the
same way. For the future we should look for a better way to
handle various syslogd's (alternatives or something like this).
I'll start an extra thread on this topic.
Steffen
next prev parent reply other threads:[~2010-03-25 6:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-24 8:39 [PATCH] rsyslog: new recipe Steffen Sledz
2010-03-24 17:43 ` Khem Raj
2010-03-25 6:49 ` Steffen Sledz [this message]
2010-03-26 11:16 ` Paul Menzel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4BAB076A.5070305@dresearch.de \
--to=sledz@dresearch.de \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox