diff options
author | Antonin Godard <antonin.godard@bootlin.com> | 2024-10-09 09:41:13 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-10-11 17:05:04 +0100 |
commit | 494983bc9267a23b7d075650352d6d5fac367c3e (patch) | |
tree | ffc4435c49f9a56555f9ec2718cf275698b9a93a /documentation/migration-guides/migration-5.1.rst | |
parent | 49d98fab62cf2d2135a8c1adc2c195ed32b9c13d (diff) | |
download | poky-494983bc9267a23b7d075650352d6d5fac367c3e.tar.gz |
release-notes-5.1: update release note for styhead
Finalize the release note for the 5.1 release (styhead).
Add enhancements, changes, removals, license changes, and migration
notes for this release by going over the git commit log of
openembedded-core, bitbake and meta-yocto.
(From yocto-docs rev: 65618b0588053d2c4325d995482957b660f5e104)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/migration-guides/migration-5.1.rst')
-rw-r--r-- | documentation/migration-guides/migration-5.1.rst | 63 |
1 files changed, 55 insertions, 8 deletions
diff --git a/documentation/migration-guides/migration-5.1.rst b/documentation/migration-guides/migration-5.1.rst index 298ff3e250..9d8f4b3c6d 100644 --- a/documentation/migration-guides/migration-5.1.rst +++ b/documentation/migration-guides/migration-5.1.rst | |||
@@ -86,8 +86,15 @@ Supported distributions | |||
86 | Compared to the previous releases, running BitBake is supported on new | 86 | Compared to the previous releases, running BitBake is supported on new |
87 | GNU/Linux distributions: | 87 | GNU/Linux distributions: |
88 | 88 | ||
89 | - Ubuntu 24.10 | ||
90 | - Fedora 40 | ||
91 | - OpenSUSE Leap 15.5 | ||
92 | - OpenSUSE Leap 15.6 | ||
93 | |||
89 | On the other hand, some earlier distributions are no longer supported: | 94 | On the other hand, some earlier distributions are no longer supported: |
90 | 95 | ||
96 | - Ubuntu 23.04 | ||
97 | |||
91 | See :ref:`all supported distributions <system-requirements-supported-distros>`. | 98 | See :ref:`all supported distributions <system-requirements-supported-distros>`. |
92 | 99 | ||
93 | .. _migration-5.1-go-changes: | 100 | .. _migration-5.1-go-changes: |
@@ -95,20 +102,35 @@ See :ref:`all supported distributions <system-requirements-supported-distros>`. | |||
95 | Go language changes | 102 | Go language changes |
96 | ~~~~~~~~~~~~~~~~~~~ | 103 | ~~~~~~~~~~~~~~~~~~~ |
97 | 104 | ||
105 | - After dropping the custom :ref:`ref-tasks-unpack` from the | ||
106 | :ref:`ref-classes-go` class, go recipes should now add | ||
107 | ``destsuffix=${GO_SRCURI_DESTSUFFIX}`` to their :term:`SRC_URI` to extract | ||
108 | them in the appropriate path. An example would be:: | ||
109 | |||
110 | SRC_URI = "git://go.googlesource.com/example;branch=master;protocol=https;destsuffix=${GO_SRCURI_DESTSUFFIX}" | ||
111 | |||
112 | - Go modules are no longer compiled with ``--linkmode=external``. | ||
113 | |||
98 | .. _migration-5.1-systemd-changes: | 114 | .. _migration-5.1-systemd-changes: |
99 | 115 | ||
100 | systemd changes | 116 | systemd changes |
101 | ~~~~~~~~~~~~~~~ | 117 | ~~~~~~~~~~~~~~~ |
102 | 118 | ||
119 | - New :term:`PACKAGECONFIG` value ``bpf-framework`` used to pre-compile eBPFs | ||
120 | that are required for the systemd.resource-control features | ||
121 | ``RestrictFileSystems`` and ``RestrictNetworkInterfaces``. | ||
122 | |||
103 | .. _migration-5.1-recipe-changes: | 123 | .. _migration-5.1-recipe-changes: |
104 | 124 | ||
105 | Recipe changes | 125 | Recipe changes |
106 | ~~~~~~~~~~~~~~ | 126 | ~~~~~~~~~~~~~~ |
107 | 127 | ||
108 | .. _migration-5.1-deprecated-variables: | 128 | - ``gobject-introspection``: the ``giscanner`` utility is now shipped as a |
129 | separate package in ``gobject-introspection-tools``. | ||
130 | |||
131 | - ``perf`` no longer uses ``libnewt`` for compiling its TUI. | ||
109 | 132 | ||
110 | Deprecated variables | 133 | - ``openssl``: do not build the test suite unless ptests are enabled. |
111 | ~~~~~~~~~~~~~~~~~~~~ | ||
112 | 134 | ||
113 | .. _migration-5.1-removed-variables: | 135 | .. _migration-5.1-removed-variables: |
114 | 136 | ||
@@ -117,6 +139,9 @@ Removed variables | |||
117 | 139 | ||
118 | The following variables have been removed: | 140 | The following variables have been removed: |
119 | 141 | ||
142 | - ``TCLIBCAPPEND`` is now removed as sharing :term:`TMPDIR` for multiple libc | ||
143 | providers has been supported for years. | ||
144 | |||
120 | .. _migration-5.1-removed-recipes: | 145 | .. _migration-5.1-removed-recipes: |
121 | 146 | ||
122 | Removed recipes | 147 | Removed recipes |
@@ -124,19 +149,35 @@ Removed recipes | |||
124 | 149 | ||
125 | The following recipes have been removed in this release: | 150 | The following recipes have been removed in this release: |
126 | 151 | ||
152 | - ``liba52``: superseded by ``ffmpeg`` | ||
153 | - ``libomxil``: recipe removed as its only consumer, the gstreamer omx plugin, | ||
154 | was removed and has not been developed for several years | ||
155 | - ``libnewt``: moved to meta-oe | ||
156 | - ``mpeg2dec``: inactive for 10 years and superseded by ``ffmpeg`` | ||
157 | - ``pytest-runner``: moved to meta-python | ||
158 | - ``python3-importlib-metadata``: moved to meta-python | ||
159 | - ``python3-pathlib2``: moved to meta-python | ||
160 | - ``python3-py``: moved to meta-python | ||
161 | - ``python3-rfc3986-validator``: moved to meta-python | ||
162 | - ``python3-toml``: moved to meta-python | ||
163 | - ``python3-tomli``: moved to meta-python | ||
164 | - ``usbinit``: recipe was poorly named as it is a gadget Ethernet driver. | ||
165 | Gadget Ethernet is of questionable use now and usbinit isn't referenced/used | ||
166 | anywhere within OE-Core. | ||
167 | |||
168 | |||
127 | .. _migration-5.1-removed-classes: | 169 | .. _migration-5.1-removed-classes: |
128 | 170 | ||
129 | Removed classes | 171 | Removed classes |
130 | ~~~~~~~~~~~~~~~ | 172 | ~~~~~~~~~~~~~~~ |
131 | 173 | ||
132 | No classes have been removed in this release. | 174 | The following classes have been removed in this release: |
133 | 175 | ||
134 | .. _migration-5.1-qemu-changes: | 176 | - ``siteconfig``: removed as it was only used by ``ncurses`` and ``zlib`` and |
177 | adding minimal added-value for a considerable amount of added runtime. | ||
135 | 178 | ||
136 | QEMU changes | ||
137 | ~~~~~~~~~~~~ | ||
138 | 179 | ||
139 | .. _migration-5.1-misc-changes: | 180 | .. _migration-5.1-qemu-changes: |
140 | 181 | ||
141 | Miscellaneous changes | 182 | Miscellaneous changes |
142 | ~~~~~~~~~~~~~~~~~~~~~ | 183 | ~~~~~~~~~~~~~~~~~~~~~ |
@@ -155,3 +196,9 @@ Miscellaneous changes | |||
155 | Environment variables containing relative paths from tested build directory | 196 | Environment variables containing relative paths from tested build directory |
156 | to outside of the original build directory may need to be updated as they | 197 | to outside of the original build directory may need to be updated as they |
157 | won't be changed by `oe-selftest`. | 198 | won't be changed by `oe-selftest`. |
199 | |||
200 | - Several sanity checks from the :ref:`ref-classes-insane` class, such as | ||
201 | ``buildpaths``, have been promoted to errors instead of warnings. | ||
202 | |||
203 | - The ``license-incompatible`` :term:`ERROR_QA` sanity check was renamed to | ||
204 | ``license-exception``. | ||