Cover recent upstream changes
cover Cover recent upstream changes
---
Antonin Godard (7):
ref-manual/variables.rst: document the USERMOD_PARAMS variable migration-guides/migration-6.1.rst: add USERMOD_PARAMS note ref-manual/variables.rst: add deprecation note for GROUPMEMS_PARAM ref-manual/classes.rst: document python_uv_build migration-guides/migration-6.1.rst: add note on oe.utils.*_distro_features() removal ref-manual/variables.rst: document the UBOOT_FIT_CONF_DESC variable migration-guides/migration/release-notes-6.1.rst: cover recent changes
documentation/migration-guides/migration-6.1.rst | 48 +++++ .../migration-guides/release-notes-6.1.rst | 221 ++++++++++++++++++++- documentation/ref-manual/classes.rst | 9 + documentation/ref-manual/variables.rst | 21 +- 4 files changed, 291 insertions(+), 8 deletions(-)
---
base-commit: 4562ba19f36e54099bcae82cec8a70deb1c23aa7
change-id: 20260626-master-updates-1-e950d445c590
PATCH 1/7 ref-manual/variables.rst: document the USERMOD_PARAMS variable
Added by commit b8da733ab12c ("useradd.bbclass: Add support for USERMOD_PARAM") in OE-Core.
--- documentation/ref-manual/variables.rst | 8 ++++++++ 1 file changed, 8 insertions(+)
documentation/ref-manual/variables.rst +8 -0
@@ -12283,6 +12283,14 @@ system and gives an overview of their function and contents. Additionally, you should also set the :term:`USERADD_ERROR_DYNAMIC` variable. + :term:`USERMOD_PARAMS` + When a recipe inherits the :ref:`ref-classes-useradd` class, this variable + specifies for a package what parameters should be passed to the ``usermod`` + command if you wish to modify a user when the package is installed. + Is is typically used to add the user to one or more groups. For example:: + + USERMOD_PARAM:${PN} = "--append --groups group1,group2 user" + :term:`VIRTUAL-RUNTIME` :term:`VIRTUAL-RUNTIME` is a commonly used prefix for defining virtual packages for runtime usage, typically for use in :term:`RDEPENDS`
Signature · 1 line
2.54.0
PATCH 2/7 migration-guides/migration-6.1.rst: add USERMOD_PARAMS note
In reply to Antonin GodardAfter commit b8da733ab12c ("useradd.bbclass: Add support for USERMOD_PARAM") in OE-Core.
--- documentation/migration-guides/migration-6.1.rst | 26 ++++++++++++++++++++++++ 1 file changed, 26 insertions(+)
documentation/migration-guides/migration-6.1.rst +26 -0
@@ -34,6 +34,32 @@ On the other hand, some earlier distributions are no longer supported: See :ref:`all supported distributions <system-requirements-supported-distros>`. +.. _ref-migration-6-1-groupmems: + +useradd: replace :term:`GROUPMEMS_PARAM` assignments to :term:`USERMOD_PARAMS` +------------------------------------------------------------------------------ + +The ``groupmems`` command is removed from the ``shadow`` recipe starting from +version 4.20. The same functionality provided by ``groupmems`` can be achieved +with the ``usermod`` command. + +Assignments made to the :term:`GROUPMEMS_PARAM` variable can be converted to use +:term:`USERMOD_PARAMS`, by replacing:: + + GROUPMEMS_PARAM:${PN} = "--add user --group group1; \ + --add user --group group2" + +With:: + + USERMOD_PARAM:${PN} = "--append --groups group1 user; \ + --append --groups group2 user" + +Or written more simply as:: + + USERMOD_PARAM:${PN} = "--append --groups group1,group2 user" + +See (:oecore_rev:`b8da733ab12c64503a353d5ceb2eb63fed95d851`) for more details. + Removed recipes ---------------
Signature · 1 line
2.54.0
PATCH 3/7 ref-manual/variables.rst: add deprecation note for GROUPMEMS_PARAM
In reply to Antonin Godard--- documentation/ref-manual/variables.rst | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-)
documentation/ref-manual/variables.rst +2 -7
@@ -3904,13 +3904,8 @@ system and gives an overview of their function and contents. ``groupadd``, see https://linux.die.net/man/8/groupadd. :term:`GROUPMEMS_PARAM` - When inheriting the :ref:`ref-classes-useradd` class, - this variable specifies for a package what parameters should be - passed to the ``groupmems`` command if you wish to modify the members - of a group when the package is installed. - - For information on the standard Linux shell command ``groupmems``, - see https://linux.die.net/man/8/groupmems. + Deprecated in favor of :term:`USERMOD_PARAMS`. See + :ref:`ref-migration-6-1-groupmems` for more information. :term:`GRUB_GFXSERIAL` Configures the GNU GRand Unified Bootloader (GRUB) to have graphics
Signature · 1 line
2.54.0
PATCH 4/7 ref-manual/classes.rst: document python_uv_build
In reply to Antonin GodardAdded by commit c535a9f5dbdc ("python_uv_build: add PEP-517 backend class") in OE-Core.
--- documentation/ref-manual/classes.rst | 9 +++++++++ 1 file changed, 9 insertions(+)
documentation/ref-manual/classes.rst +9 -0
@@ -2261,6 +2261,15 @@ environment for cross compilation. This class is internal to the :ref:`ref-classes-python-setuptools3_rust` class and is not meant to be used directly in recipes. +.. _ref-classes-python_uv_build: + +``python_uv_build`` +=================== + +The :ref:`ref-classes-python_uv_build` class can be inherited in Python recipes +that are built with ``uv_build`` and which are `PEP-517 +<https://www.python.org/dev/peps/pep-0517/>`__ compliant. + .. _ref-classes-python-setuptools3_rust: ``python-setuptools3_rust``
Signature · 1 line
2.54.0
PATCH 5/7 migration-guides/migration-6.1.rst: add note on oe.utils.*_distro_features() removal
In reply to Antonin GodardAfter commit d37813614b44 ("oe/utils: Drop any_distro_features") in OE-Core.
--- documentation/migration-guides/migration-6.1.rst | 15 +++++++++++++++ 1 file changed, 15 insertions(+)
documentation/migration-guides/migration-6.1.rst +15 -0
@@ -60,6 +60,21 @@ Or written more simply as:: See (:oecore_rev:`b8da733ab12c64503a353d5ceb2eb63fed95d851`) for more details. +Removal of ``oe.utils.all_distro_features()`` and ``oe.utils.any_distro_features()`` +------------------------------------------------------------------------------------ + +The ``oe.utils.all_distro_features()`` and ``oe.utils.any_distro_features()`` +functions have been removed from :term:`OpenEmbedded-Core (OE-Core)`. + +Those can be replaced by ``bb.utils.contains()`` and ``bb.utils.contains_any()`` +calls:: + + oe.utils.all_distro_features("x y", ...) -> bb.utils.contains("DISTRO_FEATURES", "x y", ...) + +And:: + + oe.utils.any_distro_features("x y", ...) -> bb.utils.contains_any("DISTRO_FEATURES", "x y", ...) + Removed recipes ---------------
Signature · 1 line
2.54.0
PATCH 6/7 ref-manual/variables.rst: document the UBOOT_FIT_CONF_DESC variable
In reply to Antonin GodardAdded by commit df16e4a3900f ("uboot-sign: allow customizing the FIT configuration description") in OE-Core.
--- documentation/ref-manual/variables.rst | 4 ++++ 1 file changed, 4 insertions(+)
documentation/ref-manual/variables.rst +4 -0
@@ -11563,6 +11563,10 @@ system and gives an overview of their function and contents. do_compile[depends] += "trusted-firmware-a:do_deploy" + :term:`UBOOT_FIT_CONF_DESC` + The :term:`UBOOT_FIT_CONF_DESC` can be set to override the description + property of the configuration node of a U-Boot FIT image. + :term:`UBOOT_FIT_CONF_FIRMWARE` Adds one image to the ``firmware`` property of the configuration node of the U-Boot Image Tree Source (ITS). Sets the ``firmware`` property to
Signature · 1 line
2.54.0
PATCH 7/7 migration-guides/migration/release-notes-6.1.rst: cover recent changes
In reply to Antonin GodardCover upstream changes:
- openembedded-core: 2946e238d2 to 4a72f62d32
- bitbake: 941cfe74c19 to 7e3489ab3ec
- meta-yocto: a67ae0e83d to 366fa2f21b
--- documentation/migration-guides/migration-6.1.rst | 7 + .../migration-guides/release-notes-6.1.rst | 221 ++++++++++++++++++++- 2 files changed, 227 insertions(+), 1 deletion(-)
documentation/migration-guides/migration-6.1.rst +7 -0
@@ -78,6 +78,13 @@ And:: Removed recipes --------------- +- ``libdazzle``, ``libhandy``: no longer a dependency of the ``epiphany`` recipe, moved to + `meta-gnome` (in `meta-openembedded`) + (:oecore_rev:`32d91b67b71de89e0e7cc7525371aec123655908`) + +- ``libpcre``: obsolete project now replaced by ``libpcre2`` + (:oecore_rev:`057cccd9576e1dd0f947fbfc390bc06b210f71cb`) + Removed :term:`PACKAGECONFIG` options -------------------------------------
documentation/migration-guides/release-notes-6.1.rst +220 -1
261 lines not on this page · raw message
Signature · 1 line
2.54.0
Antonin Godard
AppliedApplied, thanks!
[1/7] ref-manual/variables.rst: document the USERMOD_PARAMS variable
commit: 85eeb215978a6ed2f8fe66ce465084312a590e1e
[2/7] migration-guides/migration-6.1.rst: add USERMOD_PARAMS note
commit: 3a8eee5d056e3ec9f70023c84078f8e31d158d76
[3/7] ref-manual/variables.rst: add deprecation note for GROUPMEMS_PARAM
commit: d37434c73e36ddbb0926b5d0b79973af762558a9
[4/7] ref-manual/classes.rst: document python_uv_build
commit: 2b51a958f1a8f5967ef0896529e081102f7816a3
[5/7] migration-guides/migration-6.1.rst: add note on oe.utils.*_distro_features() removal
commit: 37cf8c7b0589f5258d6fc31ee8eabfd9bba1dbc2
[6/7] ref-manual/variables.rst: document the UBOOT_FIT_CONF_DESC variable
commit: 6f6bb544373f42c9e99db5dbc31ba66804e37118
[7/7] migration-guides/migration/release-notes-6.1.rst: cover recent changes
commit: fa41f0bd3d105410226cbe4df2b86b82aa7b93d2