dev-manual: Added some development notes on the systemd feature.

These notes will be deleted eventually.

(From yocto-docs rev: 3c4894eaab5e87efbc06132f8c46e69623a72842)

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-03-28 05:51:16 -07:00 committed by Richard Purdie
parent 4a4d342264
commit a8532b0f84
1 changed files with 27 additions and 3 deletions

View File

@ -3080,13 +3080,37 @@
<para>
By default, the Yocto Project uses
<filename>SysVinit</filename> as the initialization manager.
However, support also exists for <filename>systemd</filename>.
However, support also exists for <filename>systemd</filename>,
which is a full replacement of for <filename>init</filename> with
parallel starting of services, reduced shell overhead and other
features, used by many distributions.
</para>
<para>
If you want to use <filename>SysVinit</filename>, you do
not have to do anything.
But, if you want to use <filename>systemd</filename>, you must
take some steps as described in the following sections.
</para>
<note>
<para><emphasis>NOTES TO SELF:</emphasis>
<filename>systemd</filename> is a full replacement of for init with
parallel starting of services, reduced shell overhead and other
features, used by many distributions.</para>
<para>I think you set the <filename>VIRTUAL-RUNTIME</filename>
in a recipe.
I found a recipe called
<filename>packagegroup-core-boot.bb</filename>, which is an
<filename>OE-Core</filename> recipe, that has a bunch of them.
The comment refers to the group as "VIRTUAL-RUNTIME providers".
The list includes <filename>VIRTUAL-RUNTIME_dev_manager</filename>,
<filename>VIRTUAL-RUNTIME_init_manager</filename>,
<filename>VIRTUAL-RUNTIME_login_manager</filename>,
<filename>VIRTUAL-RUNTIME_initscripts</filename>, and
<filename>VIRTUAL-RUNTIME_keymaps</filename>.</para>
</note>
<section id='using-systemd-exclusively'>
<title>Using systemd Exclusively</title>
@ -3118,8 +3142,8 @@
DISTRO_FEATURES = "systemd"
VIRTUAL-RUNTIME_init-manager = "systemd"
</literallayout>
Doing so causes your main image to use
<filename>packagegroup-core-boot</filename> and
Doing so causes your main image to use the
<filename>packagegroup-core-boot.bb</filename> recipe and
<filename>systemd</filename>.
The rescue/minimal image cannot use this group.
However, it can install <filename>sysvinit</filename>