blob: 888a1c60d445f0f4270473c2e48da6ca23c9daf4 [file] [log] [blame]
Patrick Williams03514f12024-04-05 07:04:11 -05001.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
2
3Release 5.0 LTS (scarthgap)
4===========================
5
6Migration notes for 5.0 (scarthgap)
7------------------------------------
8
9This section provides migration information for moving to the Yocto
10Project 5.0 Release (codename "scarthgap") from the prior release.
11
12To migrate from an earlier LTS release, you **also** need to check all
13the previous migration notes from your release to this new one:
14
15- :doc:`/migration-guides/migration-4.3`
16- :doc:`/migration-guides/migration-4.2`
17- :doc:`/migration-guides/migration-4.1`
18- :doc:`/migration-guides/migration-4.0`
19- :doc:`/migration-guides/migration-3.4`
20- :doc:`/migration-guides/migration-3.3`
21- :doc:`/migration-guides/migration-3.2`
22
23.. _migration-5.0-supported-kernel-versions:
24
25Supported kernel versions
26~~~~~~~~~~~~~~~~~~~~~~~~~
27
28The :term:`OLDEST_KERNEL` setting is still "5.15" in this release, meaning that
29out the box, older kernels are not supported. See :ref:`4.3 migration notes
30<migration-4.3-supported-kernel-versions>` for details.
31
32.. _migration-5.0-supported-distributions:
33
34Supported distributions
35~~~~~~~~~~~~~~~~~~~~~~~
36
37Compared to the previous releases, running BitBake is supported on new
38GNU/Linux distributions:
39
40- Rocky 9
41
42On the other hand, some earlier distributions are no longer supported:
43
44- Fedora 37
45- Ubuntu 22.10
46- OpenSUSE Leap 15.3
47
48See :ref:`all supported distributions <system-requirements-supported-distros>`.
49
50.. _migration-5.0-go-changes:
51
52Go language changes
53~~~~~~~~~~~~~~~~~~~
54
Patrick Williams44b3caf2024-04-12 16:51:14 -050055The ``linkmode`` flag was dropped from ``GO_LDFLAGS`` for ``nativesdk`` and
56``cross-canadian``. Also, dynamic linking was disabled for the whole set of
57(previously) supported architectures in the ``goarch`` class.
58
Patrick Williams03514f12024-04-05 07:04:11 -050059.. _migration-5.0-systemd-changes:
60
61systemd changes
62~~~~~~~~~~~~~~~
63
Patrick Williams44b3caf2024-04-12 16:51:14 -050064Systemd's nss-resolve plugin is now supported and can be added via the
65``nss-resolve`` :term:`PACKAGECONFIG` option , which is from now on required
66(along with ``resolved``) by the ``systemd-resolved`` feature. Related to that
67(i.e., Systemd's network name resolution), an option to use ``stub-resolv.conf``
68was added as well.
69
Patrick Williams03514f12024-04-05 07:04:11 -050070.. _migration-5.0-recipe-changes:
71
72Recipe changes
73~~~~~~~~~~~~~~
74
75- Runtime testing of ptest now fails if no test results are returned by
76 any given ptest.
77
78.. _migration-5.0-deprecated-variables:
79
80Deprecated variables
81~~~~~~~~~~~~~~~~~~~~
82
Patrick Williams44b3caf2024-04-12 16:51:14 -050083No variables have been deprecated in this release.
Patrick Williams03514f12024-04-05 07:04:11 -050084
85.. _migration-5.0-removed-variables:
86
87Removed variables
88~~~~~~~~~~~~~~~~~
89
90The following variables have been removed:
91
Patrick Williams44b3caf2024-04-12 16:51:14 -050092- ``DEPLOY_DIR_TAR``.
93- ``PYTHON_PN``: Python 2 has been removed, leaving Python 3 as the sole
94 major version. Therefore, an abstraction to differentiate both versions is
95 no longer needed.
96- ``oldincludedir``.
97- ``USE_L10N``: previously deprecated, and now removed.
98- ``CVE_SOCKET_TIMEOUT``.
99
Patrick Williams03514f12024-04-05 07:04:11 -0500100.. _migration-5.0-removed-recipes:
101
102Removed recipes
103~~~~~~~~~~~~~~~
104
105The following recipes have been removed in this release:
106
Patrick Williams44b3caf2024-04-12 16:51:14 -0500107- ``libcroco``: deprecated and archived by the Gnome Project.
108- ``linux-yocto``: version 6.1 (version 6.6 provided instead).
109- ``zvariant``: fails to build with newer Rust.
110- ``systemtap-uprobes``: obsolete.
111
Patrick Williams03514f12024-04-05 07:04:11 -0500112.. _migration-5.0-removed-classes:
113
114Removed classes
115~~~~~~~~~~~~~~~
116
Patrick Williams44b3caf2024-04-12 16:51:14 -0500117No classes have been removed in this release.
Patrick Williams03514f12024-04-05 07:04:11 -0500118
119.. _migration-5.0-qemu-changes:
120
121QEMU changes
122~~~~~~~~~~~~
123
Patrick Williams44b3caf2024-04-12 16:51:14 -0500124In ``tune-core2``, the cpu models ``n270`` and ``core2duo`` are no longer
125passed to QEMU, since its documentation recommends not using them with ``-cpu``
126option. Therefore, from now on, ``Nehalem`` model is used instead.
127
Patrick Williams03514f12024-04-05 07:04:11 -0500128.. _migration-5.0-misc-changes:
129
130Miscellaneous changes
131~~~~~~~~~~~~~~~~~~~~~
132
Patrick Williams44b3caf2024-04-12 16:51:14 -0500133- ``bitbake-whatchanged`` script was removed.
134- ``ccache`` no longer supports FORTRAN.