diff options
| author | Michael Opdenacker <michael.opdenacker@bootlin.com> | 2023-04-28 17:00:28 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-05-03 11:46:09 +0100 |
| commit | 387df791fe7e96ba6668e27ce56e4e1a0eaf964b (patch) | |
| tree | 2ab348e65e776cd08dbf7e925c80d9d7c1ae64a1 /documentation | |
| parent | 772fdfb1140e8908b18044f6d655a1efc5cb2089 (diff) | |
| download | poky-387df791fe7e96ba6668e27ce56e4e1a0eaf964b.tar.gz | |
dev-manual: init-manager.rst: add summary
Comparing init managers by features
(From yocto-docs rev: 1039bbe55b5b7375e8dd969940bbd656115a5ab0)
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
| -rw-r--r-- | documentation/dev-manual/init-manager.rst | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/documentation/dev-manual/init-manager.rst b/documentation/dev-manual/init-manager.rst index fd8747b9b0..b96e011ebf 100644 --- a/documentation/dev-manual/init-manager.rst +++ b/documentation/dev-manual/init-manager.rst | |||
| @@ -111,3 +111,52 @@ configuration file:: | |||
| 111 | Doing so will prevent ``rsyslog`` / ``busybox-syslog`` from being pulled in by | 111 | Doing so will prevent ``rsyslog`` / ``busybox-syslog`` from being pulled in by |
| 112 | default, leaving only ``systemd-journald``. | 112 | default, leaving only ``systemd-journald``. |
| 113 | 113 | ||
| 114 | Summary | ||
| 115 | ------- | ||
| 116 | |||
| 117 | The Yocto Project supports three different initialization managers, offering | ||
| 118 | increasing levels of complexity and functionality: | ||
| 119 | |||
| 120 | .. list-table:: | ||
| 121 | :widths: 40 20 20 20 | ||
| 122 | :header-rows: 1 | ||
| 123 | |||
| 124 | * - | ||
| 125 | - BusyBox init | ||
| 126 | - SysVinit | ||
| 127 | - systemd | ||
| 128 | * - Size | ||
| 129 | - Small | ||
| 130 | - Small | ||
| 131 | - Big [#footnote-systemd-size]_ | ||
| 132 | * - Complexity | ||
| 133 | - Small | ||
| 134 | - Medium | ||
| 135 | - High | ||
| 136 | * - Support for boot profiles | ||
| 137 | - No | ||
| 138 | - Yes ("runlevels") | ||
| 139 | - Yes ("targets") | ||
| 140 | * - Services defined as | ||
| 141 | - Shell scripts | ||
| 142 | - Shell scripts | ||
| 143 | - Description files | ||
| 144 | * - Starting services in parallel | ||
| 145 | - No | ||
| 146 | - No | ||
| 147 | - Yes | ||
| 148 | * - Setting service resource limits | ||
| 149 | - No | ||
| 150 | - No | ||
| 151 | - Yes | ||
| 152 | * - Support service isolation | ||
| 153 | - No | ||
| 154 | - No | ||
| 155 | - Yes | ||
| 156 | * - Integrated logging | ||
| 157 | - No | ||
| 158 | - No | ||
| 159 | - Yes | ||
| 160 | |||
| 161 | .. [#footnote-systemd-size] Using systemd increases the ``core-image-minimal`` | ||
| 162 | image size by 160\% for ``qemux86-64`` on Mickledore (4.2), compared to SysVinit. | ||
