Updates for 5.3
v3 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 v3:
- Apply suggestions/rewordings/formatting from Quentin and Gyorgy (thanks!)
- Link to v2: https://lore.kernel.org/r/20251024-release-note-5-3-second-hunk-v2-0-d15dabc095d0@bootlin.com
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 | 335 +++++++++++++++++++-- documentation/ref-manual/classes.rst | 76 ++++- documentation/ref-manual/features.rst | 8 + documentation/ref-manual/qa-checks.rst | 11 - documentation/ref-manual/variables.rst | 68 +++++ 6 files changed, 505 insertions(+), 40 deletions(-)
---
base-commit: 05b96f7b0e092b32a88b769d747df05135fc9522
change-id: 20250929-release-note-5-3-second-hunk-bc19bcedd8cb
Best regards,
Signature · 1 line
Antonin Godard <[email protected]>
PATCH v3 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
PATCH v3 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
PATCH v3 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 | 13 +++++++++++++ 1 file changed, 13 insertions(+)
documentation/ref-manual/classes.rst +13 -0
@@ -2174,6 +2174,19 @@ 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. + +Internally this uses the :ref:`ref-classes-python_pep517` class. + .. _ref-classes-python_pep517: ``python_pep517``
Signature · 1 line
2.51.0
Re: [docs] [PATCH v3 03/16] ref-manual/classes.rst: document the python_pdm class
Hi Antonin,
Quoted 3 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.
Thanks!
Quentin
PATCH v3 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 | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-)
documentation/ref-manual/classes.rst +9 -2
@@ -392,8 +392,15 @@ 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. +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`:: + + 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 v3 04/16] ref-manual/classes.rst: ccache: mention that the host's ccache can be used
Hi Antonin,
Quoted 17 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 | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-)documentation/ref-manual/classes.rst +0
-1@@ -392,8 +392,15 @@ 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
documentation/ref-manual/classes.rst file for details about how to enable this mechanism in your configuration · line 403
Quoted 10 lines
documentation/ref-manual/classes.rst +9
-1-this class is not recommended. +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`:: + + 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.
Note that since there's no newline between those two sentences, they'll appear in the same paragraph once rendered by Sphinx.
Maybe that's what you want, and since the rest is fine to me:
Thanks!
Quentin
PATCH v3 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
@@ -399,6 +399,10 @@ statements are provided in a :term:`configuration file`:: 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
PATCH v3 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
@@ -7950,6 +7950,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
PATCH v3 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
@@ -7950,6 +7950,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
PATCH v3 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
@@ -7940,6 +7940,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 v3 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
@@ -7960,6 +7960,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 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 v3 09/16] ref-manual/variables.rst: document the REQUIRED_IMAGE_FEATURES variable
Hi Antonin,
Quoted 3 lines · Antonin Godard via lists.yoctoproject.org
Added by commit
96a9702a24a7("distro_features_check: expand withIMAGE_FEATURES") in OE-Core.
Thanks!
Quentin
PATCH v3 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
@@ -11139,6 +11139,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
PATCH v3 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
@@ -966,6 +966,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 and the recipe inheriting + the :ref:`ref-classes-gettext` class does not also inherit the + :ref:`ref-classes-cross-canadian` class. + .. _ref-classes-github-releases: ``github-releases``
Signature · 1 line
2.51.0
Re: [docs] [PATCH v3 11/16] ref-manual/classes.rst: gettext: extend the documentation of the class
Hi Antonin,
Quoted 3 lines · Antonin Godard via lists.yoctoproject.org
Mention the use of
USE_NLS,INHIBIT_DEFAULT_DEPSand the cross-canadian class.
Thanks!
Quentin
PATCH v3 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
@@ -2638,6 +2638,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 v3 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 v3 13/16] ref-manual/features.rst: add entry for the coresight machine feature
Hi Antonin,
Quoted 3 lines · Antonin Godard via lists.yoctoproject.org
Added by commit
c455bd039104("perf: enable coresight if enabled inMACHINE_FEATURES") in OE-Core.
Thanks!
Quentin
PATCH v3 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
@@ -2498,6 +2498,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 v3 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 | 8 ++++++-- documentation/ref-manual/variables.rst | 6 ++++++ 2 files changed, 12 insertions(+), 2 deletions(-)
documentation/ref-manual/classes.rst +6 -2
@@ -3241,8 +3241,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
@@ -3280,6 +3280,10 @@ There are two ways to configure the recipe for your machine: This option defaults to :term:`UBOOT_BINARY` if unset. + - ``makeopts``: the additional options passed to ``make`` when configuring + and 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 +6 -0
@@ -10906,6 +10906,12 @@ 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 configured and compiled. + + See the :ref:`ref-classes-uboot-config` class for more information. + :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 v3 15/16] ref-manual: document UBOOT_MAKE_OPTS
Hi Antonin,
Quoted 26 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 | 8 ++++++-- documentation/ref-manual/variables.rst | 6 ++++++ 2 files changed, 12 insertions(+), 2 deletions(-)documentation/ref-manual/classes.rst +2
-2@@ -3241,8 +3241,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
documentation/ref-manual/classes.rst There are two ways to configure the recipe for your machine: · line 3284
Quoted 5 lines
documentation/ref-manual/classes.rst +2
-0@@ -3280,6 +3280,10 @@ There are two ways to configure the recipe for your machine: This option defaults to :term:`UBOOT_BINARY` if unset. + - ``makeopts``: the additional options passed to ``make`` when configuring + and compiling U-boot for this configuration entry. The options in this
s/U-boot/U-Boot/
Quoted 10 lines
documentation/ref-manual/classes.rst +2
-0+ 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 10912
Quoted 7 lines
documentation/ref-manual/variables.rst +4
-0@@ -10906,6 +10906,12 @@ 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 configured and compiled. +
s/U-boot/U-Boot/
Thanks!
Quentin
PATCH v3 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 | 335 +++++++++++++++++++-- 2 files changed, 357 insertions(+), 25 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 firmware +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +By default, the ``linux-firmware`` recipe now excludes firmware that do not +provide any license information. The recipe holds an internal list of firmware +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 firmware. + 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 +313 -22
544 lines not on this page · raw message
Signature · 1 line
2.51.0
Re: [docs] [PATCH v3 16/16] migration-guides/release-notes-5.3: updates
Hi Antonin
Quoted 6 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.
Looks fine to me, we can always patch things up once merged in the worst case, so
Thanks!
Quentin
Antonin Godard
AppliedQuoted 9 lines · Antonin Godard
Update the documentation and release notes for 5.3, covering changes from
bd4625cd4db0("build-appliance-image: Update to master head revision") to4a1f38dd8db1("bitbake: knotty, uihelper: Removerunning_pidsand lastpids") in Poky.Note: this is based on the current master-next as it requires the uboot-config changes.
[...]
Applied, thanks!
[01/16] ref-manual/qa-checks.rst: drop var-undefined
commit: 5429187f5f034cf86628fb794ded91cdec731123
[02/16] ref-manual/features.rst: add new opencl feature
commit: 202adb84fdad6673ed5b91a6c9642791237cf76b
[03/16] ref-manual/classes.rst: document the python_pdm class
commit: bbec8adf0fb2dfa8b34e631249a6d6e71aa08386
[04/16] ref-manual/classes.rst: ccache: mention that the host's ccache can be used
commit: 47ded4e32c28420ddb47278b299093af649fab75
[05/16] ref-manual/classes,variables: document the CCACHE_DISABLE variable
commit: b1b4adc8d4d9d23ff6fd91bca632bb0f5277e72b
[06/16] ref-manual/variables.rst: document the REQUIRED_TUNE_FEATURES variable
commit: 9652c101092c34233f00418fcc2a84a86fbc9a9b
[07/16] ref-manual/variables.rst: document the REQUIRED_MACHINE_FEATURES variable
commit: c0551456cba6016d5014c2be8d6906e58a324cc4
[08/16] ref-manual/variables.rst: document the REQUIRED_COMBINED_FEATURES variable
commit: bbc7f26240c2db5cd4179f297ae49c778789514e
[09/16] ref-manual/variables.rst: document the REQUIRED_IMAGE_FEATURES variable
commit: 860ddbd491ee9db291868bd939392538a2c64a4b
[10/16] ref-manual/variables.rst: document the USE_NLS variable
commit: 92a55345a56b5038c0344669daaa7a3a99dd0fc0
[11/16] ref-manual/classes.rst: gettext: extend the documentation of the class
commit: d877e54f1c85cefc00dd674d60f2db81446bd95a
[12/16] ref-manual/classes.rst: document the rust-target-config class
commit: a9dc48f4bbfb9abfdffc7f0caa8285f7c72cc2d9
[13/16] ref-manual/features.rst: add entry for the coresight machine feature
commit: 4b010341a83f515140cb52329107d6da04590a8c
[14/16] ref-manual/classes.rst: document the relative_symlinks class
commit: c0dc554eba7d421023ecc68a70b7a19df38628b0
[15/16] ref-manual: document UBOOT_MAKE_OPTS
commit: 0fc14dca55d3760491cc40ac8c136c9dbdd23dbb
[16/16] migration-guides/release-notes-5.3: updates
commit: 5cb37206ca0dfaa0dafabb28ebd546b591c88486Best regards,
Signature · 1 line
Antonin Godard <[email protected]>