Skip to contentSkip to conversation

ref-manual/variables.rst: document INHIBIT_UPDATERCD_BBCLASS

PATCH Applied Alper Ak 2 participants 2 messages May 22, 2025 – May 27, 2025

lore
Share & tools
lore

Alper Ak

author
#0 lore raw

PATCH 1/1 ref-manual/variables.rst: document INHIBIT_UPDATERCD_BBCLASS

Fix [YOCTO #15753]

---
 documentation/ref-manual/variables.rst | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
documentation/ref-manual/variables.rst +18 -0
index 6d1b64ef8..bf098ded7 100644
@@ -4601,6 +4601,24 @@ 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:
 
Signature · 1 line
2.43.0
#1 lore raw
Quoted 3 lines · Alper Ak

Fix [YOCTO #15753]

Applied, thanks!

[1/1] ref-manual/variables.rst: document INHIBIT_UPDATERCD_BBCLASS

      commit: 5f5a406d4acdfcbf655ac014d0d2807056f95291

Best regards,

Signature · 1 line
Antonin Godard <[email protected]>