From 5c8cef6207a3ce1a8a70344267b1aec738fabfea Mon Sep 17 00:00:00 2001 From: Alexander Kanavin Date: Thu, 21 Nov 2024 13:32:26 +0100 Subject: ref-manual: merge two separate descriptions of RECIPE_UPGRADE_EXTRA_TASKS The second description was added due to confusion over the variable rename in oe-core. (From yocto-docs rev: ff33f7c374c6079af4dc2609e9fb63d705598bc7) Signed-off-by: Alexander Kanavin Reviewed-by: Quentin Schulz Signed-off-by: Antonin Godard (cherry picked from commit b64fb34643343b364705df9c3bd64af91ed9d687) Signed-off-by: Antonin Godard Signed-off-by: Steve Sakoman --- documentation/ref-manual/variables.rst | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'documentation/ref-manual') diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index a28738163c..4ac61af364 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst @@ -7130,11 +7130,6 @@ system and gives an overview of their function and contents. in the ":ref:`ref-manual/devtool-reference:checking on the upgrade status of a recipe`" section. - :term:`RECIPE_UPGRADE_EXTRA_TASKS` - When upgrading a recipe with ``devtool upgrade``, the variable - :term:`RECIPE_UPGRADE_EXTRA_TASKS` specifies a space-delimited list of - tasks to run after the new sources have been unpacked. - :term:`RECIPE_SYSROOT` This variable points to the directory that holds all files populated from recipes specified in :term:`DEPENDS`. As the name indicates, @@ -7165,7 +7160,11 @@ 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` + :term:`RECIPE_UPGRADE_EXTRA_TASKS` + When upgrading a recipe with ``devtool upgrade``, the variable + :term:`RECIPE_UPGRADE_EXTRA_TASKS` specifies a space-delimited list of + tasks to run after the new sources have been unpacked. + 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 -- cgit v1.2.3-54-g00ecf