Bug 15754 - INHIBIT_PACKAGE_STRIP_FILES is lacking documentation
Summary: INHIBIT_PACKAGE_STRIP_FILES is lacking documentation
Status: NEW
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium normal
Target Milestone: 5.99
Assignee: Unassigned
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2025-02-16 10:17 UTC by kweihmann
Modified: 2025-02-20 15:48 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Yes (doc changes required)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.