Skip to contentSkip to conversation

bitbake-user-manual: details about variable flags starting with underscore

PATCH RESEND New [email protected] 1 participant 1 message Oct 27, 2022

lore
Share & tools
lore
#0 lore raw

PATCH RESEND 1/1 bitbake-user-manual: details about variable flags starting with underscore

From: Michael Opdenacker <[email protected]>

Fixes [YOCTO #14140]

---
 doc/bitbake-user-manual/bitbake-user-manual-metadata.rst | 6 ++++++
 1 file changed, 6 insertions(+)
doc/bitbake-user-manual/bitbake-user-manual-metadata.rst +6 -0
index b533d9dc..b7c3d809 100644
@@ -422,6 +422,12 @@ documentation to a BitBake variable as follows::
 
    CACHE[doc] = "The directory holding the cache of the metadata."
 
+.. note::
+
+   Variable flag names starting with an underscore (``_``) character
+   are allowed but are ignored by ``d.getVarFlags("VAR")``
+   in Python code. Such flag names are used internally by BitBake.
+
 Inline Python Variable Expansion
 --------------------------------
 
Signature · 1 line
2.34.1