summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Rifenbark <scott.m.rifenbark@intel.com>2013-03-28 05:51:16 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-04-04 14:13:36 +0100
commita8532b0f84f957df679c7923c337f09a418b6263 (patch)
tree3ef15cc467d945f276490ffecb5a332f142bd0f0
parent4a4d34226443b04683d9981f99f635664133577b (diff)
downloadpoky-a8532b0f84f957df679c7923c337f09a418b6263.tar.gz
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>
-rw-r--r--documentation/dev-manual/dev-manual-common-tasks.xml30
1 files changed, 27 insertions, 3 deletions
diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml
index 768700a277..544a14693a 100644
--- a/documentation/dev-manual/dev-manual-common-tasks.xml
+++ b/documentation/dev-manual/dev-manual-common-tasks.xml
@@ -3080,13 +3080,37 @@
3080 <para> 3080 <para>
3081 By default, the Yocto Project uses 3081 By default, the Yocto Project uses
3082 <filename>SysVinit</filename> as the initialization manager. 3082 <filename>SysVinit</filename> as the initialization manager.
3083 However, support also exists for <filename>systemd</filename>. 3083 However, support also exists for <filename>systemd</filename>,
3084 which is a full replacement of for <filename>init</filename> with
3085 parallel starting of services, reduced shell overhead and other
3086 features, used by many distributions.
3087 </para>
3088
3089 <para>
3084 If you want to use <filename>SysVinit</filename>, you do 3090 If you want to use <filename>SysVinit</filename>, you do
3085 not have to do anything. 3091 not have to do anything.
3086 But, if you want to use <filename>systemd</filename>, you must 3092 But, if you want to use <filename>systemd</filename>, you must
3087 take some steps as described in the following sections. 3093 take some steps as described in the following sections.
3088 </para> 3094 </para>
3089 3095
3096 <note>
3097 <para><emphasis>NOTES TO SELF:</emphasis>
3098 <filename>systemd</filename> is a full replacement of for init with
3099 parallel starting of services, reduced shell overhead and other
3100 features, used by many distributions.</para>
3101 <para>I think you set the <filename>VIRTUAL-RUNTIME</filename>
3102 in a recipe.
3103 I found a recipe called
3104 <filename>packagegroup-core-boot.bb</filename>, which is an
3105 <filename>OE-Core</filename> recipe, that has a bunch of them.
3106 The comment refers to the group as "VIRTUAL-RUNTIME providers".
3107 The list includes <filename>VIRTUAL-RUNTIME_dev_manager</filename>,
3108 <filename>VIRTUAL-RUNTIME_init_manager</filename>,
3109 <filename>VIRTUAL-RUNTIME_login_manager</filename>,
3110 <filename>VIRTUAL-RUNTIME_initscripts</filename>, and
3111 <filename>VIRTUAL-RUNTIME_keymaps</filename>.</para>
3112 </note>
3113
3090 <section id='using-systemd-exclusively'> 3114 <section id='using-systemd-exclusively'>
3091 <title>Using systemd Exclusively</title> 3115 <title>Using systemd Exclusively</title>
3092 3116
@@ -3118,8 +3142,8 @@
3118 DISTRO_FEATURES = "systemd" 3142 DISTRO_FEATURES = "systemd"
3119 VIRTUAL-RUNTIME_init-manager = "systemd" 3143 VIRTUAL-RUNTIME_init-manager = "systemd"
3120 </literallayout> 3144 </literallayout>
3121 Doing so causes your main image to use 3145 Doing so causes your main image to use the
3122 <filename>packagegroup-core-boot</filename> and 3146 <filename>packagegroup-core-boot.bb</filename> recipe and
3123 <filename>systemd</filename>. 3147 <filename>systemd</filename>.
3124 The rescue/minimal image cannot use this group. 3148 The rescue/minimal image cannot use this group.
3125 However, it can install <filename>sysvinit</filename> 3149 However, it can install <filename>sysvinit</filename>