Skip to contentSkip to conversation

dev-manual: init-manager.rst: add summary

PATCH New [email protected] 1 participant 1 message Apr 28, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dev-manual: init-manager.rst: add summary

From: Michael Opdenacker <[email protected]>

Comparing init managers by features

---
 documentation/dev-manual/init-manager.rst | 49 +++++++++++++++++++++++
 1 file changed, 49 insertions(+)
documentation/dev-manual/init-manager.rst +49 -0
index fd8747b9b0..3fba26f2e7 100644
@@ -111,3 +111,52 @@ configuration file::
 Doing so will prevent ``rsyslog`` / ``busybox-syslog`` from being pulled in by
 default, leaving only ``systemd-journald``.
 
+Summary
+-------
+
+The Yocto Project supports three different initialization managers, offering
+increasing levels of complexity and functionality:
+
+.. list-table::
+   :widths: 40 20 20 20
+   :header-rows: 1
+
+   * - 
+     - BusyBox init
+     - SysVinit
+     - systemd
+   * - Size
+     - Small
+     - Small
+     - Big [#footnote-systemd-size]_
+   * - Complexity
+     - Small
+     - Medium
+     - High
+   * - Support for boot profiles
+     - No
+     - Yes ("runlevels")
+     - Yes ("targets")
+   * - Services defined as
+     - Shell scripts
+     - Shell scripts
+     - Description files
+   * - Starting services in parallel
+     - No
+     - No
+     - Yes
+   * - Setting service resource limits
+     - No
+     - No
+     - Yes
+   * - Support service isolation
+     - No
+     - No
+     - Yes
+   * - Integrated logging
+     - No
+     - No
+     - Yes
+
+.. [#footnote-systemd-size] Using systemd increases the ``core-image-minimal``
+   image size by 160\% for ``qemux86-64`` on Mickledore, compared to SysVinit.
Signature · 1 line
2.34.1