diff options
author | Michael Opdenacker <michael.opdenacker@bootlin.com> | 2023-04-27 17:30:05 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-04-28 14:46:17 +0100 |
commit | b01a12a13531c56a336a399456cb71709bb1a549 (patch) | |
tree | 88f070c0f2aa59f1972b0da62353ffd3b9c9d45d /documentation/ref-manual | |
parent | 7f39a583e772a45003db20d29a1e67faacb6be58 (diff) | |
download | poky-b01a12a13531c56a336a399456cb71709bb1a549.tar.gz |
manuals: expand init manager documentation
- Add details about INIT_MANAGER
Correct the fact that "none" currently generates
an image with "sysvinit", at least on Poky.
This behaviour should probably be changed.
- Expand the "Selecting an Initialization Manager" section.
- Stop mentioning "rescue image" generation, as this
is not detailed anywhere else.
(From yocto-docs rev: fd99f2753b50b7ad6133b787b90331fcb3a35152)
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
CC: Paul Eggleton <bluelightning@bluelightning.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/ref-manual')
-rw-r--r-- | documentation/ref-manual/variables.rst | 31 |
1 files changed, 24 insertions, 7 deletions
diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index 01b710199d..afb1fe9924 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst | |||
@@ -3959,16 +3959,33 @@ system and gives an overview of their function and contents. | |||
3959 | :term:`INIT_MANAGER` | 3959 | :term:`INIT_MANAGER` |
3960 | Specifies the system init manager to use. Available options are: | 3960 | Specifies the system init manager to use. Available options are: |
3961 | 3961 | ||
3962 | - ``sysvinit`` - System V init (default for poky) | 3962 | - ``sysvinit`` |
3963 | - ``systemd`` - systemd | 3963 | - ``systemd`` |
3964 | - ``mdev-busybox`` - mdev provided by busybox | 3964 | - ``mdev-busybox`` |
3965 | - ``none`` - no init manager | 3965 | - ``none`` |
3966 | |||
3967 | With ``sysvinit``, the init manager is set to | ||
3968 | :wikipedia:`SysVinit <Init#SysV-style>`, the traditional UNIX init | ||
3969 | system. This is the default choice in the Poky distribution, together with | ||
3970 | the Udev device manager (see the ":ref:`device-manager`" section). | ||
3971 | |||
3972 | With ``systemd``, the init manager becomes :wikipedia:`systemd <Systemd>`, | ||
3973 | which comes with the :wikipedia:`udev <Udev>` device manager. | ||
3974 | |||
3975 | With ``mdev-busybox``, the init manager becomes the much simpler BusyBox | ||
3976 | init, together with the BusyBox mdev device manager. This is the simplest | ||
3977 | and lightest solution, and probably the best choice for low-end systems | ||
3978 | with a rather slow CPU and a limited amount of RAM. | ||
3979 | |||
3980 | With ``none``, the init manager is also set to ``sysvinit``. This is the | ||
3981 | default setting in OpenEmbedded-Core. This option also selects the | ||
3982 | :wikipedia:`udev <Udev>` device manager. | ||
3966 | 3983 | ||
3967 | More concretely, this is used to include | 3984 | More concretely, this is used to include |
3968 | ``conf/distro/include/init-manager-${INIT_MANAGER}.inc`` into the global | 3985 | ``conf/distro/include/init-manager-${INIT_MANAGER}.inc`` into the global |
3969 | configuration. You can have a look at the ``conf/distro/include/init-manager-*.inc`` | 3986 | configuration. You can have a look at the |
3970 | files for more information, and also the | 3987 | :yocto_git:`meta/conf/distro/include/init-manager-*.inc </poky/tree/meta/conf/distro/include>` |
3971 | ":ref:`dev-manual/init-manager:selecting an initialization manager`" | 3988 | files for more information, and also the ":ref:`init-manager`" |
3972 | section in the Yocto Project Development Tasks Manual. | 3989 | section in the Yocto Project Development Tasks Manual. |
3973 | 3990 | ||
3974 | :term:`INITRAMFS_DEPLOY_DIR_IMAGE` | 3991 | :term:`INITRAMFS_DEPLOY_DIR_IMAGE` |