@@ -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
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 <antonin.godard@bootlin.com> --- documentation/dev-manual/wic.rst | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+)