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


_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Reply via email to