]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
dev-manual: Added some development notes on the systemd feature.
authorScott Rifenbark <scott.m.rifenbark@intel.com>
Thu, 28 Mar 2013 12:51:16 +0000 (05:51 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 4 Apr 2013 13:13:36 +0000 (14:13 +0100)
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>
documentation/dev-manual/dev-manual-common-tasks.xml

index 768700a277ed7c51e1712ce0072b138819285f13..544a14693a97fd3c8db466e46bca76f9a9fd2ce1 100644 (file)
         <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>
 
      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>