Skip to contentSkip to conversation

Documenting BB_CMDLINE

PATCH In review [email protected] 2 participants 2 messages Dec 2, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Documenting BB_CMDLINE

Upstream-Status: Submitted

---
 doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst | 4 ++++
 1 file changed, 4 insertions(+)
doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst +4 -0
index 734c7858a..5e14e40b4 100644
@@ -116,6 +116,10 @@ overview of their function and contents.
       Specifies if SSL certificates should be checked when fetching. The default
       value is ``1`` and certificates are not checked if the value is set to ``0``.
 
+   :term:`BB_CMDLINE`
+        BB_CMDLINE is an internal variable and is read-only. It captures the exact
+        command line used for the current invocation of bitbake 
+      
    :term:`BB_HASH_CODEPARSER_VALS`
       Specifies values for variables to use when populating the codeparser cache.
       This can be used selectively to set dummy values for variables to avoid
#1 lore raw

Hi Swaminathan K,

Thanks for the patch, I'm glad you were able to find out how to send your patch.

Quoted 1 line · Swami via lists.openembedded.org

Please write a commit message body, even if it's short sentence.

Also include the bug number ID in the commit message body:

"""
Fixes [YOCTO #15746]
"""

Quoted 1 line

Upstream-Status: Submitted

No need to include the Upstream-Status here. This must be included for patches
applied to recipes in OpenEmbedded-Core (e.g. https://git.openembedded.org/openembedded-core/tree/meta/recipes-support/numactl/numactl/0001-define-run-test-target.patch#n6).

I guess the contributor guide might be confusing regarding this point, so I will try to make clearer.

Quoted 9 lines
---
 doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst | 4 ++++
 1 file changed, 4 insertions(+)
doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst +0 -0
index 734c7858a..5e14e40b4 100644

doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst overview of their function and contents. · line 120

Quoted 5 lines
doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst +2 -0
@@ -116,6 +116,10 @@ overview of their function and contents.
       Specifies if SSL certificates should be checked when fetching. The default
       value is ``1`` and certificates are not checked if the value is set to ``0``.
 
+   :term:`BB_CMDLINE`
+        BB_CMDLINE is an internal variable and is read-only. It captures the exact

Please wrap BB_CMDLINE with :term:, like this:

"""
:term:BB_CMDLINE is an internal...
"""

doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst overview of their function and contents. · line 121

Quoted 1 line
doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst +1 -0
+        command line used for the current invocation of bitbake 

s/bitbake/BitBake/

Otherwise, the sentence is missing a period, and has a trailing whitespace.

Thanks,
Antonin

Signature · 3 lines
Antonin Godard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com