All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4] bitbake-user-manual: Documenting BB_CMDLINE
@ 2025-12-03 11:39 Swami
  2025-12-03 14:36 ` Michael Opdenacker
  2025-12-03 15:54 ` [bitbake-devel] " Quentin Schulz
  0 siblings, 2 replies; 3+ messages in thread
From: Swami @ 2025-12-03 11:39 UTC (permalink / raw)
  To: bitbake-devel, docs; +Cc: michael.opdenacker, Swami

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..f49ce0f9f 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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH v4] bitbake-user-manual: Documenting BB_CMDLINE
  2025-12-03 11:39 [PATCH v4] bitbake-user-manual: Documenting BB_CMDLINE Swami
@ 2025-12-03 14:36 ` Michael Opdenacker
  2025-12-03 15:54 ` [bitbake-devel] " Quentin Schulz
  1 sibling, 0 replies; 3+ messages in thread
From: Michael Opdenacker @ 2025-12-03 14:36 UTC (permalink / raw)
  To: Swami; +Cc: michael.opdenacker, bitbake-devel, docs

Hi Swami

Thanks for the update and your patience :)

On 12/3/25 12:39, 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..f49ce0f9f 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


Looks all good to me.
Reviewed-by: Michael Opdenacker <michael.opdenacker@rootcommit.com>

-- 
Michael Opdenacker
Root Commit
Yocto Project and OpenEmbedded Training course - Learn by doing:
https://rootcommit.com/training/yocto/



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [bitbake-devel] [PATCH v4] bitbake-user-manual: Documenting BB_CMDLINE
  2025-12-03 11:39 [PATCH v4] bitbake-user-manual: Documenting BB_CMDLINE Swami
  2025-12-03 14:36 ` Michael Opdenacker
@ 2025-12-03 15:54 ` Quentin Schulz
  1 sibling, 0 replies; 3+ messages in thread
From: Quentin Schulz @ 2025-12-03 15:54 UTC (permalink / raw)
  To: swami310, bitbake-devel, docs; +Cc: michael.opdenacker

Hi Swami,

On 12/3/25 12:39 PM, Swami via lists.openembedded.org wrote:
> [You don't often get email from swami310=gmail.com@lists.openembedded.org. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]
> 
> 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..f49ce0f9f 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.
> +

This is inconsistent with the indentation on the rest of the file, we 
align with three whitespaces. So here the second and third line you're 
adding should have six whitespaces to start with and not eight like in 
this patch. Would be best to have it fixed, but the generated file isn't 
impacted by this, so not a blocker IMO.

The content makes sense to me after reading the code, so

Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>

Thanks!
Quentin


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-12-03 15:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-03 11:39 [PATCH v4] bitbake-user-manual: Documenting BB_CMDLINE Swami
2025-12-03 14:36 ` Michael Opdenacker
2025-12-03 15:54 ` [bitbake-devel] " Quentin Schulz

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.