summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorScott Rifenbark <scott.m.rifenbark@intel.com>2014-01-09 10:03:09 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-01-21 21:57:59 +0000
commita3224b8dd7b8e4309ef599cf11c8fcaefa412bf5 (patch)
treed7214d435d7a3cf7eab94ce7028b627db2cc827f /documentation
parentab001ceb650d7cd918c0c89076fcb21e4cd6f504 (diff)
downloadpoky-a3224b8dd7b8e4309ef599cf11c8fcaefa412bf5.tar.gz
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>
Diffstat (limited to 'documentation')
-rw-r--r--documentation/dev-manual/dev-manual-common-tasks.xml44
1 files changed, 24 insertions, 20 deletions
diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml
index 585f4ad4da..169a9169c0 100644
--- a/documentation/dev-manual/dev-manual-common-tasks.xml
+++ b/documentation/dev-manual/dev-manual-common-tasks.xml
@@ -2029,8 +2029,8 @@
2029 </note> 2029 </note>
2030 </section> 2030 </section>
2031 2031
2032 <section id='new-recipe-optionally-supporting-services'> 2032 <section id='new-recipe-enabling-system-services'>
2033 <title>Supporting Services</title> 2033 <title>Enabling System Services</title>
2034 2034
2035 <para> 2035 <para>
2036 If you want to install a service, which is a process that 2036 If you want to install a service, which is a process that
@@ -2061,9 +2061,10 @@
2061 Here are some examples: 2061 Here are some examples:
2062 <itemizedlist> 2062 <itemizedlist>
2063 <listitem><para><emphasis>SysVinit:</emphasis> 2063 <listitem><para><emphasis>SysVinit:</emphasis>
2064 The SysVinit service is a group of processes that 2064 SysVinit is a system and service manager that
2065 control the very basic functions of your system. 2065 manages the init system used to control the very basic
2066 SysVinit includes the init program, the first program 2066 functions of your system.
2067 The init program is the first program
2067 started by the Linux kernel when the system boots. 2068 started by the Linux kernel when the system boots.
2068 Init then controls the startup, running and shutdown 2069 Init then controls the startup, running and shutdown
2069 of all other programs.</para> 2070 of all other programs.</para>
@@ -2080,25 +2081,21 @@
2080 <ulink url='&YOCTO_DOCS_REF_URL;#var-INITSCRIPT_PARAMS'><filename>INITSCRIPT_PARAMS</filename></ulink> 2081 <ulink url='&YOCTO_DOCS_REF_URL;#var-INITSCRIPT_PARAMS'><filename>INITSCRIPT_PARAMS</filename></ulink>
2081 variables within your recipe.</para></listitem> 2082 variables within your recipe.</para></listitem>
2082 <listitem><para><emphasis>Systemd:</emphasis> 2083 <listitem><para><emphasis>Systemd:</emphasis>
2083 The Systemd service is a system management daemon 2084 Systemd was designed to replace SysVinit and provide
2084 designed for the Linux startup process. 2085 enhanced management of services.
2085 Systemd is the first process to execute and is 2086 For more information on Systemd, see the Systemd
2086 therefore the parent process of all child processes. 2087 homepage at
2088 <ulink url='http://freedesktop.org/wiki/Software/systemd/'></ulink>.
2087 </para> 2089 </para>
2088 <para>To include this service, your recipe needs to 2090 <para>To include this service, your recipe needs to
2089 inherit the 2091 inherit the <filename>systemd</filename> class.
2090 <ulink url='&YOCTO_DOCS_REF_URL;#ref-classes-systemd'><filename>systemd</filename></ulink> 2092 See the
2091 class. 2093 <ulink url='&YOCTO_GIT_URL;/cgit/cgit.cgi/poky/tree/meta/classes/systemd.bbclass'><filename>systemd.bbclass</filename></ulink>
2092 See the class for more information.</para></listitem> 2094 file or the
2095 "<ulink url='&YOCTO_DOCS_REF_URL;#ref-classes-systemd'><filename>systemd.bbclass</filename></ulink>"
2096 section for more information.</para></listitem>
2093 </itemizedlist> 2097 </itemizedlist>
2094 </para> 2098 </para>
2095
2096 <para>
2097 For an example showing how to install a post-installation
2098 script, see the
2099 "<link linkend='usingpoky-extend-addpkg-postinstalls'>Post-Installation Scripts</link>"
2100 section.
2101 </para>
2102 </section> 2099 </section>
2103 2100
2104 <section id='new-recipe-packaging'> 2101 <section id='new-recipe-packaging'>
@@ -2135,6 +2132,13 @@
2135 section for an example that shows how you might split 2132 section for an example that shows how you might split
2136 your software into more than one package. 2133 your software into more than one package.
2137 </para> 2134 </para>
2135
2136 <para>
2137 For an example showing how to install a post-installation
2138 script, see the
2139 "<link linkend='usingpoky-extend-addpkg-postinstalls'>Post-Installation Scripts</link>"
2140 section.
2141 </para>
2138 </section> 2142 </section>
2139 2143
2140 <section id='new-recipe-testing'> 2144 <section id='new-recipe-testing'>