Bug 15754

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

Description kweihmann 2025-02-16 10:17:10 UTC
INHIBIT_PACKAGE_STRIP_FILES used by packaging is lacking
a default value and is entirely undocumented

> bitbake-getvar INHIBIT_PACKAGE_STRIP_FILES

returns

> The variable 'INHIBIT_PACKAGE_STRIP_FILES' is not defined

The code in packaging code is doing a "(d.getVar("INHIBIT_PACKAGE_STRIP_FILES") or "").split()" only,
so having a documented and defined empty value will not impact functionality
Comment 1 Richard Purdie 2025-02-17 12:55:45 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.