From 8a08e207854810b40b53946ec94065a6a560a7a5 Mon Sep 17 00:00:00 2001 From: Michael Opdenacker Date: Wed, 9 Nov 2022 04:29:33 -1000 Subject: bitbake-user-manual: details about variable flags starting with underscore Fixes [YOCTO #14140] Signed-off-by: Michael Opdenacker Signed-off-by: Richard Purdie (cherry picked from commit 0f3e9d87168813ce49995ff04bccdce11c5f7b47) Signed-off-by: Steve Sakoman Signed-off-by: Richard Purdie --- doc/bitbake-user-manual/bitbake-user-manual-metadata.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst b/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst index b533d9dc0..b7c3d8091 100644 --- a/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst +++ b/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst @@ -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 -------------------------------- -- cgit 1.2.3-korg