ref-manual: add RECIPE_UPDATE_EXTRA_TASKS variable

Document the new RECIPE_UPDATE_EXTRA_TASKS variable
and give cargo-update-recipe-crates as a concrete
example.

(From yocto-docs rev: 9cc4e395571dcef58d9d8545c08d9fdf8070bb32)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Tim Orling 2024-06-02 14:00:40 -07:00 committed by Richard Purdie
parent 5020a0f560
commit 41780c62d2

View File

@ -7086,6 +7086,13 @@ system and gives an overview of their function and contents.
The default value is ``"${WORKDIR}/recipe-sysroot-native"``.
Do not modify it.
:term:`RECIPE_UPDATE_EXTRA_TASKS`
For some recipes, after the new source has been unpacked, additional tasks
may need to be run during an upgrade. A good example of this is recipes
which inherit :ref:`ref-classes-cargo-update-recipe-crates`, where the
`do_update_crates` task needs to be run whenever Cargo.toml/Cargo.lock have
changed in the source.
:term:`REPODIR`
See :term:`bitbake:REPODIR` in the BitBake manual.