Patrick Williams | 03514f1 | 2024-04-05 07:04:11 -0500 | [diff] [blame] | 1 | .. SPDX-License-Identifier: CC-BY-SA-2.0-UK |
| 2 | |
| 3 | Release 5.0 LTS (scarthgap) |
| 4 | =========================== |
| 5 | |
| 6 | Migration notes for 5.0 (scarthgap) |
| 7 | ------------------------------------ |
| 8 | |
| 9 | This section provides migration information for moving to the Yocto |
| 10 | Project 5.0 Release (codename "scarthgap") from the prior release. |
| 11 | |
| 12 | To migrate from an earlier LTS release, you **also** need to check all |
| 13 | the 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 | |
| 25 | Supported kernel versions |
| 26 | ~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 27 | |
| 28 | The :term:`OLDEST_KERNEL` setting is still "5.15" in this release, meaning that |
| 29 | out 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 | |
| 34 | Supported distributions |
| 35 | ~~~~~~~~~~~~~~~~~~~~~~~ |
| 36 | |
| 37 | Compared to the previous releases, running BitBake is supported on new |
| 38 | GNU/Linux distributions: |
| 39 | |
| 40 | - Rocky 9 |
| 41 | |
| 42 | On the other hand, some earlier distributions are no longer supported: |
| 43 | |
| 44 | - Fedora 37 |
| 45 | - Ubuntu 22.10 |
| 46 | - OpenSUSE Leap 15.3 |
| 47 | |
| 48 | See :ref:`all supported distributions <system-requirements-supported-distros>`. |
| 49 | |
| 50 | .. _migration-5.0-go-changes: |
| 51 | |
| 52 | Go language changes |
| 53 | ~~~~~~~~~~~~~~~~~~~ |
| 54 | |
Patrick Williams | 44b3caf | 2024-04-12 16:51:14 -0500 | [diff] [blame] | 55 | The ``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 Williams | 03514f1 | 2024-04-05 07:04:11 -0500 | [diff] [blame] | 59 | .. _migration-5.0-systemd-changes: |
| 60 | |
| 61 | systemd changes |
| 62 | ~~~~~~~~~~~~~~~ |
| 63 | |
Patrick Williams | 44b3caf | 2024-04-12 16:51:14 -0500 | [diff] [blame] | 64 | Systemd'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`` |
| 68 | was added as well. |
| 69 | |
Patrick Williams | 03514f1 | 2024-04-05 07:04:11 -0500 | [diff] [blame] | 70 | .. _migration-5.0-recipe-changes: |
| 71 | |
| 72 | Recipe 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 | |
| 80 | Deprecated variables |
| 81 | ~~~~~~~~~~~~~~~~~~~~ |
| 82 | |
Patrick Williams | 44b3caf | 2024-04-12 16:51:14 -0500 | [diff] [blame] | 83 | No variables have been deprecated in this release. |
Patrick Williams | 03514f1 | 2024-04-05 07:04:11 -0500 | [diff] [blame] | 84 | |
| 85 | .. _migration-5.0-removed-variables: |
| 86 | |
| 87 | Removed variables |
| 88 | ~~~~~~~~~~~~~~~~~ |
| 89 | |
| 90 | The following variables have been removed: |
| 91 | |
Patrick Williams | 44b3caf | 2024-04-12 16:51:14 -0500 | [diff] [blame] | 92 | - ``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 Williams | 03514f1 | 2024-04-05 07:04:11 -0500 | [diff] [blame] | 100 | .. _migration-5.0-removed-recipes: |
| 101 | |
| 102 | Removed recipes |
| 103 | ~~~~~~~~~~~~~~~ |
| 104 | |
| 105 | The following recipes have been removed in this release: |
| 106 | |
Patrick Williams | 44b3caf | 2024-04-12 16:51:14 -0500 | [diff] [blame] | 107 | - ``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 Williams | 03514f1 | 2024-04-05 07:04:11 -0500 | [diff] [blame] | 112 | .. _migration-5.0-removed-classes: |
| 113 | |
| 114 | Removed classes |
| 115 | ~~~~~~~~~~~~~~~ |
| 116 | |
Patrick Williams | 44b3caf | 2024-04-12 16:51:14 -0500 | [diff] [blame] | 117 | No classes have been removed in this release. |
Patrick Williams | 03514f1 | 2024-04-05 07:04:11 -0500 | [diff] [blame] | 118 | |
| 119 | .. _migration-5.0-qemu-changes: |
| 120 | |
| 121 | QEMU changes |
| 122 | ~~~~~~~~~~~~ |
| 123 | |
Patrick Williams | 44b3caf | 2024-04-12 16:51:14 -0500 | [diff] [blame] | 124 | In ``tune-core2``, the cpu models ``n270`` and ``core2duo`` are no longer |
| 125 | passed to QEMU, since its documentation recommends not using them with ``-cpu`` |
| 126 | option. Therefore, from now on, ``Nehalem`` model is used instead. |
| 127 | |
Patrick Williams | 03514f1 | 2024-04-05 07:04:11 -0500 | [diff] [blame] | 128 | .. _migration-5.0-misc-changes: |
| 129 | |
| 130 | Miscellaneous changes |
| 131 | ~~~~~~~~~~~~~~~~~~~~~ |
| 132 | |
Patrick Williams | 44b3caf | 2024-04-12 16:51:14 -0500 | [diff] [blame] | 133 | - ``bitbake-whatchanged`` script was removed. |
| 134 | - ``ccache`` no longer supports FORTRAN. |