diff mbox series

[v3] bitbake-user-manual: Documenting BB_CMDLINE

Message ID 20251203085540.18826-1-swami310@gmail.com
State New
Headers show
Series [v3] bitbake-user-manual: Documenting BB_CMDLINE | expand

Commit Message

Swami Dec. 3, 2025, 8:55 a.m. UTC
Add documentation for the internal read-only variable :term:'BB_CMDLINE'.
Fixes [YOCTO #15746]
Signed-off-by: Swaminathan K <swami310@gmail.com>
---
 doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Michael Opdenacker Dec. 3, 2025, 10:51 a.m. UTC | #1
Hi Swami

Thanks for this update!

On 12/3/25 09:55, Swami wrote:
> Add documentation for the internal read-only variable :term:'BB_CMDLINE'.
> Fixes [YOCTO #15746]
> Signed-off-by: Swaminathan K <swami310@gmail.com>
> ---
>   doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst | 4 ++++
>   1 file changed, 4 insertions(+)
>
> diff --git a/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst b/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst
> index 734c7858a..f756c436d 100644
> --- a/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst
> +++ b/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst
> @@ -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.


Two more issues:

  * You need backquotes around the second instance of BB_CMDLINE, just
    like in the first line. Otherwise, the reference is not created.
  * There is a missing space between "read-only." and "It"

It's almost good!
Thanks
Michael.
diff mbox series

Patch

diff --git a/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst b/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst
index 734c7858a..f756c436d 100644
--- a/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst
+++ b/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst
@@ -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