mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 13:09:50 +00:00
dev-manual: Edits to "Enabling System Services" section.
Applied review comments from Paul Eggleton to the section that is part of the "Writing a New Recipe" section. I changed the title of the section and applied some rewordings to better reprepresent exactly what sysvinit and systemd really are (managers). (From yocto-docs rev: 95c3ed5b7d1ace08828baacc8401e1ea5d96a06e) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
ab001ceb65
commit
a3224b8dd7
@@ -2029,8 +2029,8 @@
|
|||||||
</note>
|
</note>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section id='new-recipe-optionally-supporting-services'>
|
<section id='new-recipe-enabling-system-services'>
|
||||||
<title>Supporting Services</title>
|
<title>Enabling System Services</title>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
If you want to install a service, which is a process that
|
If you want to install a service, which is a process that
|
||||||
@@ -2061,9 +2061,10 @@
|
|||||||
Here are some examples:
|
Here are some examples:
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
<listitem><para><emphasis>SysVinit:</emphasis>
|
<listitem><para><emphasis>SysVinit:</emphasis>
|
||||||
The SysVinit service is a group of processes that
|
SysVinit is a system and service manager that
|
||||||
control the very basic functions of your system.
|
manages the init system used to control the very basic
|
||||||
SysVinit includes the init program, the first program
|
functions of your system.
|
||||||
|
The init program is the first program
|
||||||
started by the Linux kernel when the system boots.
|
started by the Linux kernel when the system boots.
|
||||||
Init then controls the startup, running and shutdown
|
Init then controls the startup, running and shutdown
|
||||||
of all other programs.</para>
|
of all other programs.</para>
|
||||||
@@ -2080,25 +2081,21 @@
|
|||||||
<ulink url='&YOCTO_DOCS_REF_URL;#var-INITSCRIPT_PARAMS'><filename>INITSCRIPT_PARAMS</filename></ulink>
|
<ulink url='&YOCTO_DOCS_REF_URL;#var-INITSCRIPT_PARAMS'><filename>INITSCRIPT_PARAMS</filename></ulink>
|
||||||
variables within your recipe.</para></listitem>
|
variables within your recipe.</para></listitem>
|
||||||
<listitem><para><emphasis>Systemd:</emphasis>
|
<listitem><para><emphasis>Systemd:</emphasis>
|
||||||
The Systemd service is a system management daemon
|
Systemd was designed to replace SysVinit and provide
|
||||||
designed for the Linux startup process.
|
enhanced management of services.
|
||||||
Systemd is the first process to execute and is
|
For more information on Systemd, see the Systemd
|
||||||
therefore the parent process of all child processes.
|
homepage at
|
||||||
|
<ulink url='http://freedesktop.org/wiki/Software/systemd/'></ulink>.
|
||||||
</para>
|
</para>
|
||||||
<para>To include this service, your recipe needs to
|
<para>To include this service, your recipe needs to
|
||||||
inherit the
|
inherit the <filename>systemd</filename> class.
|
||||||
<ulink url='&YOCTO_DOCS_REF_URL;#ref-classes-systemd'><filename>systemd</filename></ulink>
|
See the
|
||||||
class.
|
<ulink url='&YOCTO_GIT_URL;/cgit/cgit.cgi/poky/tree/meta/classes/systemd.bbclass'><filename>systemd.bbclass</filename></ulink>
|
||||||
See the class for more information.</para></listitem>
|
file or the
|
||||||
|
"<ulink url='&YOCTO_DOCS_REF_URL;#ref-classes-systemd'><filename>systemd.bbclass</filename></ulink>"
|
||||||
|
section for more information.</para></listitem>
|
||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
|
||||||
For an example showing how to install a post-installation
|
|
||||||
script, see the
|
|
||||||
"<link linkend='usingpoky-extend-addpkg-postinstalls'>Post-Installation Scripts</link>"
|
|
||||||
section.
|
|
||||||
</para>
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section id='new-recipe-packaging'>
|
<section id='new-recipe-packaging'>
|
||||||
@@ -2135,6 +2132,13 @@
|
|||||||
section for an example that shows how you might split
|
section for an example that shows how you might split
|
||||||
your software into more than one package.
|
your software into more than one package.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
<para>
|
||||||
|
For an example showing how to install a post-installation
|
||||||
|
script, see the
|
||||||
|
"<link linkend='usingpoky-extend-addpkg-postinstalls'>Post-Installation Scripts</link>"
|
||||||
|
section.
|
||||||
|
</para>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section id='new-recipe-testing'>
|
<section id='new-recipe-testing'>
|
||||||
|
|||||||
Reference in New Issue
Block a user