Skip to contentSkip to conversation

bitbake-user-manual: Documenting BB_CMDLINE

PATCH Superseded Swami 3 participants 3 messages Dec 5, 2025

v6 of 7 Superseded Latest is v7 →

lore
Share & tools
lore

Swami

author
#0 lore raw

PATCH v6 1/1 bitbake-user-manual: Documenting BB_CMDLINE

Add documentation for the internal read-only variable :term:BB_CMDLINE. Fixes [YOCTO #15746]

---
 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..32860ec0c 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`
+      :term:`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
Reviewed-by on v6 1/1
#1 lore raw
Quoted 12 lines · Swami via lists.openembedded.org

Add documentation for the internal read-only variable :term:BB_CMDLINE. Fixes [YOCTO #15746]

---
 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..32860ec0c 100644

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

Quoted 10 lines
doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst +4 -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`
+      :term:`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

Thank you!
Antonin

Signature · 3 lines
Antonin Godard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#2 lore raw
In reply to Swami
Quoted 6 lines

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Swami via lists.openembedded.org
Sent: den 5 december 2025 00:43
To: [email protected]; [email protected]
Cc: [email protected]; Swami <[email protected]>
Subject: [bitbake-devel] [PATCH v6] bitbake-user-manual: Documenting BB_CMDLINE

Change "Documenting" to "Document".

Quoted 4 lines

Add documentation for the internal read-only variable :term:BB_CMDLINE. Fixes [YOCTO #15746]

Git trailers (like Signed-off-by above) are expected to be separated from the rest of the body by an empty line. I would also suggest adding an empty line before the Fixes line.

Quoted 13 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..32860ec0c 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``.

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

Quoted 7 lines
doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst +4 -0
+   :term:`BB_CMDLINE`
+      :term:`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

//Peter