January 2018
Intermediate to advanced
456 pages
12h 49m
English
When using sysvinit as the initialization manager, Yocto offers the update-rc.d class as a helper to install initialization scripts so that services are started and stopped when needed.
When using this class, you need to specify the INITSCRIPT_NAME variable with the name of the script to install and the INITSCRIPT_PARAMS variable with the options to pass to the update-rc.d utility. You can optionally use the INITSCRIPT_PACKAGES variable to list the packages to contain the initialization scripts. By default, this contains the main package only, and if multiple packages are provided, INITSCRIPT_NAME and INITSCRIPT_PARAMS need to be specified for each using overrides. An example snippet is:
INITSCRIPT_PACKAGES = "${PN}-httpd ...Read now
Unlock full access