diff options
author | David Vincent <freesilicon@gmail.com> | 2016-12-20 10:47:45 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-01-09 13:27:01 +0000 |
commit | aa87b1a4dcc14e4dfe719b6c55045c5662bc59c2 (patch) | |
tree | 48b528d02d3397e215bf655b09b5c20e3a09233b /meta-selftest/classes | |
parent | 9ddcfb51e637acba82089da6430ac77e29f0f1ef (diff) | |
download | openembedded-core-aa87b1a4dcc14e4dfe719b6c55045c5662bc59c2.tar.gz openembedded-core-aa87b1a4dcc14e4dfe719b6c55045c5662bc59c2.tar.bz2 openembedded-core-aa87b1a4dcc14e4dfe719b6c55045c5662bc59c2.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]
Changes since v5:
- Remove boolean in d.getVar() calls
Signed-off-by: David Vincent <freesilicon@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta-selftest/classes')
0 files changed, 0 insertions, 0 deletions