Skip to content

Commit

Permalink
README.rst: discourage to use rauc-native from DEPLOYDIR
Browse files Browse the repository at this point in the history
In master, with commit 79554c6 ("rauc-native: do not deploy tool
anymore") support for running rauc from DEPLOYDIR was removed.

Let's keep it in kirkstone to not break existing workflows, but
discourage to use it and document the proper oe-run-native approach
instead.

Signed-off-by: Enrico Jörns <[email protected]>
  • Loading branch information
ejoerns committed May 25, 2024
1 parent 1ce8460 commit 731cc83
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,15 @@ other layers needed. e.g.::
II. Building RAUC Host Tool
===========================

If you only intend to build the RAUC host tool, you may simply run::
If you intend to build and use RAUC as a host tool from you BSP, e.g. for
calling ``rauc info`` on your built bundle, simply run::

bitbake rauc-native
bitbake rauc-native -caddto_recipe_sysroot
oe-run-native rauc-native rauc info --keyring=/path/to/keyring.pem tmp/deploy/images/<machine>/<bundle-name>.raucb

This will place the rauc binary at ``tmp/deploy/tools/rauc``.
For kirkstone still supported but not recommended is to run ``bitbake
rauc-native`` and use the binary from ``tmp/deploy/tools/rauc`` (together with
the possibly not-matching host libraries).

If you need to execute the ``casync`` host tool manually, you can do this by running::

Expand Down

0 comments on commit 731cc83

Please sign in to comment.