Skip to contentSkip to conversation

ref-manual/variables.rst: document WIC_CREATE_EXTRA_ARGS

PATCH Superseded Trevor Woerner 2 participants 2 messages May 13, 2025

v2 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 ref-manual/variables.rst: document WIC_CREATE_EXTRA_ARGS

Fixes [YOCTO #15509]

---
changes in v2:
- link the phrase "Wic image" to the dev manual's section on creating wic images instead of providing a paragraph at the end to include the link
- remove any reference to a bbclass
- reduce the number of "wic create" phrases

---
 documentation/ref-manual/variables.rst | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
documentation/ref-manual/variables.rst +14 -0
index d17f81036b7d..1ba687820131 100644
@@ -10942,6 +10942,20 @@ system and gives an overview of their function and contents.
       Specifies the timeout in seconds used by the ``watchdog-config`` recipe
       and also by ``systemd`` during reboot. The default is 60 seconds.
 
+   :term:`WIC_CREATE_EXTRA_ARGS`
+      If the :term:`IMAGE_FSTYPES` variable contains "wic", the build
+      will generate a
+      :ref:`Wic image <dev-manual/wic:creating partitioned images using wic>`
+      automatically when BitBake builds an image recipe. As part of this
+      process BitBake will invoke the "`wic create`" command.
+      The `WIC_CREATE_EXTRA_ARGS` variable is placed at the end of this
+      command which allows the user to supply additional arguments.
+
+      One such useful purpose for this mechanism is to add the -D (or
+      --debug) argument to the "`wic create`" command. This increases the
+      amount of debugging information written out to the Wic log during the
+      Wic creation process.
+
    :term:`WIC_SECTOR_SIZE`
       The variable :term:`WIC_SECTOR_SIZE` controls the sector size of Wic
       images. In the background, this controls the value of the
Signature · 1 line
2.44.0.501.g19981daefd7c
Reviewed-by on v2 1/1
#1 lore raw

Hi Trevor,

Quoted 18 lines · Trevor Woerner via lists.yoctoproject.org

Fixes [YOCTO #15509]

---
changes in v2:
- link the phrase "Wic image" to the dev manual's section on creating wic images instead of providing a paragraph at the end to include the link
- remove any reference to a bbclass
- reduce the number of "wic create" phrases

---
  documentation/ref-manual/variables.rst | 14 ++++++++++++++
  1 file changed, 14 insertions(+)
documentation/ref-manual/variables.rst +0 -0
index d17f81036b7d..1ba687820131 100644

documentation/ref-manual/variables.rst system and gives an overview of their function and contents. · line 10951

Quoted 10 lines
documentation/ref-manual/variables.rst +7 -0
@@ -10942,6 +10942,20 @@ system and gives an overview of their function and contents.
        Specifies the timeout in seconds used by the ``watchdog-config`` recipe
        and also by ``systemd`` during reboot. The default is 60 seconds.
 
+   :term:`WIC_CREATE_EXTRA_ARGS`
+      If the :term:`IMAGE_FSTYPES` variable contains "wic", the build
+      will generate a
+      :ref:`Wic image <dev-manual/wic:creating partitioned images using wic>`
+      automatically when BitBake builds an image recipe. As part of this
+      process BitBake will invoke the "`wic create`" command.
+      The `WIC_CREATE_EXTRA_ARGS` variable is placed at the end of this

:term:WIC_CREATE_EXTRA_ARGS

documentation/ref-manual/variables.rst system and gives an overview of their function and contents. · line 10955

Quoted 4 lines
documentation/ref-manual/variables.rst +4 -0
+      command which allows the user to supply additional arguments.
+
+      One such useful purpose for this mechanism is to add the -D (or
+      --debug) argument to the "`wic create`" command. This increases the

I would tickquote -D and --debug here.

Looks good to me otherwise:

Thanks!
Quentin