[PATCH 08/11] dev-manual/wic.rst: add a requirement to use wic from the build system
Antonin Godard <[email protected]> Thu, 25 Jun 2026 11:33:35 +0200
| Newsgroups | org.yoctoproject.lists.docs |
|---|---|
| Message-ID | <[email protected]> |
Since wic is no longer part of OE-Core since [1], we have to use wic from the build system instead, which can be done by following few steps, finally creating an alias, so that the commands from this document remain valid. [1]: https://git.openembedded.org/openembedded-core/commit/?id=25ca1cb46dd6d0c57f61f2dc3b649601dc81b50c Signed-off-by: Antonin Godard <[email protected]> --- documentation/dev-manual/wic.rst | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/documentation/dev-manual/wic.rst b/documentation/dev-manual/wic.rst index 5fc7759f8..980f5197c 100644 --- a/documentation/dev-manual/wic.rst +++ b/documentation/dev-manual/wic.rst @@ -75,6 +75,29 @@ system needs to meet the following requirements: going to run ``bitbake`` commands. See :ref:`dev-manual/start:Initializing the Build Environment` for more details. +- Make the ``wic`` command-line tool available in your shell: + + #. Run the following command first: + + .. code-block:: console + + $ bitbake wic-native -c addto_recipe_sysroot + + #. Check if you can use the ``wic`` utility using ``oe-run-native``: + + .. code-block:: console + + $ oe-run-native wic-native wic --help + + #. Define a local alias for the above command: + + .. code-block:: console + + $ alias wic="oe-run-native wic-native wic" + + This will make it possible to use ``wic`` from the :term:`OpenEmbedded + Build System` transparently below. + - You need to have the build artifacts already available, which typically means that you must have already created an image using the OpenEmbedded build system (e.g. ``core-image-minimal``). While it -- 2.54.0