poky/documentation/migration-guides/migration-5.0.rst
Joao Marcos Costa 6e147fabdd migration updates for 5.0
List removed recipes
Fill the 'Removed recipes' section for the upcoming release 5.0

Leave some sections empty
Only mention that no classes were removed and no variables were removed in the
upcoming release 5.0.

List systemd changes
Mention the nss-resolve related changes.

Add Go language changes

List removed variables
Fill the 'Removed variables' section for the upcoming release 5.0

Add QEMU changes
Add Miscellaneous changes

(From yocto-docs rev: cbc0b6fa333984c0c49f3c94daffd496815b5d68)

Signed-off-by: Joao Marcos Costa <joaomarcos.costa@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-08 14:36:38 +01:00

135 lines
3.7 KiB
ReStructuredText

.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
Release 5.0 LTS (scarthgap)
===========================
Migration notes for 5.0 (scarthgap)
------------------------------------
This section provides migration information for moving to the Yocto
Project 5.0 Release (codename "scarthgap") from the prior release.
To migrate from an earlier LTS release, you **also** need to check all
the previous migration notes from your release to this new one:
- :doc:`/migration-guides/migration-4.3`
- :doc:`/migration-guides/migration-4.2`
- :doc:`/migration-guides/migration-4.1`
- :doc:`/migration-guides/migration-4.0`
- :doc:`/migration-guides/migration-3.4`
- :doc:`/migration-guides/migration-3.3`
- :doc:`/migration-guides/migration-3.2`
.. _migration-5.0-supported-kernel-versions:
Supported kernel versions
~~~~~~~~~~~~~~~~~~~~~~~~~
The :term:`OLDEST_KERNEL` setting is still "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.
.. _migration-5.0-supported-distributions:
Supported distributions
~~~~~~~~~~~~~~~~~~~~~~~
Compared to the previous releases, running BitBake is supported on new
GNU/Linux distributions:
- Rocky 9
On the other hand, some earlier distributions are no longer supported:
- Fedora 37
- Ubuntu 22.10
- OpenSUSE Leap 15.3
See :ref:`all supported distributions <system-requirements-supported-distros>`.
.. _migration-5.0-go-changes:
Go language changes
~~~~~~~~~~~~~~~~~~~
The ``linkmode`` flag was dropped from ``GO_LDFLAGS`` for ``nativesdk`` and
``cross-canadian``. Also, dynamic linking was disabled for the whole set of
(previously) supported architectures in the ``goarch`` class.
.. _migration-5.0-systemd-changes:
systemd changes
~~~~~~~~~~~~~~~
Systemd's nss-resolve plugin is now supported and can be added via the
``nss-resolve`` :term:`PACKAGECONFIG` option , which is from now on required
(along with ``resolved``) by the ``systemd-resolved`` feature. Related to that
(i.e., Systemd's network name resolution), an option to use ``stub-resolv.conf``
was added as well.
.. _migration-5.0-recipe-changes:
Recipe changes
~~~~~~~~~~~~~~
- Runtime testing of ptest now fails if no test results are returned by
any given ptest.
.. _migration-5.0-deprecated-variables:
Deprecated variables
~~~~~~~~~~~~~~~~~~~~
No variables have been deprecated in this release.
.. _migration-5.0-removed-variables:
Removed variables
~~~~~~~~~~~~~~~~~
The following variables have been removed:
- ``DEPLOY_DIR_TAR``.
- ``PYTHON_PN``: Python 2 has been removed, leaving Python 3 as the sole
major version. Therefore, an abstraction to differentiate both versions is
no longer needed.
- ``oldincludedir``.
- ``USE_L10N``: previously deprecated, and now removed.
- ``CVE_SOCKET_TIMEOUT``.
.. _migration-5.0-removed-recipes:
Removed recipes
~~~~~~~~~~~~~~~
The following recipes have been removed in this release:
- ``libcroco``: deprecated and archived by the Gnome Project.
- ``linux-yocto``: version 6.1 (version 6.6 provided instead).
- ``zvariant``: fails to build with newer Rust.
- ``systemtap-uprobes``: obsolete.
.. _migration-5.0-removed-classes:
Removed classes
~~~~~~~~~~~~~~~
No classes have been removed in this release.
.. _migration-5.0-qemu-changes:
QEMU changes
~~~~~~~~~~~~
In ``tune-core2``, the cpu models ``n270`` and ``core2duo`` are no longer
passed to QEMU, since its documentation recommends not using them with ``-cpu``
option. Therefore, from now on, ``Nehalem`` model is used instead.
.. _migration-5.0-misc-changes:
Miscellaneous changes
~~~~~~~~~~~~~~~~~~~~~
- ``bitbake-whatchanged`` script was removed.
- ``ccache`` no longer supports FORTRAN.