| Summary: | update-rc.d INITSCRIPT_PACKAGES misses its goal | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Louis Rannou <louis.rannou> |
| Component: | deployment | Assignee: | Unassigned <unassigned> |
| Status: | RESOLVED NOTABUG | QA Contact: | Richard Purdie <richard.purdie> |
| Severity: | normal | ||
| Priority: | Undecided | CC: | louis.rannou, steve |
| Version: | 3.0.3 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |
Should be:
INITSCRIPT_NAME_${PN}-child
INITSCRIPT_PARAMS_${PN}-child = "defaults 61"
|
Using the following recipe, there won't be any S61child in rc It seems that added packages are checking INITSCRIPT_NAME which is the parent. SUMMARY = "Test INITSCRIPT_PACKAGES" LICENSE = "CLOSED" do_install() { install -d ${D}${sysconfdir}/init.d echo -e "#!/bin/sh\n\necho FATHER" > ${WORKDIR}/father echo -e "#!/bin/sh\n\necho CHILD" > ${WORKDIR}/child install -m 0755 ${WORKDIR}/father ${D}${sysconfdir}/init.d/ install -m 0755 ${WORKDIR}/child ${D}${sysconfdir}/init.d/ } inherit update-rc.d INITSCRIPT_PACKAGES = "${PN} ${PN}-child" INITSCRIPT_NAME = "father" INITSCRIPT_PARAMS = "defaults 60" INITSCRIPT_NAME-child = "child" INITSCRIPT_PARAMS-child = "defaults 61"