Updates for 5.3
v2 cover Updates for 5.3
Update the documentation and release notes for 5.3, covering changes from bd4625cd4db0 ("build-appliance-image: Update to master head revision") to 4a1f38dd8db1 ("bitbake: knotty, uihelper: Remove running_pids and lastpids") in Poky.
Note: this is based on the current master-next as it requires the uboot-config changes.
---
Changes in v2:
- Corrections based on the comments of v1. Thanks Paul and Quentin!
- Drop the FIT_LINUX_BIN patch for now as it may be reverted on OE-Core.
- Remove mention of IMAGE_EXTRA_PARTITION_FILES for now as a v2 will be
sent.
- Link to v1: https://lore.kernel.org/r/20251016-release-note-5-3-second-hunk-v1-0-20f21db1f93c@bootlin.com
---
Antonin Godard (16):
ref-manual/qa-checks.rst: drop var-undefined ref-manual/features.rst: add new opencl feature ref-manual/classes.rst: document the python_pdm class ref-manual/classes.rst: ccache: mention that the host's ccache can be used ref-manual/classes,variables: document the CCACHE_DISABLE variable ref-manual/variables.rst: document the REQUIRED_TUNE_FEATURES variable ref-manual/variables.rst: document the REQUIRED_MACHINE_FEATURES variable ref-manual/variables.rst: document the REQUIRED_COMBINED_FEATURES variable ref-manual/variables.rst: document the REQUIRED_IMAGE_FEATURES variable ref-manual/variables.rst: document the USE_NLS variable ref-manual/classes.rst: gettext: extend the documentation of the class ref-manual/classes.rst: document the rust-target-config class ref-manual/features.rst: add entry for the coresight machine feature ref-manual/classes.rst: document the relative_symlinks class
ref-manual: document UBOOT_MAKE_OPTS migration-guides/release-notes-5.3: updates
documentation/migration-guides/migration-5.3.rst | 47 ++- .../migration-guides/release-notes-5.3.rst | 331 +++++++++++++++++++-- documentation/ref-manual/classes.rst | 80 ++++- documentation/ref-manual/features.rst | 8 + documentation/ref-manual/qa-checks.rst | 11 - documentation/ref-manual/variables.rst | 66 ++++ 6 files changed, 500 insertions(+), 43 deletions(-)
---
base-commit: 3bbd85798f4c9a8b7f930e9f156cf6e970593da0
change-id: 20250929-release-note-5-3-second-hunk-bc19bcedd8cb
Best regards,
Signature · 1 line
Antonin Godard <[email protected]>
PATCH v2 1/16 ref-manual/qa-checks.rst: drop var-undefined
Drop the var-undefined after it was dropped in OE-Core cb69d7eba802 ("package: Drop var-undefined QA check").
--- documentation/ref-manual/qa-checks.rst | 11 ----------- 1 file changed, 11 deletions(-)
documentation/ref-manual/qa-checks.rst +0 -11
@@ -983,17 +983,6 @@ message, it indicates that the :ref:`ref-tasks-install` step (or perhaps the bui of the variables set up for this (``bindir``, ``sbindir``, etc.), and should be changed so that it does. -.. _qa-check-var-undefined: - -``var-undefined`` ------------------ - -- ``WORKDIR, DEPLOY_DIR, D, PN and PKGD all must be defined, unable to package [var-undefined]`` - - Reports when variables fundamental to packaging (i.e. :term:`WORKDIR`, - :term:`DEPLOY_DIR`, :term:`D`, :term:`PN`, and :term:`PKGD`) are undefined - during :ref:`ref-tasks-package`. - .. _qa-check-version-going-backwards: ``version-going-backwards``
Signature · 1 line
2.51.0
Re: [docs] [PATCH v2 01/16] ref-manual/qa-checks.rst: drop var-undefined
Hi Antonin,
Quoted 3 lines · Antonin Godard via lists.yoctoproject.org
Drop the var-undefined after it was dropped in OE-Core
cb69d7eba802("package: Drop var-undefined QA check").
Indeed,
Thanks!
Quentin
PATCH v2 2/16 ref-manual/features.rst: add new opencl feature
In reply to Antonin GodardAdded by commit 3061d6061e74 ("mesa: add opencl DISTRO_FEATURE") in OE-Core.
--- documentation/ref-manual/features.rst | 3 +++ 1 file changed, 3 insertions(+)
documentation/ref-manual/features.rst +3 -0
@@ -180,6 +180,9 @@ metadata, as extra layers can define their own: - *nls:* Include National Language Support (NLS). +- *opencl:* Include support for the :wikipedia:`OpenCL (Open Computing + Language) <OpenCL>` framework. + - *opengl:* Include the Open Graphics Library, which is a cross-language, multi-platform application programming interface used for rendering two and three-dimensional graphics.
Signature · 1 line
2.51.0
Re: [docs] [PATCH v2 02/16] ref-manual/features.rst: add new opencl feature
Hi Antonin,
Quoted 3 lines · Antonin Godard via lists.yoctoproject.org
Added by commit
3061d6061e74("mesa: add openclDISTRO_FEATURE") in OE-Core.
Thanks!
Quentin
PATCH v2 3/16 ref-manual/classes.rst: document the python_pdm class
In reply to Antonin GodardThis class was added by commit 20758865e9e0 ("classes/python_pdm: add PEP517 build class for PDM") in OE-Core.
--- documentation/ref-manual/classes.rst | 10 ++++++++++ 1 file changed, 10 insertions(+)
documentation/ref-manual/classes.rst +10 -0
@@ -2174,6 +2174,16 @@ meson-python build system. Internally this uses the :ref:`ref-classes-python_pep517` class. +.. _ref-classes-python_pdm: + +``python_pdm`` +================= + +The :ref:`ref-classes-python_pdm` class adds support for building Python +packages with the `PDM <https://pdm-project.org/>`__ package and dependency manager. +This class adds ``python3-pdm-backend-native`` to the recipe's build-time +dependencies. + .. _ref-classes-python_pep517: ``python_pep517``
Signature · 1 line
2.51.0
Re: [docs] [PATCH v2 03/16] ref-manual/classes.rst: document the python_pdm class
Hi Antonin,
Quoted 14 lines · Antonin Godard via lists.yoctoproject.org
This class was added by commit
20758865e9e0("classes/python_pdm: add PEP517 build class for PDM") in OE-Core.Signed-off-by Antonin Godard <[email protected]>--- documentation/ref-manual/classes.rst | 10 ++++++++++ 1 file changed, 10 insertions(+)documentation/ref-manual/classes.rst +0
-0@@ -2174,6 +2174,16 @@ meson-python build system.
documentation/ref-manual/classes.rst meson-python build system. · line 2184
Quoted 10 lines
documentation/ref-manual/classes.rst +8
-0Internally this uses the :ref:`ref-classes-python_pep517` class. +.. _ref-classes-python_pdm: + +``python_pdm`` +================= + +The :ref:`ref-classes-python_pdm` class adds support for building Python +packages with the `PDM <https://pdm-project.org/>`__ package and dependency manager. +This class adds ``python3-pdm-backend-native`` to the recipe's build-time
If you want a visual newline between the first and second sentence, you need a newline between them in rST otherwise it'll be part of the same paragraph.
Considering the flit class states that it internally uses the python-pep517 class and that the python_pdm class does as well, should we specify it in the documentation as well?
Cheers,
Quentin
PATCH v2 4/16 ref-manual/classes.rst: ccache: mention that the host's ccache can be used
In reply to Antonin GodardThis feature was added by commit cc91a0f6500e ("ccache: enable ccache for all recipes if it is in HOSTTOOLS") in OE-Core.
--- documentation/ref-manual/classes.rst | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-)
documentation/ref-manual/classes.rst +11 -2
@@ -392,8 +392,17 @@ file for details about how to enable this mechanism in your configuration file, how to disable it for specific recipes, and how to share ``ccache`` files between builds. -However, using the class can lead to unexpected side-effects. Thus, using -this class is not recommended. +By default, :ref:`ref-classes-native` recipes are not supported by the +:ref:`ref-classes-ccache` class. It is possible to add Ccache support for these +recipes if the following configuration statements are provided from a +:term:`configuration file`, which uses the host's ``ccache`` binary via +:term:`HOSTTOOLS` instead of building ``ccache-native``:: + + ASSUME_PROVIDED += "ccache-native" + HOSTTOOLS += "ccache" + +Using the :ref:`ref-classes-ccache` class can lead to unexpected side-effects. +Using this class is not recommended. .. _ref-classes-chrpath:
Signature · 1 line
2.51.0
Re: [docs] [PATCH v2 04/16] ref-manual/classes.rst: ccache: mention that the host's ccache can be used
Hi Antonin,
Quoted 13 lines · Antonin Godard via lists.yoctoproject.org
This feature was added by commit
cc91a0f6500e("ccache: enable ccache for all recipes if it is in HOSTTOOLS") in OE-Core.Signed-off-by Antonin Godard <[email protected]>--- documentation/ref-manual/classes.rst | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-)documentation/ref-manual/classes.rst +0
-0
documentation/ref-manual/classes.rst file for details about how to enable this mechanism in your configuration · line 399
Quoted 10 lines
documentation/ref-manual/classes.rst +5
-2@@ -392,8 +392,17 @@ file for details about how to enable this mechanism in your configuration file, how to disable it for specific recipes, and how to share ``ccache`` files between builds. -However, using the class can lead to unexpected side-effects. Thus, using -this class is not recommended. +By default, :ref:`ref-classes-native` recipes are not supported by the +:ref:`ref-classes-ccache` class. It is possible to add Ccache support for these +recipes if the following configuration statements are provided from a +:term:`configuration file`, which uses the host's ``ccache`` binary via +:term:`HOSTTOOLS` instead of building ``ccache-native``::"""
Recipes (including :ref:ref-classes-native ones) can make use of the host's ``ccache`` binary (via :term:HOSTTOOLS) if the following configuration statements are provided in a :term:configuration file::
"""
Cheers,
Quentin
PATCH v2 5/16 ref-manual/classes,variables: document the CCACHE_DISABLE variable
In reply to Antonin GodardCan be used in recipes that want to explicitly skip Ccache support when the ccache class is enabled.
--- documentation/ref-manual/classes.rst | 4 ++++ documentation/ref-manual/variables.rst | 5 +++++ 2 files changed, 9 insertions(+)
documentation/ref-manual/classes.rst +4 -0
@@ -401,6 +401,10 @@ recipes if the following configuration statements are provided from a ASSUME_PROVIDED += "ccache-native" HOSTTOOLS += "ccache" +Recipes can also explicitly disable Ccache support even when the +:ref:`ref-classes-ccache` class is enabled, by setting the +:term:`CCACHE_DISABLE` variable to "1". + Using the :ref:`ref-classes-ccache` class can lead to unexpected side-effects. Using this class is not recommended.
documentation/ref-manual/variables.rst +5 -0
@@ -1526,6 +1526,11 @@ system and gives an overview of their function and contents. :term:`CC` The minimal command and arguments used to run the C compiler. + :term:`CCACHE_DISABLE` + When inheriting the :ref:`ref-classes-ccache` class, the + :term:`CCACHE_DISABLE` variable can be set to "1" in a recipe to disable + Ccache support. This is useful when the recipe is known to not support it. + :term:`CCLD` The minimal command and arguments used to run the linker when the C compiler is being used as the linker.
Signature · 1 line
2.51.0
Re: [PATCH v2 05/16] ref-manual/classes,variables: document the CCACHE_DISABLE variable
Hi Antonin,
Quoted 15 lines · Antonin Godard
Can be used in recipes that want to explicitly skip Ccache support when the ccache class is enabled.
Reviewed-by Quentin Schulz <[email protected]>Signed-off-by Antonin Godard <[email protected]>--- documentation/ref-manual/classes.rst | 4 ++++ documentation/ref-manual/variables.rst | 5 +++++ 2 files changed, 9 insertions(+)documentation/ref-manual/classes.rst +0
-0
documentation/ref-manual/classes.rst recipes if the following configuration statements are provided from a · line 404
Quoted 4 lines
documentation/ref-manual/classes.rst +1
-0@@ -401,6 +401,10 @@ recipes if the following configuration statements are provided from a ASSUME_PROVIDED += "ccache-native" HOSTTOOLS += "ccache" +Recipes can also explicitly disable Ccache support even when the
I think we want to tick-quotes any non-English word? So Ccache? C.f. Project names in documentation/standards.md.
Quoted 11 lines
documentation/ref-manual/classes.rst +3
-0+:ref:`ref-classes-ccache` class is enabled, by setting the +:term:`CCACHE_DISABLE` variable to "1". + Using the :ref:`ref-classes-ccache` class can lead to unexpected side-effects. Using this class is not recommended.documentation/ref-manual/variables.rst +0
-0
documentation/ref-manual/variables.rst system and gives an overview of their function and contents. · line 1533
Quoted 8 lines
documentation/ref-manual/variables.rst +5
-0@@ -1526,6 +1526,11 @@ system and gives an overview of their function and contents. :term:`CC` The minimal command and arguments used to run the C compiler. + :term:`CCACHE_DISABLE` + When inheriting the :ref:`ref-classes-ccache` class, the + :term:`CCACHE_DISABLE` variable can be set to "1" in a recipe to disable + Ccache support. This is useful when the recipe is known to not support it. +
Ditto.
Technically CCACHE_DISABLE is a BitBake boolean, so y, yes, 1 and true (uppercase characters normalized for all) would work.
Thanks!
Quentin
PATCH v2 6/16 ref-manual/variables.rst: document the REQUIRED_TUNE_FEATURES variable
In reply to Antonin GodardVery similar to REQUIRED_DISTRO_FEATURES, added by commit a8ef7339ecb9 ("features_check.bbclass: Add support for required TUNE_FEATURES") in OE-Core.
--- documentation/ref-manual/variables.rst | 9 +++++++++ 1 file changed, 9 insertions(+)
documentation/ref-manual/variables.rst +9 -0
@@ -7886,6 +7886,15 @@ system and gives an overview of their function and contents. the recipe will be skipped, and if the build system attempts to build the recipe then an error will be triggered. + :term:`REQUIRED_TUNE_FEATURES` + When inheriting the :ref:`ref-classes-features_check` class, this variable + identifies tune features that must exist in the current configuration in + order for the :term:`OpenEmbedded Build System` to build the recipe. In + other words, if the :term:`REQUIRED_TUNE_FEATURES` variable lists a + feature that does not appear in :term:`TUNE_FEATURES` within the current + configuration, then the recipe will be skipped, and if the build system + attempts to build the recipe then an error will be triggered. + :term:`REQUIRED_VERSION` If there are multiple versions of a recipe available, this variable determines which version should be given preference.
Signature · 1 line
2.51.0
Re: [docs] [PATCH v2 06/16] ref-manual/variables.rst: document the REQUIRED_TUNE_FEATURES variable
Hi Antonin,
Quoted 4 lines · Antonin Godard via lists.yoctoproject.org
Very similar to
REQUIRED_DISTRO_FEATURES, added by commita8ef7339ecb9("features_check.bbclass: Add support for requiredTUNE_FEATURES") in OE-Core.
Thanks!
Quentin
PATCH v2 7/16 ref-manual/variables.rst: document the REQUIRED_MACHINE_FEATURES variable
In reply to Antonin GodardAdded in OE-Core commit: 5f4875b950ce ("distro_features_check: expand with MACHINE_FEATURES and COMBINED_FEATURES, rename").
--- documentation/ref-manual/variables.rst | 9 +++++++++ 1 file changed, 9 insertions(+)
documentation/ref-manual/variables.rst +9 -0
@@ -7886,6 +7886,15 @@ system and gives an overview of their function and contents. the recipe will be skipped, and if the build system attempts to build the recipe then an error will be triggered. + :term:`REQUIRED_MACHINE_FEATURES` + When inheriting the :ref:`ref-classes-features_check` class, this variable + identifies :term:`MACHINE` features that must exist in the current + configuration in order for the :term:`OpenEmbedded Build System` to build + the recipe. In other words, if the :term:`REQUIRED_MACHINE_FEATURES` variable + lists a feature that does not appear in :term:`MACHINE_FEATURES` within the + current configuration, then the recipe will be skipped, and if the build + system attempts to build the recipe then an error will be triggered. + :term:`REQUIRED_TUNE_FEATURES` When inheriting the :ref:`ref-classes-features_check` class, this variable identifies tune features that must exist in the current configuration in
Signature · 1 line
2.51.0
Re: [PATCH v2 07/16] ref-manual/variables.rst: document the REQUIRED_MACHINE_FEATURES variable
Hi Antonin,
Quoted 14 lines · Antonin Godard
Added in OE-Core commit:
5f4875b950ce("distro_features_check: expand withMACHINE_FEATURESandCOMBINED_FEATURES, rename").Reviewed-by Quentin Schulz <[email protected]>Signed-off-by Antonin Godard <[email protected]>--- documentation/ref-manual/variables.rst | 9 +++++++++ 1 file changed, 9 insertions(+)documentation/ref-manual/variables.rst +0
-0
documentation/ref-manual/variables.rst system and gives an overview of their function and contents. · line 7891
Quoted 6 lines
documentation/ref-manual/variables.rst +3
-0@@ -7886,6 +7886,15 @@ system and gives an overview of their function and contents. the recipe will be skipped, and if the build system attempts to build the recipe then an error will be triggered. + :term:`REQUIRED_MACHINE_FEATURES` + When inheriting the :ref:`ref-classes-features_check` class, this variable + identifies :term:`MACHINE` features that must exist in the current
I'm not sure we should use MACHINE here as that implies at first read that it's related to the MACHINE variable (ok it is at some degree..) instead of MACHINE_FEATURES like explained a few lines below.
Looks good to me otherwise, thus
Thanks!
Quentin
PATCH v2 8/16 ref-manual/variables.rst: document the REQUIRED_COMBINED_FEATURES variable
In reply to Antonin GodardAdded in OE-Core commit: 5f4875b950ce ("distro_features_check: expand with MACHINE_FEATURES and COMBINED_FEATURES, rename").
--- documentation/ref-manual/variables.rst | 10 ++++++++++ 1 file changed, 10 insertions(+)
documentation/ref-manual/variables.rst +10 -0
@@ -7876,6 +7876,16 @@ system and gives an overview of their function and contents. :term:`REPODIR` See :term:`bitbake:REPODIR` in the BitBake manual. + :term:`REQUIRED_COMBINED_FEATURES` + When inheriting the :ref:`ref-classes-features_check` class, this variable + identifies combined features (the intersection of :term:`MACHINE_FEATURES` + and :term:`DISTRO_FEATURES`) that must exist in the current configuration + in order for the :term:`OpenEmbedded Build System` to build the recipe. In + other words, if the :term:`REQUIRED_COMBINED_FEATURES` variable lists a + feature that does not appear in :term:`COMBINED_FEATURES` within the + current configuration, then the recipe will be skipped, and if the build + system attempts to build the recipe then an error will be triggered. + :term:`REQUIRED_DISTRO_FEATURES` When inheriting the :ref:`ref-classes-features_check` class, this variable identifies distribution features that must exist
Signature · 1 line
2.51.0
PATCH v2 9/16 ref-manual/variables.rst: document the REQUIRED_IMAGE_FEATURES variable
In reply to Antonin GodardAdded by commit 96a9702a24a7 ("distro_features_check: expand with IMAGE_FEATURES") in OE-Core.
--- documentation/ref-manual/variables.rst | 17 +++++++++++++++++ 1 file changed, 17 insertions(+)
documentation/ref-manual/variables.rst +17 -0
@@ -7896,6 +7896,23 @@ system and gives an overview of their function and contents. the recipe will be skipped, and if the build system attempts to build the recipe then an error will be triggered. + :term:`REQUIRED_IMAGE_FEATURES` + When inheriting the :ref:`ref-classes-features_check` class, this variable + identifies image features that must exist in the current + configuration in order for the :term:`OpenEmbedded Build System` to build + the recipe. In other words, if the :term:`REQUIRED_IMAGE_FEATURES` variable + lists a feature that does not appear in :term:`IMAGE_FEATURES` within the + current configuration, then the recipe will be skipped, and if the build + system attempts to build the recipe then an error will be triggered. + + Compared to other ``REQUIRED_*_FEATURES`` variables, the + :term:`REQUIRED_IMAGE_FEATURES` varible only targets image recipes, as the + :term:`IMAGE_FEATURES` variable is handled by the :ref:`ref-classes-core-image` + class). However, the :term:`REQUIRED_IMAGE_FEATURES` varible can also be + set from a :term:`Configuration File`, such as a :term:`DISTRO` + configuration file, if the list of required image features should apply to + all images using this :term:`DISTRO`. + :term:`REQUIRED_MACHINE_FEATURES` When inheriting the :ref:`ref-classes-features_check` class, this variable identifies :term:`MACHINE` features that must exist in the current
Signature · 1 line
2.51.0
Re: [docs] [PATCH v2 09/16] ref-manual/variables.rst: document the REQUIRED_IMAGE_FEATURES variable
Hi Antonin,
Quoted 20 lines · Antonin Godard via lists.yoctoproject.org
Added by commit
96a9702a24a7("distro_features_check: expand withIMAGE_FEATURES") in OE-Core.Signed-off-by Antonin Godard <[email protected]>--- documentation/ref-manual/variables.rst | 17 +++++++++++++++++ 1 file changed, 17 insertions(+)documentation/ref-manual/variables.rst +4
-0@@ -7896,6 +7896,23 @@ system and gives an overview of their function and contents. the recipe will be skipped, and if the build system attempts to build the recipe then an error will be triggered. + :term:`REQUIRED_IMAGE_FEATURES` + When inheriting the :ref:`ref-classes-features_check` class, this variable + identifies image features that must exist in the current + configuration in order for the :term:`OpenEmbedded Build System` to build
documentation/ref-manual/variables.rst system and gives an overview of their function and contents. · line 7912
Quoted 10 lines
documentation/ref-manual/variables.rst +10
-0+ the recipe. In other words, if the :term:`REQUIRED_IMAGE_FEATURES` variable + lists a feature that does not appear in :term:`IMAGE_FEATURES` within the + current configuration, then the recipe will be skipped, and if the build + system attempts to build the recipe then an error will be triggered. + + Compared to other ``REQUIRED_*_FEATURES`` variables, the + :term:`REQUIRED_IMAGE_FEATURES` varible only targets image recipes, as the + :term:`IMAGE_FEATURES` variable is handled by the :ref:`ref-classes-core-image` + class). However, the :term:`REQUIRED_IMAGE_FEATURES` varible can also be + set from a :term:`Configuration File`, such as a :term:`DISTRO`
Not sure we should use DISTRO link here or rather use a lowercase "distro" (without the link) which I believe is what we use most over the source code?
Otherwise, looks good to me, thus
Thanks!
Quentin
PATCH v2 10/16 ref-manual/variables.rst: document the USE_NLS variable
In reply to Antonin GodardPart of bitbake.conf, this variable allowing to enable or disable translation was undocumented. Add a entry to the glossary.
--- documentation/ref-manual/variables.rst | 12 ++++++++++++ 1 file changed, 12 insertions(+)
documentation/ref-manual/variables.rst +12 -0
@@ -11075,6 +11075,18 @@ system and gives an overview of their function and contents. the Yocto Project Development Tasks Manual for information on how to use this variable. + :term:`USE_NLS` + Determine if language translations should be built for recipes that can + build them. This variable can be equal to: + + - ``yes``: translations are enabled. + - ``no``: translation are disabled. + + Recipes can use the value of this variable to enable language + translations in their build. Classes such as :ref:`ref-classes-gettext` + use the value of this variable to enable :wikipedia:`Gettext <Gettext>` + support. + :term:`USE_VT` When using :ref:`SysVinit <dev-manual/new-recipe:enabling system services>`,
Signature · 1 line
2.51.0
Re: [docs] [PATCH v2 10/16] ref-manual/variables.rst: document the USE_NLS variable
Hi Antonin,
Quoted 3 lines · Antonin Godard via lists.yoctoproject.org
Part of bitbake.conf, this variable allowing to enable or disable translation was undocumented. Add a entry to the glossary.
Thanks!
Quentin
PATCH v2 11/16 ref-manual/classes.rst: gettext: extend the documentation of the class
In reply to Antonin GodardMention the use of USE_NLS, INHIBIT_DEFAULT_DEPS and the cross-canadian class.
--- documentation/ref-manual/classes.rst | 8 ++++++++ 1 file changed, 8 insertions(+)
documentation/ref-manual/classes.rst +8 -0
@@ -968,6 +968,14 @@ software that uses the GNU ``gettext`` internationalization and localization system. All recipes building software that use ``gettext`` should inherit this class. +This class will configure recipes to build translations *unless*: + +- the :term:`USE_NLS` variable is set to ``no``, or + +- the :term:`INHIBIT_DEFAULT_DEPS` variable is set, unless the recipe inheriting + the :ref:`ref-classes-gettext` class also inherits the + :ref:`ref-classes-cross-canadian` class. + .. _ref-classes-github-releases: ``github-releases``
Signature · 1 line
2.51.0
Re: [docs] [PATCH v2 11/16] ref-manual/classes.rst: gettext: extend the documentation of the class
Hi Antonin,
Quoted 13 lines · Antonin Godard via lists.yoctoproject.org
Mention the use of
USE_NLS,INHIBIT_DEFAULT_DEPSand the cross-canadian class.Signed-off-by Antonin Godard <[email protected]>--- documentation/ref-manual/classes.rst | 8 ++++++++ 1 file changed, 8 insertions(+)documentation/ref-manual/classes.rst +0
-0
documentation/ref-manual/classes.rst software that uses the GNU ``gettext`` internationalization and localization · line 977
Quoted 10 lines
documentation/ref-manual/classes.rst +7
-0@@ -968,6 +968,14 @@ software that uses the GNU ``gettext`` internationalization and localization system. All recipes building software that use ``gettext`` should inherit this class. +This class will configure recipes to build translations *unless*: + +- the :term:`USE_NLS` variable is set to ``no``, or + +- the :term:`INHIBIT_DEFAULT_DEPS` variable is set, unless the recipe inheriting + the :ref:`ref-classes-gettext` class also inherits the + :ref:`ref-classes-cross-canadian` class.
I find two unless in a row difficult to parse, I can suggest:
"""
- the :term:INHIBIT_DEFAULT_DEPS variable is set and the recipe inheriting the :ref:ref-classes-gettext class does not also inherit the :ref:ref-classes-cross-canadian class. """
Looks good otherwise, thus:
Thanks!
Quentin
PATCH v2 12/16 ref-manual/classes.rst: document the rust-target-config class
In reply to Antonin GodardDocument the rust-target-config class.
--- documentation/ref-manual/classes.rst | 13 +++++++++++++ 1 file changed, 13 insertions(+)
documentation/ref-manual/classes.rst +13 -0
@@ -2637,6 +2637,19 @@ The :ref:`ref-classes-rust-common` class is an internal class to the :ref:`ref-classes-cargo_common` and :ref:`ref-classes-rust` classes and is not intended to be used directly. +.. _ref-classes-rust-target-config: + +``rust-target-config`` +====================== + +The :ref:`ref-classes-rust-target-config` class is an internal class to the +:ref:`ref-classes-cargo_common` and :ref:`ref-classes-rust` classes and is not +intended to be used directly. + +It is used to generate a JSON specification file from the features listed in +:term:`TUNE_FEATURES`, which is used for cross-compiling. The logic is done in a +``do_rust_gen_targets`` task. + .. _ref-classes-sanity: ``sanity``
Signature · 1 line
2.51.0
PATCH v2 13/16 ref-manual/features.rst: add entry for the coresight machine feature
In reply to Antonin GodardAdded by commit c455bd039104 ("perf: enable coresight if enabled in MACHINE_FEATURES") in OE-Core.
--- documentation/ref-manual/features.rst | 5 +++++ 1 file changed, 5 insertions(+)
documentation/ref-manual/features.rst +5 -0
@@ -54,6 +54,11 @@ Project metadata: - *bluetooth:* Hardware has integrated BT +- *coresight*: Support for the `Coresight + <https://docs.kernel.org/trace/coresight/coresight.html>`__ Linux Kernel + feature on Arm processors. This feature depends on the ``opencsd`` recipe + which is present in the :yocto_git:`meta-arm </meta-arm>` :term:`layer`. + - *efi:* Support for booting through EFI - *ext2:* Hardware HDD or Microdrive
Signature · 1 line
2.51.0
Re: [docs] [PATCH v2 13/16] ref-manual/features.rst: add entry for the coresight machine feature
Hi Antonin,
Quoted 13 lines · Antonin Godard via lists.yoctoproject.org
Added by commit
c455bd039104("perf: enable coresight if enabled inMACHINE_FEATURES") in OE-Core.Signed-off-by Antonin Godard <[email protected]>--- documentation/ref-manual/features.rst | 5 +++++ 1 file changed, 5 insertions(+)documentation/ref-manual/features.rst +0
-0
documentation/ref-manual/features.rst Project metadata: · line 57
Quoted 4 lines
documentation/ref-manual/features.rst +1
-0@@ -54,6 +54,11 @@ Project metadata: - *bluetooth:* Hardware has integrated BT +- *coresight*: Support for the `Coresight
colon should be before the asterisk (that is ":*" instead of "*:" to match the other items in the list).
documentation/ref-manual/features.rst Project metadata: · line 61
Quoted 4 lines
documentation/ref-manual/features.rst +4
-0+ <https://docs.kernel.org/trace/coresight/coresight.html>`__ Linux Kernel + feature on Arm processors. This feature depends on the ``opencsd`` recipe + which is present in the :yocto_git:`meta-arm </meta-arm>` :term:`layer`. +
I think this is a mistake, we (oe-core/poky) shouldn't "depend" on features defined in other layers. (The PACKAGECONFIG is fine, not the filtering on MACHINE_FEATURES). But eh, it's merged so we need to document it :)
With the small typo fix above,
Thanks!
Quentin
PATCH v2 14/16 ref-manual/classes.rst: document the relative_symlinks class
In reply to Antonin GodardAdded by commit e478550c8cd8 ("openssl/fontconfig/bzip2: Use relative symlinks instead of absolute ones (using a new class)") in OE-Core.
--- documentation/ref-manual/classes.rst | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+)
documentation/ref-manual/classes.rst +19 -0
@@ -2497,6 +2497,25 @@ The :ref:`ref-classes-recipe_sanity` class checks for the presence of any host s recipe prerequisites that might affect the build (e.g. variables that are set or software that is present). +.. _ref-classes-relative_symlinks: + +``relative_symlinks`` +===================== + +The :ref:`ref-classes-relative_symlinks` class walks the symbolic links in the +:term:`D` directory and replaces links pointing to absolute paths to relative +paths. This is occasionally used in some recipes that create wrong symbolic +links when their :ref:`ref-classes-native` version is built, and/or would cause +breakage in the :ref:`overview-manual/concepts:shared state cache`. + +For example, if the following symbolic link is found in :term:`D`:: + + /usr/bin/foo -> /sbin/bar + +It is replaced by:: + + /usr/bin/foo -> ../../sbin/bar + .. _ref-classes-relocatable: ``relocatable``
Signature · 1 line
2.51.0
PATCH v2 15/16 ref-manual: document UBOOT_MAKE_OPTS
In reply to Antonin GodardThis variable was added by commit 3338330e0c46 ("u-boot: Add specifying make options as part the config looping") in OE-Core. Document how to use the option in UBOOT_CONFIG.
--- documentation/ref-manual/classes.rst | 13 ++++++------- documentation/ref-manual/variables.rst | 4 ++++ 2 files changed, 10 insertions(+), 7 deletions(-)
documentation/ref-manual/classes.rst +6 -7
@@ -3240,8 +3240,8 @@ There are two ways to configure the recipe for your machine: - Using :term:`UBOOT_CONFIG` variable. For example:: UBOOT_CONFIG ??= "foo bar" - UBOOT_CONFIG[foo] = "config,images,binary" - UBOOT_CONFIG[bar] = "config2,images2,binary2" + UBOOT_CONFIG[foo] = "config,images,binary,makeopts" + UBOOT_CONFIG[bar] = "config2,images2,binary2,makeopts2" In this example, all possible configurations are selected (``foo`` and ``bar``), but it is also possible to build only ``foo`` or ``bar`` by
@@ -3272,13 +3272,12 @@ There are two ways to configure the recipe for your machine: u-boot.bin u-boot-with-spl.bin - Setting the ``binary`` value to ``u-boot-with-spl.bin`` will make this - binary the one deployed in :term:`DEPLOY_DIR_IMAGE`. It is renamed to - include the build configuration name in the process (``foo`` or ``bar`` in - the above example). - This option defaults to :term:`UBOOT_BINARY` if unset. + - ``makeopts``: the additional options passed to ``make`` when compiling U-boot + for this configuration entry. The options in this entry are added before + the options in :term:`UBOOT_MAKE_OPTS`. + - Or, using the :term:`UBOOT_MACHINE` variable (and its companion variable :term:`UBOOT_BINARY`). For example::
documentation/ref-manual/variables.rst +4 -0
@@ -10842,6 +10842,10 @@ system and gives an overview of their function and contents. Please see the "Selection of Processor Architecture and Board Type" section in the U-Boot README for valid values for this variable. + :term:`UBOOT_MAKE_OPTS` + The :term:`UBOOT_MAKE_OPTS` variable can be used to pass extra options to + ``make`` when U-boot is compiled. + :term:`UBOOT_MAKE_TARGET` Specifies the target called in the ``Makefile``. The default target is "all".
Signature · 1 line
2.51.0
Re: [docs] [PATCH v2 15/16] ref-manual: document UBOOT_MAKE_OPTS
Hi Antonin,
Quoted 27 lines · Antonin Godard via lists.yoctoproject.org
This variable was added by commit
3338330e0c46("u-boot: Add specifying make options as part the config looping") in OE-Core. Document how to use the option inUBOOT_CONFIG.Signed-off-by Antonin Godard <[email protected]>--- documentation/ref-manual/classes.rst | 13 ++++++------- documentation/ref-manual/variables.rst | 4 ++++ 2 files changed, 10 insertions(+), 7 deletions(-)documentation/ref-manual/classes.rst +2
-2@@ -3240,8 +3240,8 @@ There are two ways to configure the recipe for your machine: - Using :term:`UBOOT_CONFIG` variable. For example:: UBOOT_CONFIG ??= "foo bar" - UBOOT_CONFIG[foo] = "config,images,binary" - UBOOT_CONFIG[bar] = "config2,images2,binary2" + UBOOT_CONFIG[foo] = "config,images,binary,makeopts" + UBOOT_CONFIG[bar] = "config2,images2,binary2,makeopts2" In this example, all possible configurations are selected (``foo`` and ``bar``), but it is also possible to build only ``foo`` or ``bar`` by@@ -3272,13 +3272,12 @@ There are two ways to configure the recipe for your machine: u-boot.bin
documentation/ref-manual/classes.rst There are two ways to configure the recipe for your machine: · line 3277
Quoted 10 lines
documentation/ref-manual/classes.rst +1
-5u-boot-with-spl.bin - Setting the ``binary`` value to ``u-boot-with-spl.bin`` will make this - binary the one deployed in :term:`DEPLOY_DIR_IMAGE`. It is renamed to - include the build configuration name in the process (``foo`` or ``bar`` in - the above example). - This option defaults to :term:`UBOOT_BINARY` if unset. + - ``makeopts``: the additional options passed to ``make`` when compiling U-boot
and configuring. c.f. meta/recipes-bsp/u-boot/u-boot-configure.inc
Quoted 11 lines
documentation/ref-manual/classes.rst +3
-0+ for this configuration entry. The options in this entry are added before + the options in :term:`UBOOT_MAKE_OPTS`. + - Or, using the :term:`UBOOT_MACHINE` variable (and its companion variable :term:`UBOOT_BINARY`). For example::documentation/ref-manual/variables.rst +0
-0
documentation/ref-manual/variables.rst system and gives an overview of their function and contents. · line 10848
Quoted 7 lines
documentation/ref-manual/variables.rst +4
-0@@ -10842,6 +10842,10 @@ system and gives an overview of their function and contents. Please see the "Selection of Processor Architecture and Board Type" section in the U-Boot README for valid values for this variable. + :term:`UBOOT_MAKE_OPTS` + The :term:`UBOOT_MAKE_OPTS` variable can be used to pass extra options to + ``make`` when U-boot is compiled. +
Ditto.
Cheers,
Quentin
PATCH v2 16/16 migration-guides/release-notes-5.3: updates
In reply to Antonin GodardUpdate the release notes and migration manual for 5.3.
This covers commits from bd4625cd4db0 ("build-appliance-image: Update to master head revision") to 4a1f38dd8db1 ("bitbake: knotty, uihelper:
Remove running_pids and lastpids") in Poky.
--- documentation/migration-guides/migration-5.3.rst | 47 ++- .../migration-guides/release-notes-5.3.rst | 331 +++++++++++++++++++-- 2 files changed, 355 insertions(+), 23 deletions(-)
documentation/migration-guides/migration-5.3.rst +44 -3
@@ -134,10 +134,20 @@ To set back the "mac" policy in systemd (version 257.8 at the time of writing this note), you should set the ``NamePolicy`` and ``AlternativeNamesPolicy`` as detailed in :manpage:`systemd.link(5)`. +Removal of unlicensed Linux kernel firmwares +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +By default, the ``linux-firmware`` recipe now excludes firmwares that do not +provide any license information. The recipe holds an internal list of firmwares +to exclude via a variable named ``REMOVE_UNLICENSED``, this variable may be +overridden if unlicensed firmware is needed. See :oe_git:`the recipe +</openembedded-core/tree/meta/recipes-kernel/linux-firmware>` for a complete +overview of the removed firmwares. + Supported kernel versions ~~~~~~~~~~~~~~~~~~~~~~~~~ -The :term:`OLDEST_KERNEL` setting is XXX in this release, meaning that +The :term:`OLDEST_KERNEL` setting is 5.15 in this release, meaning that out the box, older kernels are not supported. See :ref:`4.3 migration notes <migration-4.3-supported-kernel-versions>` for details.
@@ -147,7 +157,9 @@ Supported distributions Compared to the previous releases, running BitBake is supported on new GNU/Linux distributions: -- XXX +- Debian 13 (Trixie) +- Fedora 42 +- Ubuntu 25.04 On the other hand, some earlier distributions are no longer supported:
@@ -174,6 +186,10 @@ The following variables have been removed: :term:`BitBake` invocation and replace it with information about what was built during the build. This was partly broken and hard to maintain. +- ``GPE_MIRROR``: this variable used to contain the + "http://gpe.linuxtogo.org/download/source" URL, but was not used by any + recipe in OE-Core. + Removed recipes ~~~~~~~~~~~~~~~
@@ -195,6 +211,11 @@ The following recipes have been removed in this release: - ``xf86-input-vmmouse``: It has a runtime dependency on ``xf86-input-mouse``, which stopped supporting Linux. +- ``babeltrace``: Removed in favour of ``babeltrace2``. + +- ``cwautomacros``: A long-obsolete set of custom :ref:`ref-classes-autotools` + macros, not used by any other recipe. + Removed :term:`PACKAGECONFIG` entries ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -206,6 +227,8 @@ Removed :term:`PACKAGECONFIG` entries - ``mesa``: ``kmsro``, ``osmesa``, ``xa`` +- ``systemd``: ``dbus`` + Removed classes ~~~~~~~~~~~~~~~
@@ -269,4 +292,22 @@ Miscellaneous changes - ``xserver-xorg``: remove sub-package ``${PN}-xwayland``, as ``xwayland`` is now its own recipe. -- The Wic-specific option ``--extra-space`` has been renamed to ``--extra-filesystem-space``. +- ``gdk-pixbuf``: drop the ``GDK_PIXBUF_LOADERS`` variable, which was part of + the recipe's :term:`PACKAGECONFIG`. Instead the :term:`PACKAGECONFIG` can be + modified directly to achieve the same result. + +- Remove the ``meta/conf/distro/include/distro_alias.inc`` include file, + which associated a recipe name to one or more Distribution package name. + This file is not used and maintained anymore. + +- Remove the ``nghttp2-proxy`` package from the ``nghttp2`` recipe as the + ``nghttp2-proxy`` package became empty after an upgrade that makes it a + library recipe only (due to + :term:`EXTRA_OEMAKE` containing ``-DENABLE_APP=OFF`` by default in the + recipe). + +- Remove the ``util-linux-fcntl-lock`` package (in the ``util-linux`` recipe) as + util-linux now supports the ``--fcntl`` flag for the ``flock`` command. + + Recipes currently using the ``fcntl-lock`` command should replace these by + ``flock --fcntl``.
documentation/migration-guides/release-notes-5.3.rst +311 -20
539 lines not on this page · raw message
Signature · 1 line
2.51.0
Re: [docs] [PATCH v2 16/16] migration-guides/release-notes-5.3: updates
Hi Antonin,
Quoted 20 lines · Antonin Godard via lists.yoctoproject.org
Update the release notes and migration manual for 5.3.
This covers commits from
bd4625cd4db0("build-appliance-image: Update to master head revision") to4a1f38dd8db1("bitbake: knotty, uihelper:
Removerunning_pidsand lastpids") in Poky.Signed-off-by Antonin Godard <[email protected]>--- documentation/migration-guides/migration-5.3.rst | 47 ++- .../migration-guides/release-notes-5.3.rst | 331 +++++++++++++++++++-- 2 files changed, 355 insertions(+), 23 deletions(-)documentation/migration-guides/migration-5.3.rst +0
-0@@ -134,10 +134,20 @@ To set back the "mac" policy in systemd (version 257.8 at the time of writing this note), you should set the ``NamePolicy`` and ``AlternativeNamesPolicy`` as detailed in :manpage:`systemd.link(5)`.
documentation/migration-guides/migration-5.3.rst To set back the "mac" policy in systemd (version 257.8 at the time of writing · line 146
Quoted 10 lines
documentation/migration-guides/migration-5.3.rst +10
-0+Removal of unlicensed Linux kernel firmwares +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +By default, the ``linux-firmware`` recipe now excludes firmwares that do not +provide any license information. The recipe holds an internal list of firmwares +to exclude via a variable named ``REMOVE_UNLICENSED``, this variable may be +overridden if unlicensed firmware is needed. See :oe_git:`the recipe +</openembedded-core/tree/meta/recipes-kernel/linux-firmware>` for a complete +overview of the removed firmwares. +
Ah. Poor choice of variable name here :/ c.f. https://spdx.org/licenses/Unlicense.html
Quoted 64 lines
documentation/migration-guides/migration-5.3.rst +22
-3Supported kernel versions ~~~~~~~~~~~~~~~~~~~~~~~~~ -The :term:`OLDEST_KERNEL` setting is XXX in this release, meaning that +The :term:`OLDEST_KERNEL` setting is 5.15 in this release, meaning that out the box, older kernels are not supported. See :ref:`4.3 migration notes <migration-4.3-supported-kernel-versions>` for details.@@ -147,7 +157,9 @@ Supported distributions Compared to the previous releases, running BitBake is supported on new GNU/Linux distributions: -- XXX +- Debian 13 (Trixie) +- Fedora 42 +- Ubuntu 25.04 On the other hand, some earlier distributions are no longer supported:@@ -174,6 +186,10 @@ The following variables have been removed: :term:`BitBake` invocation and replace it with information about what was built during the build. This was partly broken and hard to maintain. +- ``GPE_MIRROR``: this variable used to contain the + "http://gpe.linuxtogo.org/download/source" URL, but was not used by any + recipe in OE-Core. + Removed recipes ~~~~~~~~~~~~~~~@@ -195,6 +211,11 @@ The following recipes have been removed in this release: - ``xf86-input-vmmouse``: It has a runtime dependency on ``xf86-input-mouse``, which stopped supporting Linux. +- ``babeltrace``: Removed in favour of ``babeltrace2``. + +- ``cwautomacros``: A long-obsolete set of custom :ref:`ref-classes-autotools` + macros, not used by any other recipe. + Removed :term:`PACKAGECONFIG` entries ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~@@ -206,6 +227,8 @@ Removed :term:`PACKAGECONFIG` entries - ``mesa``: ``kmsro``, ``osmesa``, ``xa`` +- ``systemd``: ``dbus`` + Removed classes ~~~~~~~~~~~~~~~@@ -269,4 +292,22 @@ Miscellaneous changes - ``xserver-xorg``: remove sub-package ``${PN}-xwayland``, as ``xwayland`` is now its own recipe. -- The Wic-specific option ``--extra-space`` has been renamed to ``--extra-filesystem-space``. +- ``gdk-pixbuf``: drop the ``GDK_PIXBUF_LOADERS`` variable, which was part of + the recipe's :term:`PACKAGECONFIG`. Instead the :term:`PACKAGECONFIG` can be + modified directly to achieve the same result. + +- Remove the ``meta/conf/distro/include/distro_alias.inc`` include file, + which associated a recipe name to one or more Distribution package name. + This file is not used and maintained anymore.
documentation/migration-guides/migration-5.3.rst Miscellaneous changes · line 311
Quoted 10 lines
documentation/migration-guides/migration-5.3.rst +10
-0+ +- Remove the ``nghttp2-proxy`` package from the ``nghttp2`` recipe as the + ``nghttp2-proxy`` package became empty after an upgrade that makes it a + library recipe only (due to + :term:`EXTRA_OEMAKE` containing ``-DENABLE_APP=OFF`` by default in the + recipe). + +- Remove the ``util-linux-fcntl-lock`` package (in the ``util-linux`` recipe) as + util-linux now supports the ``--fcntl`` flag for the ``flock`` command. +
``util-linux``
Quoted 15 lines
documentation/migration-guides/migration-5.3.rst +2
-0+ Recipes currently using the ``fcntl-lock`` command should replace these by + ``flock --fcntl``.documentation/migration-guides/release-notes-5.3.rst +1
-2@@ -11,10 +11,21 @@ Release notes for |yocto-ver| (|yocto-codename|) New Features / Enhancements in |yocto-ver| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- Linux kernel XXX, gcc 15, glibc XXX, LLVM XXX, and over XXX other +- Linux kernel 6.16, gcc 15, glibc 2.42, LLVM 21.1.1, and over 300 other recipe upgrades. -- Minimum Python version required on the host: XXX.
documentation/migration-guides/release-notes-5.3.rst Release notes for |yocto-ver| (|yocto-codename|) · line 26
Quoted 10 lines
documentation/migration-guides/release-notes-5.3.rst +10
-0+- Minimum Python version required on the host: 3.9. + +- Host requirements changes: + + - The minimum disk space requirement is now 140Gbytes (previously 90Gbytes). + + - The minimum RAM requirement is now 32Gbytes (previously 8Gbytes). + + - These changes are mainly due to recent additions of the LLVM and other + such resource heavy recipes. For guidance on how to limit the resources
"other such resource heavy" sounds odd to my non-native ears. Maybe without "such'?
Quoted 28 lines
documentation/migration-guides/release-notes-5.3.rst +13
-3+ used by the :term:`OpenEmbedded Build System`, see the + :doc:`/dev-manual/limiting-resources` guide. - BitBake changes:@@ -36,10 +47,18 @@ New Features / Enhancements in |yocto-ver| - ``az``: Add sanity check to check that :term:`AZ_SAS` starts with ``?`` to mark the start of the query parameters. - - ``git``: Add the tag to shallow clone tarball name. + - ``git``: + + - Add the tag to shallow clone tarball name. + - Verify if local clones contains a tag, when the ``tag=`` parameter + is used in :term:`SRC_URI`. + + - ``knotty``: + + - Pass failed task logs through the log infrastructure (use + ``bb.plain()`` instead of ``print()``). - - ``knotty``: pass failed task logs through the log infrastructure (use - ``bb.plain()`` instead of ``print()``) + - Improve refresh rate of the footer progress bar. - Add support for automatically promoting class inherits to deferred inherits by listing them in the :term:`BB_DEFER_BBCLASSES` variable.
documentation/migration-guides/release-notes-5.3.rst New Features / Enhancements in |yocto-ver| · line 119
Quoted 9 lines
documentation/migration-guides/release-notes-5.3.rst +6
-0@@ -92,6 +111,17 @@ New Features / Enhancements in |yocto-ver| :term:`BitBake` to specify what to profile. Can be "main", "idle" or "parsing". Split the reports in separate files. + - A "filtering" functionality was added and allows modifying the value of a + variable before its value is returned by :term:`BitBake`. The + ``setVarFilter`` API can be used for applying the filters, but it is + **not** recommended for general use. It was added for internal use in + the :term:`OpenEmbedded Build System` in the :ref:`ref-classes-native` + class. The list of filters that are allows are derived from a select
s/allows/allowed/
Quoted 9 lines
documentation/migration-guides/release-notes-5.3.rst +5
-0+ list of functions that must be added using a ``filter_proc`` decorator. + + - ``tests/parse``: Add tests for ``include``, ``require`` and + ``include_all``. + - Toolchain changes: - The Clang/LLVM toolchain can now be used as part of the build.
documentation/migration-guides/release-notes-5.3.rst New Features / Enhancements in |yocto-ver| · line 141
Quoted 6 lines
documentation/migration-guides/release-notes-5.3.rst +3
-0@@ -106,6 +136,12 @@ New Features / Enhancements in |yocto-ver| The toolchain is also customizable on a per-recipe basis, using the :term:`TOOLCHAIN` and :term:`TOOLCHAIN_NATIVE` variables. + .. warning:: + + The :term:`TOOLCHAIN` should **not** be set globally. For overridding
s/overridding/overriding/
Quoted 7 lines
documentation/migration-guides/release-notes-5.3.rst +3
-0+ the toolchain globally, use :term:`PREFERRED_TOOLCHAIN_TARGET`, + :term:`PREFERRED_TOOLCHAIN_NATIVE` and :term:`PREFERRED_TOOLCHAIN_SDK`. + - Multiple recipes were pinned to use the GCC/Binutils toolchain as they do not support being built with Clang/LLVM yet. In these recipes the :term:`TOOLCHAIN` variable is set to "gcc".
documentation/migration-guides/release-notes-5.3.rst New Features / Enhancements in |yocto-ver| · line 160
Quoted 8 lines
documentation/migration-guides/release-notes-5.3.rst +3
-2@@ -119,14 +155,42 @@ New Features / Enhancements in |yocto-ver| - ``bitbake.conf``: Drop ``lz4`` from :term:`HOSTTOOLS`, as it is not required anymore, and the ``lz4-native`` package is used instead. - - ``conf/fragments``: add a fragment for the CDN :ref:`sstate-cache - <overview-manual/concepts:shared state cache>` mirror. + - :term:`Configuration Fragments <Configuration Fragment>`: + + - Add a fragment for the CDN :ref:`sstate-cache
CDN to follow our stndards.md
Quoted 37 lines
documentation/migration-guides/release-notes-5.3.rst +27
-0+ <overview-manual/concepts:shared state cache>` mirror. + + - Add a ``show-fragments`` sub-command to the + :oe_git:`bitbake-config-build </bitbake/tree/bin/bitbake-config-build>` + utility, to show the content of fragments from command-line. - ``default-distrovars``: set an empty default for :term:`LICENSE_PATH`. - The default definition of :term:`UNPACKDIR` is no longer ``sources-unpack`` but ``sources``. + - The default value for :term:`IMAGE_FSTYPES` (defined in + :oe_git:`bitbake.conf </openembedded-core/tree/meta/conf/bitbake.conf>`) + is now ``tar.zst`` (previously ``tar.gz``). + + - Remove the ``meta/conf/distro/include/distro_alias.inc`` include file, + which associated a recipe name to one or more Distribution package name. + This file is not used and maintained anymore. + + - A new configuration file :ref:`structure-build-conf-toolcfg.conf` is now + used by :oe_git:`bitbake-config-build </bitbake/tree/bin/bitbake-config-build>` + to manage :term:`Configuration Fragments <Configuration Fragment>`. + + - ``bitbake.conf``: add :term:`TMPDIR` to the ``GIT_CEILING_DIRECTORIES`` + Git variable. This avoids Git trying to find a repository higher than + :term:`TMPDIR` in recipes that use the :ref:`structure-build-work-shared` + directory for storing their sources. This fixes reproducibility issues. + + - Changes to the ``genericarm64`` machine configuration: + + - Increase the :term:`Initramfs` maximum size. + - Install extra Linux firmware packages to fix Linux kernel warnings. + - New variables: - The ``VIRTUAL-RUNTIME_dbus`` variable, to allow changing the runtime
documentation/migration-guides/release-notes-5.3.rst New Features / Enhancements in |yocto-ver| · line 229
Quoted 7 lines
documentation/migration-guides/release-notes-5.3.rst +4
-0@@ -159,6 +223,11 @@ New Features / Enhancements in |yocto-ver| deployed filenames. Users can now override :term:`UBOOT_VERSION` to changes the output filenames. + - The :term:`UBOOT_MAKE_OPTS` variable specifies extra options passed to + ``make`` when building U-boot. Extra options can also be passed as the + fourth argument of the :term:`UBOOT_CONFIG` variable. See the + documentation of :ref:`ref-classes-uboot-config` for more details.
+class
Quoted 14 lines
documentation/migration-guides/release-notes-5.3.rst +3
-0+ - Kernel-related changes: - ``linux/generate-cve-exclusions``: use data from CVEProject instead of@@ -186,6 +255,8 @@ New Features / Enhancements in |yocto-ver| - ``linux-yocto``: when built for RISC-V, enable features in :term:`KERNEL_FEATURES` based on features listed in :term:`TUNE_FEATURES`. + - ``perf``: Enable ``coresight`` if enabled in :term:`MACHINE_FEATURES`. + - New core recipes: - ``python3-pdm``, ``python3-pdm-backend`` and ``python3-pdm-build-locked``,
documentation/migration-guides/release-notes-5.3.rst New Features / Enhancements in |yocto-ver| · line 285
Quoted 5 lines
documentation/migration-guides/release-notes-5.3.rst +2
-0@@ -210,6 +281,13 @@ New Features / Enhancements in |yocto-ver| to code blocks in Sphinx. It is part of ``buildtools-docs-tarball`` for later use in the Yocto Project documentation. + - ``python3-coherent-licensed``: License management tooling for Coherent + System and skeleton projects. It became a new dependency of
Coherent System to follow standards.md
Quoted 25 lines
documentation/migration-guides/release-notes-5.3.rst +9
-0+ ``python3-zipp``. + + - ``gn``: a commonly used build tool to generate `ninja + <https://ninja-build.org/>`__ files. + - LLVM/Clang related recipes: - ``clang``: LLVM based C/C++ compiler.@@ -225,11 +303,15 @@ New Features / Enhancements in |yocto-ver| - ``llvm-tblgen-native``: LLVM TableGen binaries for the build host, often used to build LLVM projects. + - ``lld``: the LLVM Linker. + - ``lldb``: LLDB debugger for LLVM projects. - ``llvm-project-source``: canonical git mirror of the LLVM subversion repository. + - ``llvm``: The LLVM Compiler Infrastructure. + - ``openmp``: LLVM OpenMP compiler Runtime. - ``kernel-signing-keys-native``: this recipe is used in the
documentation/migration-guides/release-notes-5.3.rst New Features / Enhancements in |yocto-ver| · line 328
Quoted 5 lines
documentation/migration-guides/release-notes-5.3.rst +2
-0@@ -242,6 +324,9 @@ New Features / Enhancements in |yocto-ver| - ``glvnd``, which enables OpenGL Vendor Neutral Dispatch Library support when using recipes such as ``mesa``. + - ``opencl``: support for the :wikipedia:`Open Machine Language (OpenCL) + <OpenCL>` framework.
Doesn't match what is used in Patch 02/16:
:wikipedia:OpenCL (Open Computing Language) <OpenCL> framework
Quoted 16 lines
documentation/migration-guides/release-notes-5.3.rst +5
-0+ - New core classes: - The new :ref:`ref-classes-kernel-fit-image` class replaces the previous@@ -255,6 +340,10 @@ New Features / Enhancements in |yocto-ver| maintain Go recipes that use a ``BPN-go-mods.inc`` and ``BPN-licenses.inc`` and update these files automatically. + - The new :ref:`ref-classes-python_pdm` class supports building Python + recipes with the `PDM <https://pdm-project.org/>`__ package and dependency + manager. + - Architecture-specific changes: - Rework the RISC-V :term:`TUNE_FEATURES` to make them based of the RISC-V
documentation/migration-guides/release-notes-5.3.rst New Features / Enhancements in |yocto-ver| · line 391
Quoted 4 lines
documentation/migration-guides/release-notes-5.3.rst +1
-0@@ -299,6 +388,16 @@ New Features / Enhancements in |yocto-ver| </openembedded-core/tree/meta/conf/machine/include/riscv/README>` for more information. + - Add support for new Arm64 cores, which are represented as files to be
+CPU ?
documentation/migration-guides/release-notes-5.3.rst New Features / Enhancements in |yocto-ver| · line 400
Quoted 9 lines
documentation/migration-guides/release-notes-5.3.rst +9
-0+ included in :term:`MACHINE` configuration in :term:`OpenEmbedded-Core + (OE-Core)`. The new configuration files are: + + - :oe_git:`conf/machine/include/arm/arch-armv8-7a.inc </openembedded-core/tree/meta/conf/machine/include/arm/arch-armv8-7a.inc>` + - :oe_git:`conf/machine/include/arm/arch-armv8-8a.inc </openembedded-core/tree/meta/conf/machine/include/arm/arch-armv8-8a.inc>` + - :oe_git:`conf/machine/include/arm/arch-armv9-1a.inc </openembedded-core/tree/meta/conf/machine/include/arm/arch-armv9-1a.inc>` + - :oe_git:`conf/machine/include/arm/arch-armv9-2a.inc </openembedded-core/tree/meta/conf/machine/include/arm/arch-armv9-2a.inc>` + - :oe_git:`conf/machine/include/arm/arch-armv9-3a.inc </openembedded-core/tree/meta/conf/machine/include/arm/arch-armv9-3a.inc>` +
Oh... well no then, not CPU. This is the instruction set I believe. Which you are very likely not supposed to use in a MACHINE configuration file but through an intermediate tune configuration file which are CPU specific (well.... on big.LITTLE systems it's a configuration file representing both CPUs, c.f. conf/machine/include/arm/armv8-2a/tune-cortexa76-cortexa55.inc for the Rockchip RK3588(S) which has 4 A76 and 4 A55. Don't ask me how one handles SoC configs with more than two different cores, e.g. Google GS101 with 4 A55, 2 A76 and 2 X1).
documentation/migration-guides/release-notes-5.3.rst New Features / Enhancements in |yocto-ver| · line 411
Quoted 11 lines
documentation/migration-guides/release-notes-5.3.rst +4
-0- ``arch-mips.inc``: Use ``-EB``/``-EL`` for denoting Endianness. - Enable ``riscv32`` as supported arch for ``musl`` systems.@@ -306,6 +405,15 @@ New Features / Enhancements in |yocto-ver| - Powerpc: Use ``-maltivec`` in compiler flags if ``altivec`` is in :term:`TUNE_FEATURES`. + - ``arm``: add a ``nocrypto`` feature to :term:`TUNE_FEATURES` to complement + the ``crypto`` feature to explicitly disable cryptographic extensions via + Gcc flags. +
GCC (capitalized and tick quoted)
documentation/migration-guides/release-notes-5.3.rst New Features / Enhancements in |yocto-ver| · line 416
Quoted 5 lines
documentation/migration-guides/release-notes-5.3.rst +5
-0+ This lead to the creation of two new tunes: + + - ``tune-cortexa72-nocrypto`` + - ``tune-cortexa53-nocrypto`` +
Yup, typically necessary for Raspberry Pi 3 and 4 which do not have a crypto block.
documentation/migration-guides/release-notes-5.3.rst New Features / Enhancements in |yocto-ver| · line 444
Quoted 13 lines
documentation/migration-guides/release-notes-5.3.rst +4
-2- QEMU / ``runqemu`` changes: - Refactor :ref:`ref-classes-qemu` functions into library functions (in@@ -330,19 +438,40 @@ New Features / Enhancements in |yocto-ver| machine's CPU must also be recent enough to support these instructions natively. - - ``runqemu`` can now run compressed images with snapshot mode. For example, - with ``IMAGE_FSTYPES = "... ext4.zst ..."``, you can run:: + - ``runqemu``: + + - The script can now run compressed images with snapshot mode. For + example, with ``IMAGE_FSTYPES = "... ext4.zst ..."``, you can run::
with :term:IMAGE_FSTYPES containing ``ext4.zst``,
documentation/migration-guides/release-notes-5.3.rst New Features / Enhancements in |yocto-ver| · line 448
Quoted 5 lines
documentation/migration-guides/release-notes-5.3.rst +3
-1+ + runqemu snapshot ext4.zst <image-recipe> - runqemu snapshot ext4.zst <image-recipe> + - Add support for the ``erofs`` filesystem types.
s/types// ?
There are multiple ones simply because of the compression?
Quoted 52 lines
documentation/migration-guides/release-notes-5.3.rst +25
-2+ + - The :term:`BitBake` environment is now a requirement, and the script + cannot run without a successful call to ``bitbake -e``. + + The script will also raise an error with the ``bitbake`` command is not + found. - Documentation changes: + - Add documentation on :term:`Configuration Fragments <Configuration + Fragment>`: + + - :doc:`/ref-manual/fragments` + - :doc:`/dev-manual/creating-fragments` + - Part of :term:`BitBake` internals are now documented at :yocto_docs:`/bitbake/bitbake-user-manual/bitbake-user-manual-library-functions.html`. - A new :doc:`/dev-manual/limiting-resources` guide was created to help - users limit the host resources used by the :term:`OpenEmbedded Build - System`. + users limit the resources used by the :term:`OpenEmbedded Build System`. + + - A new :doc:`/dev-manual/hashequivserver` guide was created to help users + setting up a :ref:`overview-manual/concepts:Hash Equivalence` server. + + - The QA checks defined in the :term:`OpenEmbedded Build System` were + gathered in :doc:`/ref-manual/qa-checks`. - Core library changes:@@ -352,6 +481,9 @@ New Features / Enhancements in |yocto-ver| - Go changes: + - :ref:`ref-classes-go-mod-update-modules`: Update license finding to use + the new ``find_licenses_up`` library function. + - Rust changes: - ``rust-llvm``:@@ -362,6 +494,9 @@ New Features / Enhancements in |yocto-ver| - Disable the following feature through configuration (:ref:`ref-tasks-configure`): libedit, benchmarks. + - Add the ``has-thread-local`` option to the + :ref:`ref-classes-rust-target-config` class. + - Wic Image Creator changes: - After a Python upgrade, WIC plugins containing dashes (``-``) for their
documentation/migration-guides/release-notes-5.3.rst New Features / Enhancements in |yocto-ver| · line 527
Quoted 8 lines
documentation/migration-guides/release-notes-5.3.rst +3
-2@@ -387,14 +522,32 @@ New Features / Enhancements in |yocto-ver| :term:`BitBake` variables. This directory is usually found in :term:`STAGING_DIR`. - - Add the Wic-specific option ``--extra-partiton-space`` to add extra empty - space after the space filled by the filesystem in the partition. + - The Wic-specific option ``--extra-space`` is now also named + ``--extra-filesystem-space``. +
s/is now also named/has a new alias/ ?
documentation/migration-guides/release-notes-5.3.rst New Features / Enhancements in |yocto-ver| · line 534
Quoted 7 lines
documentation/migration-guides/release-notes-5.3.rst +7
-0+ - Add the Wic-specific option ``--extra-partiton-space`` to add extra empty + space after the space filled by the filesystem in the partition. + + - ``bootimg_pcbios``: move Syslinux install into separate functions, to make + it easier to add new bootloaders. + + The Grub bootloader is now possible to install with this Wic plugin.
s/is now possible to install/can now be installed/ ?
documentation/migration-guides/release-notes-5.3.rst New Features / Enhancements in |yocto-ver| · line 547
Quoted 13 lines
documentation/migration-guides/release-notes-5.3.rst +7
-0- SDK-related changes: - Include additional information about Meson setting in the SDK environment setup script (host system, CPU family, etc.). + - Add Go to :term:`SDK_TOOLCHAIN_LANGS`, except for the following + architecture on which this is not supported: + + - RISC-V 32 bits (``rv32``) + - PowerPC + + - Image-based SDKs can now include Zsh completions by adding the
Zsh to match our standards.md
Quoted 142 lines
documentation/migration-guides/release-notes-5.3.rst +70
-4+ ``zsh-completion-pkgs`` feature to the :term:`IMAGE_FEATURES` variable in + the image recipe. + - Testing-related changes: - ``bitbake/tests/fetch``: Add tests for ``gitsm`` with git-lfs.@@ -402,6 +555,9 @@ New Features / Enhancements in |yocto-ver| - ``bitbake/lib/bb/tests/fetch``: add a test case to ensure Git shallow fetch works for tag containing slashes. + - :ref:`ref-classes-testexport`: capture all tests and data from all layers + (instead of the :term:`OpenEmbedded-Core (OE-Core)` layer only). + - OEQA: - SDK:@@ -452,8 +608,16 @@ New Features / Enhancements in |yocto-ver| - ``runqemu``: add new test for booting compressed images. - - :ref:`ref-classes-testexport`: capture all tests and data from all layers - (instead of the :term:`OpenEmbedded-Core (OE-Core)` layer only). + - General improvements of the parallelization of tests, namely fixing + some tests that could spawn an unlimited number of threads leading to + OOM kills. + + - A new SDK test is now running for Go after ``go`` was added to + :term:`SDK_TOOLCHAIN_LANGS`. + + - Commands sent over SSH (using the ``OESSHTarget`` class) will now error + when an SSH failure occurs. It is possible to ignore these errors by + passing ``ignore_ssh_fails`` when executing a command. - Utility script changes:@@ -465,6 +629,8 @@ New Features / Enhancements in |yocto-ver| patch files *must* include an ``Upstream-Status`` to pass with this script. + - Show the :term:`DISTRO` used when running the script. + - :ref:`ref-classes-yocto-check-layer` class: - Refactor to be extended easily.@@ -487,7 +653,11 @@ New Features / Enhancements in |yocto-ver| - ``buildstats-diff``: find last two Buildstats files if none are specified. - - ``pybootchartgui``: visualize ``/proc/net/dev`` network stats in graphs. + - ``pybootchartgui``: + + - visualize ``/proc/net/dev`` network stats in graphs. + + - account for network statistics when calculating extents. - Packaging changes:@@ -496,6 +666,19 @@ New Features / Enhancements in |yocto-ver| detailed information on the files used during the compilation and improve SPDX accuracy. + - When using the ``ipk`` and ``rpm`` package managers, give out more possible + reasons about unmatched packages. + + For example:: + + E: Package 'catch2' has no installation candidate + catch2 is a recipe. Its generated packages are: ['catch2-src', 'catch2-dbg', 'catch2-staticdev', 'catch2-dev', 'catch2-doc'] + Either specify a generated package or set ALLOW_EMPTY:${PN} = "1" in catch2 recipe + + - ``package.py``: replace all files unconditionally when copying debug + sources (passing ``-u`` to the ``cpio`` command in + ``copydebugsources()``). This improves reproducibility. + - LLVM related changes: - Like ``gcc-source``, the LLVM project sources are part of ``work-shared``@@ -532,8 +715,16 @@ New Features / Enhancements in |yocto-ver| - Handle workspaces for multiconfig. + - Fix upgrade for recipes with Git submodules. + - Patchtest-related changes: + - Multiple improvements to the tool's :oe_git:`README + </openembedded-core/tree/scripts/patchtest.README>`. + + - Don't match :term:`BitBake` Python expansions as GitHub usernames + (``${@...}`` syntax). + - Security changes: - ``openssl``: add FIPS support. This can be enabled through the ``fips``@@ -541,6 +732,10 @@ New Features / Enhancements in |yocto-ver| - :ref:`ref-classes-cve-check` changes: + + - ``cve-update-db-native``: FKIE: use Secondary metric if there is no + Primary metric. + - New :term:`PACKAGECONFIG` options for individual recipes: - ``ppp``: ``l2tp``, ``pptp``@@ -551,13 +746,34 @@ New Features / Enhancements in |yocto-ver| - ``openssl``: ``fips`` - ``qemu``: ``sdl-image``, ``pixman`` - ``wget``: ``pcre2`` - - ``mesa``: ``asahi``, ``amd``, ``svga``, ``teflon``, ``nouveau`` + - ``mesa``: ``asahi``, ``amd``, ``svga``, ``teflon``, ``nouveau``, + ``xmlconfig`` + - ``dbus``: ``traditional-activation``, ``message-bus`` + - ``cmake``: ``debugger`` + - ``libcxx``: ``unwind-cross`` + - ``tiff``: ``lerc`` + - ``freetype``: ``brotli`` + - ``gawk``: ``pma-if-64bit`` + - ``x264``: ``ffmpeg``, ``opencl`` - Systemd related changes: - Enable getty generator by default by adding ``serial-getty-generator`` to :term:`PACKAGECONFIG`. + - Now uses the :term:`USE_NLS` variable to enable or disable building + translations. + + - Fix deduplicated templates and instance lines in preset files when listing + both template and instances in :term:`SYSTEMD_SERVICE`. + + - Stop enabling non-standard MAC policy when using the 'pni-names' feature + (part of :term:`DISTRO_FEATURES`). Instead, follow what is provided by + upstream systemd. + + - Install ``systemd-sysv-install`` when using the + ``systemd-systemctl-native`` recipe. + - :ref:`ref-classes-sanity` class changes: - :ref:`ref-classes-insane`: Move test for invalid :term:`PACKAGECONFIG` to
documentation/migration-guides/release-notes-5.3.rst New Features / Enhancements in |yocto-ver| · line 793
Quoted 5 lines
documentation/migration-guides/release-notes-5.3.rst +2
-0@@ -573,6 +789,9 @@ New Features / Enhancements in |yocto-ver| install ``libstdc++-14-dev`` instead of ``libgcc-14-dev`` to avoid build issues when building :ref:`ref-classes-native` with Clang. + - Drop the ``var-undefined`` QA check as it was not relevant for the + variables it was checking for, as those are mandatory by default.
One too many for?
Quoted 23 lines
documentation/migration-guides/release-notes-5.3.rst +7
-2+ - U-boot related changes: - :ref:`ref-classes-uboot-sign`: Add support for setting firmware property@@ -586,6 +805,11 @@ New Features / Enhancements in |yocto-ver| variable to automatically set U-boot configuration options (for example ``CONFIG_RISCV_ISA_F``). + - Improve the way build directories are split when having multiple + configurations listed in :term:`UBOOT_CONFIG`. This fixes an issue where + two or more of these configurations were using the same directory for + building (because these were using the same defconfig file). + - Miscellaneous changes: - ``dropbear``: The ``dropbearkey.service`` can now take extra arguments for@@ -645,12 +869,79 @@ New Features / Enhancements in |yocto-ver| - :ref:`ref-classes-externalsrc`: Always ask Git for location of ``.git`` directory (may be different from the default ``${S}/.git``). - - :ref:`ref-classes-features_check`: Add support for required - :term:`TUNE_FEATURES`. + - :ref:`ref-classes-features_check`: Add support for :term:`REQUIRED_TUNE_FEATURES`.
documentation/migration-guides/release-notes-5.3.rst New Features / Enhancements in |yocto-ver| · line 882
Quoted 10 lines
documentation/migration-guides/release-notes-5.3.rst +6
-0- ``openssh``: limit read access to ``sshd_config`` file (set its filemode to ``0600``). + - ``barebox-tools`` now installs the ``rk-usb-loader`` utility. + + - The :ref:`ref-classes-setuptools3_legacy` class now supports the + :ref:`qa-check-pep517-backend` QA check. + + - The :ref:`ref-classes-ccache` class now supports using Ccache for native
Ccache
Quoted 9 lines
documentation/migration-guides/release-notes-5.3.rst +9
-0+ recipes when the local build configuration contains:: + + ASSUME_PROVIDED += "ccache-native" + HOSTTOOLS += "ccache" + + - :ref:`ref-classes-python_pep517`: use ``pyproject-build`` instead of + calling the module with ``nativepython3``. + + - ``dbus-glib``: include the binding tools separately into the
documentation/migration-guides/release-notes-5.3.rst New Features / Enhancements in |yocto-ver| · line 901
Quoted 10 lines
documentation/migration-guides/release-notes-5.3.rst +10
-0+ ``${PN}-tools`` package. + + - ``dbus``: use the :ref:`ref-classes-systemd` class to handle the unit + files of D-Bus. + + - ``dpkg``: add :ref:`ptest <test-manual/ptest:testing packages with ptest>` + support. + + - ``shared-mime-info``: Now uses the :term:`USE_NLS` variable to enable or + disable building translations.
s/enable or disable/control/ ? or simply "enable" as it's implied if it's used for enabling it can be used for disabling?
documentation/migration-guides/release-notes-5.3.rst New Features / Enhancements in |yocto-ver| · line 905
Quoted 4 lines
documentation/migration-guides/release-notes-5.3.rst +4
-0+ + - ``p11-kit``: Now uses the :term:`USE_NLS` variable to enable or + disable building translations. +
Ditto.
documentation/migration-guides/release-notes-5.3.rst New Features / Enhancements in |yocto-ver| · line 912
Quoted 7 lines
documentation/migration-guides/release-notes-5.3.rst +7
-0+ - ``babeltrace2``: Enable Python plugins + + - ``initramfs-framework``: mount a temporary filesystem on ``/run`` and move + it to the root filesystem directory before calling ``switch_root``. + + - ``python3``: Pass ``PLATFORM_TRIPLET`` explicitly when cross compiling to + make it deterministic instead of letting Python detect the platform
it? what does it refer to?
Quoted 10 lines
documentation/migration-guides/release-notes-5.3.rst +10
-0+ triplet (``${HOST_ARCH}-${HOST_OS}``). + + - ``pulseaudio``: Add the ``audio`` group explicitly if + ``pulseaudio-server`` is used. + + - ``oe/license_finder``: Add ``find_licenses_up`` function to find licenses + upwards until reaching a predefined top directory (as an argument). + + - ``mesa``: +
documentation/migration-guides/release-notes-5.3.rst New Features / Enhancements in |yocto-ver| · line 932
Quoted 10 lines
documentation/migration-guides/release-notes-5.3.rst +10
-0+ - Build Mesa's Asahi tools when ``asahi`` is part of the recipe's + :term:`PACKAGECONFIG` variable. + + - The ``mesa`` recipe now declares two new :term:`PROVIDES` for Vulkan + and OpenCL ICD. These virtual provider are respectively named + ``virtual-opencl-icd`` and ``virtual-vulkan-icd``. + + - ``mesa-demos``: split info tools to a separate package + ``mesa-demos-info``. +
mesa-demos != mesa, so should be on indented one indent to the left.
documentation/migration-guides/release-notes-5.3.rst New Features / Enhancements in |yocto-ver| · line 944
Quoted 12 lines
documentation/migration-guides/release-notes-5.3.rst +12
-0+ - ``vte``: skip :ref:`ref-classes-gobject-introspection` with Clang on Arm, + as it caused build failures. + + - ``shadow``: Increase the maximum group name length from 24 to 32 (default + value provided by upstream recipe, was previously hardcoded to 24). + + - ``udev-extraconf``: Speed up the ``mount.sh`` script by passing the block + device of interest to ``blkid`` when getting partition label names. + + - ``piglit``: enable OpenCL support if ``opencl`` is part of the + :term:`DISTRO` features. +
Not sure we need to alphabetically sort the list, but just wanted to say it's not :)
Cheers,
Quentin
Re: [docs] [PATCH v2 16/16] migration-guides/release-notes-5.3: updates
In reply to Antonin GodardQuoted 19 lines · Antonin Godard via lists.yoctoproject.org
Update the release notes and migration manual for 5.3.
This covers commits from
bd4625cd4db0("build-appliance-image: Update to master head revision") to4a1f38dd8db1("bitbake: knotty, uihelper:
Removerunning_pidsand lastpids") in Poky.Signed-off-by Antonin Godard <[email protected]>--- documentation/migration-guides/migration-5.3.rst | 47 ++- .../migration-guides/release-notes-5.3.rst | 331 +++++++++++++++++++-- 2 files changed, 355 insertions(+), 23 deletions(-)documentation/migration-guides/migration-5.3.rst +0
-0@@ -134,10 +134,20 @@ To set back the "mac" policy in systemd (version 257.8 at the time of writing this note), you should set the ``NamePolicy`` and ``AlternativeNamesPolicy`` as detailed in :manpage:`systemd.link(5)`.
documentation/migration-guides/migration-5.3.rst To set back the "mac" policy in systemd (version 257.8 at the time of writing · line 145
Quoted 10 lines
documentation/migration-guides/migration-5.3.rst +9
-0+Removal of unlicensed Linux kernel firmwares +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +By default, the ``linux-firmware`` recipe now excludes firmwares that do not +provide any license information. The recipe holds an internal list of firmwares +to exclude via a variable named ``REMOVE_UNLICENSED``, this variable may be +overridden if unlicensed firmware is needed. See :oe_git:`the recipe +</openembedded-core/tree/meta/recipes-kernel/linux-firmware>` for a complete +overview of the removed firmwares.
Very small nit: s/firmwares/firmware/g
(It's uncountable)
Quoted 658 lines
documentation/migration-guides/migration-5.3.rst +35
-3+ Supported kernel versions ~~~~~~~~~~~~~~~~~~~~~~~~~ -The :term:`OLDEST_KERNEL` setting is XXX in this release, meaning that +The :term:`OLDEST_KERNEL` setting is 5.15 in this release, meaning that out the box, older kernels are not supported. See :ref:`4.3 migration notes <migration-4.3-supported-kernel-versions>` for details.@@ -147,7 +157,9 @@ Supported distributions Compared to the previous releases, running BitBake is supported on new GNU/Linux distributions: -- XXX +- Debian 13 (Trixie) +- Fedora 42 +- Ubuntu 25.04 On the other hand, some earlier distributions are no longer supported:@@ -174,6 +186,10 @@ The following variables have been removed: :term:`BitBake` invocation and replace it with information about what was built during the build. This was partly broken and hard to maintain. +- ``GPE_MIRROR``: this variable used to contain the + "http://gpe.linuxtogo.org/download/source" URL, but was not used by any + recipe in OE-Core. + Removed recipes ~~~~~~~~~~~~~~~@@ -195,6 +211,11 @@ The following recipes have been removed in this release: - ``xf86-input-vmmouse``: It has a runtime dependency on ``xf86-input-mouse``, which stopped supporting Linux. +- ``babeltrace``: Removed in favour of ``babeltrace2``. + +- ``cwautomacros``: A long-obsolete set of custom :ref:`ref-classes-autotools` + macros, not used by any other recipe. + Removed :term:`PACKAGECONFIG` entries ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~@@ -206,6 +227,8 @@ Removed :term:`PACKAGECONFIG` entries - ``mesa``: ``kmsro``, ``osmesa``, ``xa`` +- ``systemd``: ``dbus`` + Removed classes ~~~~~~~~~~~~~~~@@ -269,4 +292,22 @@ Miscellaneous changes - ``xserver-xorg``: remove sub-package ``${PN}-xwayland``, as ``xwayland`` is now its own recipe. -- The Wic-specific option ``--extra-space`` has been renamed to ``--extra-filesystem-space``. +- ``gdk-pixbuf``: drop the ``GDK_PIXBUF_LOADERS`` variable, which was part of + the recipe's :term:`PACKAGECONFIG`. Instead the :term:`PACKAGECONFIG` can be + modified directly to achieve the same result. + +- Remove the ``meta/conf/distro/include/distro_alias.inc`` include file, + which associated a recipe name to one or more Distribution package name. + This file is not used and maintained anymore. + +- Remove the ``nghttp2-proxy`` package from the ``nghttp2`` recipe as the + ``nghttp2-proxy`` package became empty after an upgrade that makes it a + library recipe only (due to + :term:`EXTRA_OEMAKE` containing ``-DENABLE_APP=OFF`` by default in the + recipe). + +- Remove the ``util-linux-fcntl-lock`` package (in the ``util-linux`` recipe) as + util-linux now supports the ``--fcntl`` flag for the ``flock`` command. + + Recipes currently using the ``fcntl-lock`` command should replace these by + ``flock --fcntl``.documentation/migration-guides/release-notes-5.3.rst +311
-21@@ -11,10 +11,21 @@ Release notes for |yocto-ver| (|yocto-codename|) New Features / Enhancements in |yocto-ver| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- Linux kernel XXX, gcc 15, glibc XXX, LLVM XXX, and over XXX other +- Linux kernel 6.16, gcc 15, glibc 2.42, LLVM 21.1.1, and over 300 other recipe upgrades. -- Minimum Python version required on the host: XXX. +- Minimum Python version required on the host: 3.9. + +- Host requirements changes: + + - The minimum disk space requirement is now 140Gbytes (previously 90Gbytes). + + - The minimum RAM requirement is now 32Gbytes (previously 8Gbytes). + + - These changes are mainly due to recent additions of the LLVM and other + such resource heavy recipes. For guidance on how to limit the resources + used by the :term:`OpenEmbedded Build System`, see the + :doc:`/dev-manual/limiting-resources` guide. - BitBake changes:@@ -36,10 +47,18 @@ New Features / Enhancements in |yocto-ver| - ``az``: Add sanity check to check that :term:`AZ_SAS` starts with ``?`` to mark the start of the query parameters. - - ``git``: Add the tag to shallow clone tarball name. + - ``git``: + + - Add the tag to shallow clone tarball name. + - Verify if local clones contains a tag, when the ``tag=`` parameter + is used in :term:`SRC_URI`. + + - ``knotty``: + + - Pass failed task logs through the log infrastructure (use + ``bb.plain()`` instead of ``print()``). - - ``knotty``: pass failed task logs through the log infrastructure (use - ``bb.plain()`` instead of ``print()``) + - Improve refresh rate of the footer progress bar. - Add support for automatically promoting class inherits to deferred inherits by listing them in the :term:`BB_DEFER_BBCLASSES` variable.@@ -92,6 +111,17 @@ New Features / Enhancements in |yocto-ver| :term:`BitBake` to specify what to profile. Can be "main", "idle" or "parsing". Split the reports in separate files. + - A "filtering" functionality was added and allows modifying the value of a + variable before its value is returned by :term:`BitBake`. The + ``setVarFilter`` API can be used for applying the filters, but it is + **not** recommended for general use. It was added for internal use in + the :term:`OpenEmbedded Build System` in the :ref:`ref-classes-native` + class. The list of filters that are allows are derived from a select + list of functions that must be added using a ``filter_proc`` decorator. + + - ``tests/parse``: Add tests for ``include``, ``require`` and + ``include_all``. + - Toolchain changes: - The Clang/LLVM toolchain can now be used as part of the build.@@ -106,6 +136,12 @@ New Features / Enhancements in |yocto-ver| The toolchain is also customizable on a per-recipe basis, using the :term:`TOOLCHAIN` and :term:`TOOLCHAIN_NATIVE` variables. + .. warning:: + + The :term:`TOOLCHAIN` should **not** be set globally. For overridding + the toolchain globally, use :term:`PREFERRED_TOOLCHAIN_TARGET`, + :term:`PREFERRED_TOOLCHAIN_NATIVE` and :term:`PREFERRED_TOOLCHAIN_SDK`. + - Multiple recipes were pinned to use the GCC/Binutils toolchain as they do not support being built with Clang/LLVM yet. In these recipes the :term:`TOOLCHAIN` variable is set to "gcc".@@ -119,14 +155,42 @@ New Features / Enhancements in |yocto-ver| - ``bitbake.conf``: Drop ``lz4`` from :term:`HOSTTOOLS`, as it is not required anymore, and the ``lz4-native`` package is used instead. - - ``conf/fragments``: add a fragment for the CDN :ref:`sstate-cache - <overview-manual/concepts:shared state cache>` mirror. + - :term:`Configuration Fragments <Configuration Fragment>`: + + - Add a fragment for the CDN :ref:`sstate-cache + <overview-manual/concepts:shared state cache>` mirror. + + - Add a ``show-fragments`` sub-command to the + :oe_git:`bitbake-config-build </bitbake/tree/bin/bitbake-config-build>` + utility, to show the content of fragments from command-line. - ``default-distrovars``: set an empty default for :term:`LICENSE_PATH`. - The default definition of :term:`UNPACKDIR` is no longer ``sources-unpack`` but ``sources``. + - The default value for :term:`IMAGE_FSTYPES` (defined in + :oe_git:`bitbake.conf </openembedded-core/tree/meta/conf/bitbake.conf>`) + is now ``tar.zst`` (previously ``tar.gz``). + + - Remove the ``meta/conf/distro/include/distro_alias.inc`` include file, + which associated a recipe name to one or more Distribution package name. + This file is not used and maintained anymore. + + - A new configuration file :ref:`structure-build-conf-toolcfg.conf` is now + used by :oe_git:`bitbake-config-build </bitbake/tree/bin/bitbake-config-build>` + to manage :term:`Configuration Fragments <Configuration Fragment>`. + + - ``bitbake.conf``: add :term:`TMPDIR` to the ``GIT_CEILING_DIRECTORIES`` + Git variable. This avoids Git trying to find a repository higher than + :term:`TMPDIR` in recipes that use the :ref:`structure-build-work-shared` + directory for storing their sources. This fixes reproducibility issues. + + - Changes to the ``genericarm64`` machine configuration: + + - Increase the :term:`Initramfs` maximum size. + - Install extra Linux firmware packages to fix Linux kernel warnings. + - New variables: - The ``VIRTUAL-RUNTIME_dbus`` variable, to allow changing the runtime@@ -159,6 +223,11 @@ New Features / Enhancements in |yocto-ver| deployed filenames. Users can now override :term:`UBOOT_VERSION` to changes the output filenames. + - The :term:`UBOOT_MAKE_OPTS` variable specifies extra options passed to + ``make`` when building U-boot. Extra options can also be passed as the + fourth argument of the :term:`UBOOT_CONFIG` variable. See the + documentation of :ref:`ref-classes-uboot-config` for more details. + - Kernel-related changes: - ``linux/generate-cve-exclusions``: use data from CVEProject instead of@@ -186,6 +255,8 @@ New Features / Enhancements in |yocto-ver| - ``linux-yocto``: when built for RISC-V, enable features in :term:`KERNEL_FEATURES` based on features listed in :term:`TUNE_FEATURES`. + - ``perf``: Enable ``coresight`` if enabled in :term:`MACHINE_FEATURES`. + - New core recipes: - ``python3-pdm``, ``python3-pdm-backend`` and ``python3-pdm-build-locked``,@@ -210,6 +281,13 @@ New Features / Enhancements in |yocto-ver| to code blocks in Sphinx. It is part of ``buildtools-docs-tarball`` for later use in the Yocto Project documentation. + - ``python3-coherent-licensed``: License management tooling for Coherent + System and skeleton projects. It became a new dependency of + ``python3-zipp``. + + - ``gn``: a commonly used build tool to generate `ninja + <https://ninja-build.org/>`__ files. + - LLVM/Clang related recipes: - ``clang``: LLVM based C/C++ compiler.@@ -225,11 +303,15 @@ New Features / Enhancements in |yocto-ver| - ``llvm-tblgen-native``: LLVM TableGen binaries for the build host, often used to build LLVM projects. + - ``lld``: the LLVM Linker. + - ``lldb``: LLDB debugger for LLVM projects. - ``llvm-project-source``: canonical git mirror of the LLVM subversion repository. + - ``llvm``: The LLVM Compiler Infrastructure. + - ``openmp``: LLVM OpenMP compiler Runtime. - ``kernel-signing-keys-native``: this recipe is used in the@@ -242,6 +324,9 @@ New Features / Enhancements in |yocto-ver| - ``glvnd``, which enables OpenGL Vendor Neutral Dispatch Library support when using recipes such as ``mesa``. + - ``opencl``: support for the :wikipedia:`Open Machine Language (OpenCL) + <OpenCL>` framework. + - New core classes: - The new :ref:`ref-classes-kernel-fit-image` class replaces the previous@@ -255,6 +340,10 @@ New Features / Enhancements in |yocto-ver| maintain Go recipes that use a ``BPN-go-mods.inc`` and ``BPN-licenses.inc`` and update these files automatically. + - The new :ref:`ref-classes-python_pdm` class supports building Python + recipes with the `PDM <https://pdm-project.org/>`__ package and dependency + manager. + - Architecture-specific changes: - Rework the RISC-V :term:`TUNE_FEATURES` to make them based of the RISC-V@@ -299,6 +388,16 @@ New Features / Enhancements in |yocto-ver| </openembedded-core/tree/meta/conf/machine/include/riscv/README>` for more information. + - Add support for new Arm64 cores, which are represented as files to be + included in :term:`MACHINE` configuration in :term:`OpenEmbedded-Core + (OE-Core)`. The new configuration files are: + + - :oe_git:`conf/machine/include/arm/arch-armv8-7a.inc </openembedded-core/tree/meta/conf/machine/include/arm/arch-armv8-7a.inc>` + - :oe_git:`conf/machine/include/arm/arch-armv8-8a.inc </openembedded-core/tree/meta/conf/machine/include/arm/arch-armv8-8a.inc>` + - :oe_git:`conf/machine/include/arm/arch-armv9-1a.inc </openembedded-core/tree/meta/conf/machine/include/arm/arch-armv9-1a.inc>` + - :oe_git:`conf/machine/include/arm/arch-armv9-2a.inc </openembedded-core/tree/meta/conf/machine/include/arm/arch-armv9-2a.inc>` + - :oe_git:`conf/machine/include/arm/arch-armv9-3a.inc </openembedded-core/tree/meta/conf/machine/include/arm/arch-armv9-3a.inc>` + - ``arch-mips.inc``: Use ``-EB``/``-EL`` for denoting Endianness. - Enable ``riscv32`` as supported arch for ``musl`` systems.@@ -306,6 +405,15 @@ New Features / Enhancements in |yocto-ver| - Powerpc: Use ``-maltivec`` in compiler flags if ``altivec`` is in :term:`TUNE_FEATURES`. + - ``arm``: add a ``nocrypto`` feature to :term:`TUNE_FEATURES` to complement + the ``crypto`` feature to explicitly disable cryptographic extensions via + Gcc flags. + + This lead to the creation of two new tunes: + + - ``tune-cortexa72-nocrypto`` + - ``tune-cortexa53-nocrypto`` + - QEMU / ``runqemu`` changes: - Refactor :ref:`ref-classes-qemu` functions into library functions (in@@ -330,19 +438,40 @@ New Features / Enhancements in |yocto-ver| machine's CPU must also be recent enough to support these instructions natively. - - ``runqemu`` can now run compressed images with snapshot mode. For example, - with ``IMAGE_FSTYPES = "... ext4.zst ..."``, you can run:: + - ``runqemu``: + + - The script can now run compressed images with snapshot mode. For + example, with ``IMAGE_FSTYPES = "... ext4.zst ..."``, you can run:: + + runqemu snapshot ext4.zst <image-recipe> - runqemu snapshot ext4.zst <image-recipe> + - Add support for the ``erofs`` filesystem types. + + - The :term:`BitBake` environment is now a requirement, and the script + cannot run without a successful call to ``bitbake -e``. + + The script will also raise an error with the ``bitbake`` command is not + found. - Documentation changes: + - Add documentation on :term:`Configuration Fragments <Configuration + Fragment>`: + + - :doc:`/ref-manual/fragments` + - :doc:`/dev-manual/creating-fragments` + - Part of :term:`BitBake` internals are now documented at :yocto_docs:`/bitbake/bitbake-user-manual/bitbake-user-manual-library-functions.html`. - A new :doc:`/dev-manual/limiting-resources` guide was created to help - users limit the host resources used by the :term:`OpenEmbedded Build - System`. + users limit the resources used by the :term:`OpenEmbedded Build System`. + + - A new :doc:`/dev-manual/hashequivserver` guide was created to help users + setting up a :ref:`overview-manual/concepts:Hash Equivalence` server. + + - The QA checks defined in the :term:`OpenEmbedded Build System` were + gathered in :doc:`/ref-manual/qa-checks`. - Core library changes:@@ -352,6 +481,9 @@ New Features / Enhancements in |yocto-ver| - Go changes: + - :ref:`ref-classes-go-mod-update-modules`: Update license finding to use + the new ``find_licenses_up`` library function. + - Rust changes: - ``rust-llvm``:@@ -362,6 +494,9 @@ New Features / Enhancements in |yocto-ver| - Disable the following feature through configuration (:ref:`ref-tasks-configure`): libedit, benchmarks. + - Add the ``has-thread-local`` option to the + :ref:`ref-classes-rust-target-config` class. + - Wic Image Creator changes: - After a Python upgrade, WIC plugins containing dashes (``-``) for their@@ -387,14 +522,32 @@ New Features / Enhancements in |yocto-ver| :term:`BitBake` variables. This directory is usually found in :term:`STAGING_DIR`. - - Add the Wic-specific option ``--extra-partiton-space`` to add extra empty - space after the space filled by the filesystem in the partition. + - The Wic-specific option ``--extra-space`` is now also named + ``--extra-filesystem-space``. + + - Add the Wic-specific option ``--extra-partiton-space`` to add extra empty + space after the space filled by the filesystem in the partition. + + - ``bootimg_pcbios``: move Syslinux install into separate functions, to make + it easier to add new bootloaders. + + The Grub bootloader is now possible to install with this Wic plugin. - SDK-related changes: - Include additional information about Meson setting in the SDK environment setup script (host system, CPU family, etc.). + - Add Go to :term:`SDK_TOOLCHAIN_LANGS`, except for the following + architecture on which this is not supported: + + - RISC-V 32 bits (``rv32``) + - PowerPC + + - Image-based SDKs can now include Zsh completions by adding the + ``zsh-completion-pkgs`` feature to the :term:`IMAGE_FEATURES` variable in + the image recipe. + - Testing-related changes: - ``bitbake/tests/fetch``: Add tests for ``gitsm`` with git-lfs.@@ -402,6 +555,9 @@ New Features / Enhancements in |yocto-ver| - ``bitbake/lib/bb/tests/fetch``: add a test case to ensure Git shallow fetch works for tag containing slashes. + - :ref:`ref-classes-testexport`: capture all tests and data from all layers + (instead of the :term:`OpenEmbedded-Core (OE-Core)` layer only). + - OEQA: - SDK:@@ -452,8 +608,16 @@ New Features / Enhancements in |yocto-ver| - ``runqemu``: add new test for booting compressed images. - - :ref:`ref-classes-testexport`: capture all tests and data from all layers - (instead of the :term:`OpenEmbedded-Core (OE-Core)` layer only). + - General improvements of the parallelization of tests, namely fixing + some tests that could spawn an unlimited number of threads leading to + OOM kills. + + - A new SDK test is now running for Go after ``go`` was added to + :term:`SDK_TOOLCHAIN_LANGS`. + + - Commands sent over SSH (using the ``OESSHTarget`` class) will now error + when an SSH failure occurs. It is possible to ignore these errors by + passing ``ignore_ssh_fails`` when executing a command. - Utility script changes:@@ -465,6 +629,8 @@ New Features / Enhancements in |yocto-ver| patch files *must* include an ``Upstream-Status`` to pass with this script. + - Show the :term:`DISTRO` used when running the script. + - :ref:`ref-classes-yocto-check-layer` class: - Refactor to be extended easily.@@ -487,7 +653,11 @@ New Features / Enhancements in |yocto-ver| - ``buildstats-diff``: find last two Buildstats files if none are specified. - - ``pybootchartgui``: visualize ``/proc/net/dev`` network stats in graphs. + - ``pybootchartgui``: + + - visualize ``/proc/net/dev`` network stats in graphs. + + - account for network statistics when calculating extents. - Packaging changes:@@ -496,6 +666,19 @@ New Features / Enhancements in |yocto-ver| detailed information on the files used during the compilation and improve SPDX accuracy. + - When using the ``ipk`` and ``rpm`` package managers, give out more possible + reasons about unmatched packages. + + For example:: + + E: Package 'catch2' has no installation candidate + catch2 is a recipe. Its generated packages are: ['catch2-src', 'catch2-dbg', 'catch2-staticdev', 'catch2-dev', 'catch2-doc'] + Either specify a generated package or set ALLOW_EMPTY:${PN} = "1" in catch2 recipe + + - ``package.py``: replace all files unconditionally when copying debug + sources (passing ``-u`` to the ``cpio`` command in + ``copydebugsources()``). This improves reproducibility. + - LLVM related changes: - Like ``gcc-source``, the LLVM project sources are part of ``work-shared``@@ -532,8 +715,16 @@ New Features / Enhancements in |yocto-ver| - Handle workspaces for multiconfig. + - Fix upgrade for recipes with Git submodules. + - Patchtest-related changes: + - Multiple improvements to the tool's :oe_git:`README + </openembedded-core/tree/scripts/patchtest.README>`. + + - Don't match :term:`BitBake` Python expansions as GitHub usernames + (``${@...}`` syntax). + - Security changes: - ``openssl``: add FIPS support. This can be enabled through the ``fips``@@ -541,6 +732,10 @@ New Features / Enhancements in |yocto-ver| - :ref:`ref-classes-cve-check` changes: + + - ``cve-update-db-native``: FKIE: use Secondary metric if there is no + Primary metric. + - New :term:`PACKAGECONFIG` options for individual recipes: - ``ppp``: ``l2tp``, ``pptp``@@ -551,13 +746,34 @@ New Features / Enhancements in |yocto-ver| - ``openssl``: ``fips`` - ``qemu``: ``sdl-image``, ``pixman`` - ``wget``: ``pcre2`` - - ``mesa``: ``asahi``, ``amd``, ``svga``, ``teflon``, ``nouveau`` + - ``mesa``: ``asahi``, ``amd``, ``svga``, ``teflon``, ``nouveau``, + ``xmlconfig`` + - ``dbus``: ``traditional-activation``, ``message-bus`` + - ``cmake``: ``debugger`` + - ``libcxx``: ``unwind-cross`` + - ``tiff``: ``lerc`` + - ``freetype``: ``brotli`` + - ``gawk``: ``pma-if-64bit`` + - ``x264``: ``ffmpeg``, ``opencl`` - Systemd related changes: - Enable getty generator by default by adding ``serial-getty-generator`` to :term:`PACKAGECONFIG`. + - Now uses the :term:`USE_NLS` variable to enable or disable building + translations. + + - Fix deduplicated templates and instance lines in preset files when listing + both template and instances in :term:`SYSTEMD_SERVICE`. + + - Stop enabling non-standard MAC policy when using the 'pni-names' feature + (part of :term:`DISTRO_FEATURES`). Instead, follow what is provided by + upstream systemd. + + - Install ``systemd-sysv-install`` when using the + ``systemd-systemctl-native`` recipe. + - :ref:`ref-classes-sanity` class changes: - :ref:`ref-classes-insane`: Move test for invalid :term:`PACKAGECONFIG` to@@ -573,6 +789,9 @@ New Features / Enhancements in |yocto-ver| install ``libstdc++-14-dev`` instead of ``libgcc-14-dev`` to avoid build issues when building :ref:`ref-classes-native` with Clang. + - Drop the ``var-undefined`` QA check as it was not relevant for the + variables it was checking for, as those are mandatory by default. + - U-boot related changes: - :ref:`ref-classes-uboot-sign`: Add support for setting firmware property@@ -586,6 +805,11 @@ New Features / Enhancements in |yocto-ver| variable to automatically set U-boot configuration options (for example ``CONFIG_RISCV_ISA_F``). + - Improve the way build directories are split when having multiple + configurations listed in :term:`UBOOT_CONFIG`. This fixes an issue where + two or more of these configurations were using the same directory for + building (because these were using the same defconfig file). + - Miscellaneous changes: - ``dropbear``: The ``dropbearkey.service`` can now take extra arguments for@@ -645,12 +869,79 @@ New Features / Enhancements in |yocto-ver| - :ref:`ref-classes-externalsrc`: Always ask Git for location of ``.git`` directory (may be different from the default ``${S}/.git``). - - :ref:`ref-classes-features_check`: Add support for required - :term:`TUNE_FEATURES`. + - :ref:`ref-classes-features_check`: Add support for :term:`REQUIRED_TUNE_FEATURES`. - ``openssh``: limit read access to ``sshd_config`` file (set its filemode to ``0600``). + - ``barebox-tools`` now installs the ``rk-usb-loader`` utility. + + - The :ref:`ref-classes-setuptools3_legacy` class now supports the + :ref:`qa-check-pep517-backend` QA check. + + - The :ref:`ref-classes-ccache` class now supports using Ccache for native + recipes when the local build configuration contains:: + + ASSUME_PROVIDED += "ccache-native" + HOSTTOOLS += "ccache" + + - :ref:`ref-classes-python_pep517`: use ``pyproject-build`` instead of + calling the module with ``nativepython3``. + + - ``dbus-glib``: include the binding tools separately into the + ``${PN}-tools`` package. + + - ``dbus``: use the :ref:`ref-classes-systemd` class to handle the unit + files of D-Bus. + + - ``dpkg``: add :ref:`ptest <test-manual/ptest:testing packages with ptest>` + support. + + - ``shared-mime-info``: Now uses the :term:`USE_NLS` variable to enable or + disable building translations. + + - ``p11-kit``: Now uses the :term:`USE_NLS` variable to enable or + disable building translations. + + - ``babeltrace2``: Enable Python plugins + + - ``initramfs-framework``: mount a temporary filesystem on ``/run`` and move + it to the root filesystem directory before calling ``switch_root``. + + - ``python3``: Pass ``PLATFORM_TRIPLET`` explicitly when cross compiling to + make it deterministic instead of letting Python detect the platform + triplet (``${HOST_ARCH}-${HOST_OS}``). + + - ``pulseaudio``: Add the ``audio`` group explicitly if + ``pulseaudio-server`` is used. + + - ``oe/license_finder``: Add ``find_licenses_up`` function to find licenses + upwards until reaching a predefined top directory (as an argument). + + - ``mesa``: + + - Build Mesa's Asahi tools when ``asahi`` is part of the recipe's + :term:`PACKAGECONFIG` variable. + + - The ``mesa`` recipe now declares two new :term:`PROVIDES` for Vulkan + and OpenCL ICD. These virtual provider are respectively named + ``virtual-opencl-icd`` and ``virtual-vulkan-icd``. + + - ``mesa-demos``: split info tools to a separate package + ``mesa-demos-info``. + + - ``vte``: skip :ref:`ref-classes-gobject-introspection` with Clang on Arm, + as it caused build failures. + + - ``shadow``: Increase the maximum group name length from 24 to 32 (default + value provided by upstream recipe, was previously hardcoded to 24). + + - ``udev-extraconf``: Speed up the ``mount.sh`` script by passing the block + device of interest to ``blkid`` when getting partition label names. + + - ``piglit``: enable OpenCL support if ``opencl`` is part of the + :term:`DISTRO` features. + Known Issues in |yocto-ver| ~~~~~~~~~~~~~~~~~~~~~~~~~~~ -=-=-=-=-=-=-=-=-=-=-=-Links: You receive all messages sent to this group.
View/Reply Online (#7805): https://lists.yoctoproject.org/g/docs/message/7805
Mute This Topic: https://lists.yoctoproject.org/mt/115924929/6084445
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/docs/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-