Skip to contentSkip to conversation

ref-manual: merge two separate descriptions of RECIPE_UPGRADE_EXTRA_TASKS

PATCH In review Alexander Kanavin 2 participants 5 messages Nov 21, 2024

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/3 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 v2 2/3 ref-manual: document ZSTD_COMPRESSION_LEVEL

---
 documentation/ref-manual/variables.rst | 5 +++++
 1 file changed, 5 insertions(+)
documentation/ref-manual/variables.rst +5 -0
index 30887f12c..ec4d7ab73 100644
@@ -10247,6 +10247,11 @@ system and gives an overview of their function and contents.
       memory and become problematic with parallelism elsewhere in the build.
       "50%" has been found to be a good value.
 
+   :term:`ZSTD_COMPRESSION_LEVEL`
+      Specifies the compression level to be used with ZStandard compression
+      (from ``1`` to ``19``, set to ``3`` by default, following upstream choice).
+      Higher levels produce smaller files, but take longer to complete.
+
    :term:`ZSTD_THREADS`
       Specifies the number of parallel threads that should be used when
       using ZStandard compression.
Signature · 1 line
2.39.5
#3 lore raw

PATCH v2 3/3 migration-guides: document ZSTD_COMPRESSION_LEVEL change

In reply to Alexander Kanavin
---
 documentation/migration-guides/migration-5.2.rst | 3 +++
 1 file changed, 3 insertions(+)
documentation/migration-guides/migration-5.2.rst +3 -0
index 73d52460f..7b35e7721 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