On Thu, 2016-11-24 at 10:26 +0100, David Vincent wrote: > When using an alternative as an initscript, the ordering between > update-rc.d and update-alternatives tasks during prerm and postinst > tasks must always be the following in order to work: > * prerm: > - stop daemon > - remove alternative > > * postinst: > - add alternative > - start daemon > > This patchset adds comments to the scripts generated by both classes and > organize the generated sections based on those comments. > > [YOCTO #10433]
I also commented this in the bug, but after playing with these a bit I'm not convinced that init scripts should be managed by update-alternatives. First, I don't see much reasoning why two syslog services should be installed in parallel. Also, no other package or distro use this kind of construction, AFAIK. So I'd avoid complication of the bbclasses for the purpose of one package only. If we really want to make these install in parallel I think we should just name the files differently. Thanks, Markus -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
