From 1db44f2242e87092cf7a85e51ce70593be74f68c Mon Sep 17 00:00:00 2001 From: Michael Opdenacker Date: Fri, 28 Apr 2023 17:00:28 +0200 Subject: dev-manual: init-manager.rst: add summary Comparing init managers by features (From yocto-docs rev: 1039bbe55b5b7375e8dd969940bbd656115a5ab0) Signed-off-by: Michael Opdenacker Signed-off-by: Richard Purdie --- documentation/dev-manual/init-manager.rst | 49 +++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) (limited to 'documentation/dev-manual') 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:: 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 (4.2), compared to SysVinit. -- cgit v1.2.3-54-g00ecf