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:39:11 +0000 |
commit | fc89a3f739ff25306ea91d9bdb424fc8389bdf72 (patch) | |
tree | 12087cd9fa77f658058e7dd42eb5fc860123cf8c /meta/classes/toaster.bbclass | |
parent | 02f89167a394d3a64ac0699f8ecae18563e560ab (diff) | |
download | poky-fc89a3f739ff25306ea91d9bdb424fc8389bdf72.tar.gz |
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
(From OE-Core rev: aa87b1a4dcc14e4dfe719b6c55045c5662bc59c2)
Signed-off-by: David Vincent <freesilicon@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/toaster.bbclass')
0 files changed, 0 insertions, 0 deletions