Re: [OE-core] [PATCH v3] classes: Fix alternatives and rc.d ordering

2016-11-24 Thread Markus Lehtonen
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 alt

[OE-core] [PATCH v3] classes: Fix alternatives and rc.d ordering

2016-11-24 Thread David Vincent
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 Th