From 41780c62d257f626c7d6be16b80bb1ed97954505 Mon Sep 17 00:00:00 2001 From: Tim Orling Date: Sun, 2 Jun 2024 14:00:40 -0700 Subject: 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 Signed-off-by: Richard Purdie --- documentation/ref-manual/variables.rst | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'documentation') diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index 88c3602e66..16b449d6b7 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst @@ -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. -- cgit v1.2.3-54-g00ecf