From 4130f9a595c6c4363d4c5cda0e5a0c193c1272c4 Mon Sep 17 00:00:00 2001 From: Antonin Godard Date: Tue, 25 Mar 2025 10:20:55 +0100 Subject: [PATCH] migration-guides/migration-5.2: update for upcoming 5.2 release Changes since 87d7341465f8 ("python3-iniparse: remove recipe") up to 9cd6b3ad8b9b ("cronie: Resolve build failure with GCC15") in Poky. (From yocto-docs rev: c20001db2544c7d1c3cd9a34f629f452a2f3029d) Signed-off-by: Antonin Godard Signed-off-by: Richard Purdie --- .../migration-guides/migration-5.2.rst | 46 +++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/documentation/migration-guides/migration-5.2.rst b/documentation/migration-guides/migration-5.2.rst index c4ee3fadd5..b5df4412e3 100644 --- a/documentation/migration-guides/migration-5.2.rst +++ b/documentation/migration-guides/migration-5.2.rst @@ -94,6 +94,11 @@ systemd changes not for socket files). Now all service files must be explicitly added to :term:`FILES`. +- Add ``create-log-dirs`` back to the configuration options. To enable + persistent logging a user can now set the "Storage" option of + ``journald.conf`` to "persistent". The ``/var/log/journal`` directory is now + used for logging instead of ``/run/log``. + Multiconfig changes ~~~~~~~~~~~~~~~~~~~ @@ -151,9 +156,32 @@ c++/binutils)" ` in find m4 macros, then usually the solution is to set ``EXTRA_AUTORECONF += "-I path/to/m4"`` in the recipe. +- The :ref:`ref-classes-autotools` class now requires any recipe that inherits + the class to have a ``configure`` script. The configuration script location + is stored in the :term:`CONFIGURE_SCRIPT` variable. The + :ref:`ref-tasks-configure` task will fail if the script is missing. + +:term:`UBOOT_ENTRYPOINT` changes +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +The :term:`UBOOT_ENTRYPOINT` variable should now be defined with a leading +``0x`` to its value. For example, consider the following assignment:: + + UBOOT_ENTRYPOINT ?= "20008000" + +This should now be replaced by:: + + UBOOT_ENTRYPOINT ?= "0x20008000" + Recipe changes ~~~~~~~~~~~~~~ +- The ``libnss-mdns`` recipe is now renamed to ``avahi-libnss-mdns`` to avoid a + conflict with meta-networking. + +- :ref:`ref-classes-ptest` support for the ``valgrind`` recipe was removed, due + to regressions occurring after updating Glibc to 2.41. + Removed variables ~~~~~~~~~~~~~~~~~ @@ -176,10 +204,19 @@ Removed recipes The following recipes have been removed in this release: - ``liburi-perl``: moved to :oe_git:`meta-perl `. + - ``python3-isodate``: moved to :oe_git:`meta-python `. + - ``python3-iniparse``: removed as there are no consumers of this recipe in :oe_git:`openembedded-core ` or :oe_git:`meta-openembedded `. +- ``blktool``: It was created in 2004 as an alternative to hdparm and never + updated since (while :wikipedia:`hdparm ` remains in active. + +- ``cargo-c-native``: converted to a target recipe and renamed to ``cargo-c``. + +- ``libnss-mdns``: renamed to ``avahi-libnss-mdns`` + Removed classes ~~~~~~~~~~~~~~~ @@ -188,6 +225,12 @@ The following classes have been removed in this release: - ``migrate_localcount.bbclass``: obsolete class for which code was already removed in 2012. +Removed features +~~~~~~~~~~~~~~~~ + +- The ``ld-is-gold`` distro feature was removed from the + :term:`DISTRO_FEATURES`. + Miscellaneous changes ~~~~~~~~~~~~~~~~~~~~~ @@ -201,3 +244,6 @@ Miscellaneous changes Therefore, the :term:`UBOOT_ENV` is no longer handled by the ``kernel-fitimage.bbclass``. There is a new variable :term:`FIT_UBOOT_ENV` which should be used for adding a U-Boot script to a FIT image. + +- The ``devtool ide-sdk`` utility has been removed from the :doc:`eSDK + ` (but remains available in the BitBake environment).