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 12:00:21 +0000 |
commit | 7cf454e23cdead13dd0041b626045e19d4889bf5 (patch) | |
tree | f18de8ef09dc5f8e8a1b5af7a55fd775bfea5dab /meta/classes/syslinux.bbclass | |
parent | 5bdf7c980b509330a35fef1dcf28d0d359c7bd6e (diff) | |
download | poky-7cf454e23cdead13dd0041b626045e19d4889bf5.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]
(From OE-Core rev: b0c70bef015f1b2a30556a5db5e255592d5bf316)
Signed-off-by: David Vincent <freesilicon@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit aa87b1a4dcc14e4dfe719b6c55045c5662bc59c2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/syslinux.bbclass')
0 files changed, 0 insertions, 0 deletions