From 65ffae4706dd84d984f4731b0cc32c6fda25dd11 Mon Sep 17 00:00:00 2001 From: Alper Ak Date: Thu, 22 May 2025 21:09:03 +0300 Subject: ref-manual/variables.rst: document INHIBIT_UPDATERCD_BBCLASS Fix [YOCTO #15753] (From yocto-docs rev: 5f5a406d4acdfcbf655ac014d0d2807056f95291) Signed-off-by: Alper Ak Signed-off-by: Antonin Godard Signed-off-by: Richard Purdie --- documentation/ref-manual/variables.rst | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'documentation') diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index 1425358a36..43e38b217b 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst @@ -4601,6 +4601,25 @@ system and gives an overview of their function and contents. even if the toolchain's binaries are strippable, there are other files needed for the build that are not strippable. + :term:`INHIBIT_UPDATERCD_BBCLASS` + Prevents the :ref:`ref-classes-update-rc.d` class from automatically + installing and registering SysV init scripts for packages. + + When a recipe inherits the :ref:`ref-classes-update-rc.d` class, init + scripts are typically installed and registered for the packages listed in + :term:`INITSCRIPT_PACKAGES`. This ensures that the relevant + services are started and stopped at the appropriate runlevels using the + traditional SysV init system. + + To prevent the build system from adding these scripts and configurations + automatically, set the :term:`INHIBIT_UPDATERCD_BBCLASS` variable as follows:: + + INHIBIT_UPDATERCD_BBCLASS = "1" + + By default, the value of :term:`INHIBIT_UPDATERCD_BBCLASS` is empty. Setting + it to "0" does not disable inhibition. Only the empty string will disable + inhibition. + :term:`INIT_MANAGER` Specifies the system init manager to use. Available options are: -- cgit v1.2.3-54-g00ecf