ref-manual: Edits to update-rc.d class.

(From yocto-docs rev: 34d011d3e658a86a28339cfe47f1c93e15eb8b26)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Scott Rifenbark 2013-12-05 15:40:26 -06:00 committed by Richard Purdie
parent ba1af319de
commit 2ac1c72943
1 changed files with 9 additions and 4 deletions

View File

@ -2751,13 +2751,18 @@
</section> </section>
<section id='ref-classes-update-rc.d'> <section id='ref-classes-update-rc.d'>
<title>Initscripts - <filename>update-rc.d.bbclass</filename></title> <title><filename>update-rc.d.bbclass</filename></title>
<para> <para>
This class uses <filename>update-rc.d</filename> to safely install an The <filename>update-rc.d</filename> class uses
<filename>update-rc.d</filename> to safely install an
initialization script on behalf of the package. initialization script on behalf of the package.
The OpenEmbedded build system takes care of details such as making sure the script is stopped before The OpenEmbedded build system takes care of details such as making
a package is removed and started when the package is installed. sure the script is stopped before a package is removed and started when
the package is installed.
</para>
<para>
Three variables control this class: Three variables control this class:
<filename><link linkend='var-INITSCRIPT_PACKAGES'>INITSCRIPT_PACKAGES</link></filename>, <filename><link linkend='var-INITSCRIPT_PACKAGES'>INITSCRIPT_PACKAGES</link></filename>,
<filename><link linkend='var-INITSCRIPT_NAME'>INITSCRIPT_NAME</link></filename> and <filename><link linkend='var-INITSCRIPT_NAME'>INITSCRIPT_NAME</link></filename> and