| Summary: | update-rc.d cannot handle priority of '08' or '09' well | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Chen Qi <Qi.Chen> |
| Component: | core | Assignee: | Chen Qi <Qi.Chen> |
| Status: | VERIFIED FIXED | QA Contact: | Costin <costin.c.constantin> |
| Severity: | normal | ||
| Priority: | Medium+ | CC: | alexandru.c.georgescu, liezhi.yang, meta.mr.watcher, meta.watcher, richard.purdie, sgw |
| Version: | 1.5 | ||
| Target Milestone: | 1.7 M1 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |
|
Description
Chen Qi
2014-05-27 03:34:28 UTC
Module: openembedded-core.git Branch: master Commit: 675fd834b9ed696cd87809830d57d3da083580d3 URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=675fd834b9ed696cd87809830d57d3da083580d3 Hello Chen, I know this might sound stupid, but where exactly you inserted the INITSCRIPT_PARAMS variable and what steps did you perform to create the environment for this scenario? Thank you, Costin (In reply to comment #2) > Hello Chen, > > I know this might sound stupid, but where exactly you inserted the > INITSCRIPT_PARAMS variable and what steps did you perform to create the > environment for this scenario? > > Thank you, > > Costin I created a new recipe with a simple init script, and then set INITSCRIPT_PARAMS to "start 09 S . stop 90 0 6 .". // Chen Qi Hello,
I managed to test this bug (thanks for help Chen) and everything is fine. I will mark it as verified.
However, I would like to share how I did it for future reference:
1) modify the meta/recipes-connectivity/openssh/openssh_6.6p1.bb recipe changing
INITSCRIPT_PARAMS_${PN}-sshd = "defaults 9" to INITSCRIPT_PARAMS_${PN}-sshd = "defaults 09"
2) in local.conf:
EXTRA_IMAGE_FEATURES = "debug-tweaks ssh-server-openssh"
MACHINE = "qemux86-64"
3) bitbake core-image-minimal
4) runqemu qemux86-64 core-image-minimal
ps | grep ssh (ssh should exist)
ls /etc/rc* (and a link to sshd should be present)
poky: 5367855fe56db0c09b8fa7bb423b9de18d11eecc
Costin
|