From d8b69fb4de28d917839abfbad6287b45febf4fdd Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Wed, 19 Mar 2014 06:44:38 -0600 Subject: dev-manual: Read-thru edits for "Selecting an Initialization Manager" Mainly changed the way I referred to Systemd and SysVinit. I was rendering them in a courier font, which was not correct. (From yocto-docs rev: 179ae65ffdfcf59c36e4a3d315855d50722ad890) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- .../dev-manual/dev-manual-common-tasks.xml | 85 ++++------------------ 1 file changed, 16 insertions(+), 69 deletions(-) diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml index d7bfdad4ab..9e269c1cdb 100644 --- a/documentation/dev-manual/dev-manual-common-tasks.xml +++ b/documentation/dev-manual/dev-manual-common-tasks.xml @@ -5304,64 +5304,51 @@ Selecting an Initialization Manager - By default, the Yocto Project uses - SysVinit as the initialization manager. - However, support also exists for systemd, - which is a full replacement for init with + By default, the Yocto Project uses SysVinit as the initialization + manager. + However, support also exists for Systemd, + which is a full replacement for init with parallel starting of services, reduced shell overhead and other features that are used by many distributions. - If you want to use sysvinit, you do + If you want to use SysVinit, you do not have to do anything. - But, if you want to use systemd, you must + But, if you want to use Systemd, you must take some steps as described in the following sections. - -
- Using systemd Exclusively + Using Systemd Exclusively - Set the following variables in your distribution configuration + Set the these variables in your distribution configuration file as follows: DISTRO_FEATURES_append = " systemd" VIRTUAL-RUNTIME_init_manager = "systemd" - You can also prevent the sysvinit + You can also prevent the SysVinit distribution feature from being automatically enabled as follows: DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit" - Doing so removes any redundant sysvinit - scripts. + Doing so removes any redundant SysVinit scripts. For information on the backfill variable, see - DISTRO_FEATURES_BACKFILL_CONSIDERED - in the Yocto Project Reference Manual. + DISTRO_FEATURES_BACKFILL_CONSIDERED.
- Using systemd for the Main Image and Using SysVinit for the Rescue Image + Using Systemd for the Main Image and Using SysVinit for the Rescue Image - Set the following variables in your distribution configuration + Set the these variables in your distribution configuration file as follows: DISTRO_FEATURES_append = " systemd" @@ -5369,55 +5356,15 @@ Doing so causes your main image to use the packagegroup-core-boot.bb recipe and - systemd. + Systemd. The rescue/minimal image cannot use this package group. - However, it can install sysvinit + However, it can install SysVinit and the appropriate packages will have support for both - systemd and sysvinit. + Systemd and SysVinit.
- -
Using an External SCM -- cgit v1.2.3-54-g00ecf