Skip to contentSkip to conversation

ref-manual: merge two separate descriptions of RECIPE_UPGRADE_EXTRA_TASKS

PATCH Superseded Alexander Kanavin 2 participants 4 messages Nov 21, 2024

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 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.

---
 documentation/ref-manual/variables.rst | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)
documentation/ref-manual/variables.rst +5 -6
index 43f4d7966..30887f12c 100644
@@ -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
Signature · 1 line
2.39.5
#1 lore raw

PATCH 2/2 migration-guides: document ZSTD_COMPRESSION_LEVEL change

---
 documentation/migration-guides/migration-5.2.rst | 3 +++
 1 file changed, 3 insertions(+)
documentation/migration-guides/migration-5.2.rst +3 -0
index 73d52460f..99330a0b9 100644
@@ -57,3 +57,6 @@ The following classes have been removed in this release:
 
 Miscellaneous changes
 ~~~~~~~~~~~~~~~~~~~~~
+
+- :term:`ZSTD_COMPRESSION_LEVEL` is now a plain integer number instead of a dash-prefixed 
+command-line option (e.g. it should be set to ``3`` rather than ``-3``). 
Signature · 1 line
2.39.5
#2 lore raw

Re: [docs] [PATCH 2/2] migration-guides: document ZSTD_COMPRESSION_LEVEL change

Hi Alex,

Quoted 10 lines · Alexander Kanavin via lists.yoctoproject.org
---
  documentation/migration-guides/migration-5.2.rst | 3 +++
  1 file changed, 3 insertions(+)
documentation/migration-guides/migration-5.2.rst +0 -0
index 73d52460f..99330a0b9 100644

documentation/migration-guides/migration-5.2.rst The following classes have been removed in this release: · line 61

Quoted 5 lines
documentation/migration-guides/migration-5.2.rst +2 -0
@@ -57,3 +57,6 @@ The following classes have been removed in this release:
 
  Miscellaneous changes
  ~~~~~~~~~~~~~~~~~~~~~
+
+- :term:`ZSTD_COMPRESSION_LEVEL` is now a plain integer number instead of a dash-prefixed

standards.md says we want two white spaces after the dash for lists.

ZSTD_COMPRESSION_LEVEL is not yet documented so :term: cannot be used here. Either remove :term:, or better yet, add an entry to the glossary for it :)

documentation/migration-guides/migration-5.2.rst The following classes have been removed in this release: · line 62

Quoted 1 line
documentation/migration-guides/migration-5.2.rst +1 -0
+command-line option (e.g. it should be set to ``3`` rather than ``-3``).

Please align with the first character of the first sentence in the bulleted list (so three spaces).

Looks good to me otherwise,

Thanks for sending the update!

Cheers,
Quentin

Reviewed-by on v1 1/2
#3 lore raw
In reply to Alexander Kanavin

Hi Alex,

Quoted 3 lines · Alexander Kanavin via lists.yoctoproject.org

The second description was added due to confusion over the variable rename in oe-core.

Commit doing that rename in poky: 18e4194539f33e4d702144ae7ad92875f0bbe41b

The introduction of RECIPE_UPDATE_EXTRA_TASKS was done in styhead and the rename as well. So candidate for backporting and no need for an entry in the migration manual I believe.

Thanks!
Quentin