diff options
author | David Vincent <freesilicon@gmail.com> | 2017-01-25 15:03:06 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-02-08 11:59:55 +0000 |
commit | b0c70bef015f1b2a30556a5db5e255592d5bf316 (patch) | |
tree | 8e694741f4a679fa4a2fefad16ba5cce554d913c /meta/recipes-core/udev | |
parent | 79f821fb6c1b425ca5cb5e6db360c2743d6c989e (diff) | |
download | openembedded-core-b0c70bef015f1b2a30556a5db5e255592d5bf316.tar.gz openembedded-core-b0c70bef015f1b2a30556a5db5e255592d5bf316.tar.bz2 openembedded-core-b0c70bef015f1b2a30556a5db5e255592d5bf316.zip |
classes: Fix alternatives and rc.d ordering
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]
Signed-off-by: David Vincent <freesilicon@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit aa87b1a4dcc14e4dfe719b6c55045c5662bc59c2)
Diffstat (limited to 'meta/recipes-core/udev')
0 files changed, 0 insertions, 0 deletions