Bug 15753

Summary: INHIBIT_UPDATERCD_BBCLASS is lacking documentation
Product: [Build System, Metadata & Runtime] OE-Core Reporter: kweihmann
Component: coreAssignee: Alper Ak <alperyasinak1>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: alperyasinak1, antonin.godard, meta.mr.watcher, meta.watcher, randy.macleod, richard.purdie
Version: unspecified   
Target Milestone: 5.99   
Hardware: x86   
OS: Multiple   
Whiteboard: NEWCOMER
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Yes (doc changes required)

Description kweihmann 2025-02-16 10:16:29 UTC
INHIBIT_UPDATERCD_BBCLASS used by systemd and update.rc.d is lacking
a default value and is entirely undocumented

> bitbake-getvar INHIBIT_UPDATERCD_BBCLASS

returns

> The variable 'INHIBIT_UPDATERCD_BBCLASS' is not defined

The code in update.rc.d code is doing a "if not d.getVar("INHIBIT_UPDATERCD_BBCLASS")" only,
so having a documented and defined empty value will not impact functionality
Comment 1 Richard Purdie 2025-02-17 12:55:33 UTC
As per several other bugs opened of this type, we are not adding default values for the sake of it.

I do agree we should document variables where possible.
Comment 2 Alper Ak 2025-05-22 18:10:15 UTC
Patch sent -> https://lists.yoctoproject.org/g/docs/message/6882
Comment 3 Antonin Godard 2025-05-27 06:34:39 UTC
Patch merged (commit 5f5a406d4acdfcbf655ac014d0d2807056f95291 on yocto-docs).

Thanks!

Moving to Resolved Fixed.