diff options
-rw-r--r-- | documentation/migration-guides/release-notes-5.2.rst | 354 |
1 files changed, 318 insertions, 36 deletions
diff --git a/documentation/migration-guides/release-notes-5.2.rst b/documentation/migration-guides/release-notes-5.2.rst index d7115230dc..a8e6e2b6e8 100644 --- a/documentation/migration-guides/release-notes-5.2.rst +++ b/documentation/migration-guides/release-notes-5.2.rst | |||
@@ -9,19 +9,40 @@ Release notes for |yocto-ver| (|yocto-codename|) | |||
9 | New Features / Enhancements in |yocto-ver| | 9 | New Features / Enhancements in |yocto-ver| |
10 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 10 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
11 | 11 | ||
12 | - Linux kernel 6.XXX, gcc 14.XXX, glibc 2.XXX, LLVM 18.1.XXX, and over XXX other | 12 | - Linux kernel 6.12, gcc 14.2, glibc 2.41, LLVM 19.1.7, and over 300 other |
13 | recipe upgrades. | 13 | recipe upgrades. |
14 | 14 | ||
15 | - Minimum Python version required on the host: 3.9. | ||
16 | |||
15 | - New variables: | 17 | - New variables: |
16 | 18 | ||
17 | - ``linux-firmware``: Add the :term:`FIRMWARE_COMPRESSION` variable which | 19 | - ``linux-firmware``: Add the :term:`FIRMWARE_COMPRESSION` variable which |
18 | allows compression the firmwares provided by the ``linux-firmware`` recipe. | 20 | allows compression the firmwares provided by the ``linux-firmware`` recipe. |
19 | Possible values are ``xz`` and ``zst``. | 21 | Possible values are ``xz`` and ``zst``. |
20 | - reproducibility: Add the :term:`OEQA_REPRODUCIBLE_TEST_LEAF_TARGETS` | 22 | |
23 | - Reproducibility: Add the :term:`OEQA_REPRODUCIBLE_TEST_LEAF_TARGETS` | ||
21 | variable which enables a reproducibility test on recipes using | 24 | variable which enables a reproducibility test on recipes using |
22 | :ref:`Shared State <overview-manual/concepts:Shared State>` for the | 25 | :ref:`Shared State <overview-manual/concepts:Shared State>` for the |
23 | dependencies. See :doc:`/test-manual/reproducible-builds`. | 26 | dependencies. See :doc:`/test-manual/reproducible-builds`. |
24 | 27 | ||
28 | - ``systemd``: Add term:`WATCHDOG_RUNTIME_SEC`: for controlling the | ||
29 | ``RuntimeWatchdogSec`` option in ``/etc/systemd/system.conf``. | ||
30 | |||
31 | - :term:`FIT_UBOOT_ENV` to allow including a u-boot script as a text in a | ||
32 | fit image. See the :ref:`ref-classes-kernel-fitimage` for more information. | ||
33 | |||
34 | - :ref:`ref-classes-meson`: :term:`MESON_INSTALL_TAGS` to allow passing | ||
35 | install tags (``--tags``) to the ``meson install`` command during the | ||
36 | :ref:`ref-tasks-install` task. | ||
37 | |||
38 | - :ref:`ref-classes-cve-check`: :term:`NVD_DB_VERSION` to allow choosing the | ||
39 | CVE feed when using the :ref:`ref-classes-cve-check` class. | ||
40 | |||
41 | - The :term:`BB_USE_HOME_NPMRC` controls whether or not BitBake uses the | ||
42 | user's ``.npmrc`` file within their home directory within the npm fetcher. | ||
43 | This can be used for authentication of private NPM registries, among other | ||
44 | uses. | ||
45 | |||
25 | - Kernel-related changes: | 46 | - Kernel-related changes: |
26 | 47 | ||
27 | - :ref:`ref-classes-cml1`: in :ref:`ref-tasks-diffconfig`, do not override | 48 | - :ref:`ref-classes-cml1`: in :ref:`ref-tasks-diffconfig`, do not override |
@@ -38,11 +59,39 @@ New Features / Enhancements in |yocto-ver| | |||
38 | - ``qcom-qcm6490-ipa`` | 59 | - ``qcom-qcm6490-ipa`` |
39 | - ``qcom-x1e80100-audio`` | 60 | - ``qcom-x1e80100-audio`` |
40 | - ``qcom-qcs615-adreno`` | 61 | - ``qcom-qcs615-adreno`` |
62 | - ``qcom-aic100`` | ||
63 | - ``qcom-qdu100`` | ||
64 | - ``qca-qca2066`` | ||
65 | - ``qca-qca61x4-serial`` | ||
66 | - ``qca-qca61x4-usb`` | ||
67 | - ``qca-qca6390`` | ||
68 | - ``qca-qca6698`` | ||
69 | - ``qca-wcn3950`` | ||
70 | - ``qca-wcn3988`` | ||
71 | - ``qca-wcn399x`` | ||
72 | - ``qca-wcn6750`` | ||
73 | - ``qca-wcn7850`` | ||
74 | - ``qcom-2-license`` | ||
75 | - ``qcom-aic100`` | ||
76 | - ``qcom-qcm6490-wifi`` | ||
77 | - ``qcom-qdu100`` | ||
78 | - ``qcom-sa8775p-audio`` | ||
79 | - ``qcom-sa8775p-compute`` | ||
80 | - ``qcom-sa8775p-generalpurpose`` | ||
81 | - ``qcom-x1e80100-lenovo-t14s-g6-adreno`` | ||
82 | - ``qcom-x1e80100-lenovo-t14s-g6-audio`` | ||
83 | - ``qcom-x1e80100-lenovo-t14s-g6-compute`` | ||
84 | |||
85 | - ``linux-firmware``: split ``amgpu``, ``ath10k``, ``ath11k`` and ``ath12k`` | ||
86 | in separate packages. | ||
41 | 87 | ||
42 | - The :ref:`ref-classes-kernel-yocto` classes now supports in-tree | 88 | - The :ref:`ref-classes-kernel-yocto` classes now supports in-tree |
43 | configuration fragments. These can be added with the | 89 | configuration fragments. These can be added with the |
44 | :term:`KERNEL_FEATURES` variable. | 90 | :term:`KERNEL_FEATURES` variable. |
45 | 91 | ||
92 | - Kernel configuration audit can now be disabled by setting | ||
93 | :term:`KMETA_AUDIT` to 1. | ||
94 | |||
46 | - The ``kern-tools`` recipe is now able to recognize files ending with | 95 | - The ``kern-tools`` recipe is now able to recognize files ending with |
47 | ``.config`` for :ref:`ref-classes-kernel-yocto`-based Kernel recipes. | 96 | ``.config`` for :ref:`ref-classes-kernel-yocto`-based Kernel recipes. |
48 | 97 | ||
@@ -50,12 +99,19 @@ New Features / Enhancements in |yocto-ver| | |||
50 | :ref:`ref-classes-kernel-uboot` class. This can be done by setting the | 99 | :ref:`ref-classes-kernel-uboot` class. This can be done by setting the |
51 | variable :term:`FIT_KERNEL_COMP_ALG` to ``lzma``. | 100 | variable :term:`FIT_KERNEL_COMP_ALG` to ``lzma``. |
52 | 101 | ||
102 | - :ref:`ref-classes-kernel-yocto`: Reproducibility for commits created by | ||
103 | the :ref:`ref-classes-kernel-yocto` class was improved. | ||
104 | |||
105 | - ``kernel-arch``: add ``-fmacro-prefix-map`` in ``KERNEL_CC`` to fix a | ||
106 | reproducibility issue. | ||
107 | |||
53 | - New core recipes: | 108 | - New core recipes: |
54 | 109 | ||
55 | - ``python3-pefile``: required for the :ref:`ref-classes-uki` class. | 110 | - ``python3-pefile``: required for the :ref:`ref-classes-uki` class. |
56 | 111 | ||
57 | - Add initial support for the `Barebox <https://www.barebox.org>`__ | 112 | - Add initial support for the `Barebox <https://www.barebox.org>`__ |
58 | bootloader, along with associated OEQA test cases. | 113 | bootloader, along with associated OEQA test cases. This adds the |
114 | ``barebox`` and the ``barebox-tools`` recipes. | ||
59 | 115 | ||
60 | - Import ``makedumpfile`` from meta-openembedded, as the ``kexec-tools`` | 116 | - Import ``makedumpfile`` from meta-openembedded, as the ``kexec-tools`` |
61 | recipe :term:`RDEPENDS` on it. | 117 | recipe :term:`RDEPENDS` on it. |
@@ -69,6 +125,34 @@ New Features / Enhancements in |yocto-ver| | |||
69 | </meta-openembedded>`, a recipe for hardware identification and | 125 | </meta-openembedded>`, a recipe for hardware identification and |
70 | configuration data, needed by ``libdisplay-info``. | 126 | configuration data, needed by ``libdisplay-info``. |
71 | 127 | ||
128 | - The ``cve-update-db-native`` was restored from kirkstone and can be used | ||
129 | to update the CVE National Vulnerability Database (NVD). Add support for | ||
130 | the FKIE-CAD (https://github.com/fkie-cad/nvd-json-data-feeds) CVE source | ||
131 | for it. | ||
132 | |||
133 | - The ``rpm-sequoia-crypto-policy`` to ship a crypto policy file for the | ||
134 | ``rpm-sequoia`` recipe. | ||
135 | |||
136 | - The ``libsass`` and ``sassc`` for the C/C++ port of the Sass CSS | ||
137 | pre-compiler, required by the ``libadwaita`` recipe. | ||
138 | |||
139 | - ``python3-roman-numerals-py``: module providing utilities for working with | ||
140 | well-formed Roman numerals. ``python3-sphinx`` relies on this recipe. | ||
141 | |||
142 | - The ``fastfloat`` recipe, a header-only library for fast number parsing. | ||
143 | This will be a dependency for the ``vte`` recipe in later versions. | ||
144 | |||
145 | - The ``avahi-libnss-mdns`` was renamed from ``libnss-mdns``. | ||
146 | |||
147 | - The ``cargo-c`` was renamed from ``cargo-c-native``. | ||
148 | |||
149 | - The ``tcl8`` recipe was added to support the failing build of ``expect``. | ||
150 | The ``tcl`` recipe (version 9) remains the main recipe for this component. | ||
151 | |||
152 | - The ``scdoc`` recipe is imported from | ||
153 | :oe_layerindex:`/layerindex/branch/master/layer/meta-wayland` to support | ||
154 | the generation of the man-pages of ``kdoc``. | ||
155 | |||
72 | - New core classes: | 156 | - New core classes: |
73 | 157 | ||
74 | - New :ref:`ref-classes-uki` class for building Unified Kernel Images (UKI). | 158 | - New :ref:`ref-classes-uki` class for building Unified Kernel Images (UKI). |
@@ -79,12 +163,23 @@ New Features / Enhancements in |yocto-ver| | |||
79 | this class. This class also strips potential build paths in the compilation | 163 | this class. This class also strips potential build paths in the compilation |
80 | output for reproducibility. | 164 | output for reproducibility. |
81 | 165 | ||
166 | - New :ref:`ref-classes-ptest-python-pytest` class to automatically | ||
167 | configure :ref:`ref-classes-ptest` for Python packages using the `pytest | ||
168 | <https://docs.pytest.org>`__ unit test framework. | ||
169 | |||
82 | - Architecture-specific changes: | 170 | - Architecture-specific changes: |
83 | 171 | ||
84 | - ``tune-cortexa32``: set tune feature to ``armv8a``. | 172 | - ``tune-cortexa32``: set tune feature to ``armv8a``. |
85 | 173 | ||
174 | - Add the ``loongarch64`` architecture for the ``grub2`` and ``llvm`` | ||
175 | recipes. It was also added to build with ``musl`` as the toolchain. | ||
176 | |||
86 | - QEMU / ``runqemu`` changes: | 177 | - QEMU / ``runqemu`` changes: |
87 | 178 | ||
179 | - ``qemu/machine``: change the ``QEMU_EXTRAOPTIONS_${TUNE_PKGARCH}`` syntax | ||
180 | in QEMU machine definitions to ``QEMU_EXTRAOPTIONS:tune-${TUNE_PKGARCH}`` | ||
181 | to follow the same patterns as other QEMU-related variables. | ||
182 | |||
88 | - Documentation changes: | 183 | - Documentation changes: |
89 | 184 | ||
90 | - Use ``rsvg`` as a replacement of ``inkscape`` to convert svg files in the | 185 | - Use ``rsvg`` as a replacement of ``inkscape`` to convert svg files in the |
@@ -93,6 +188,10 @@ New Features / Enhancements in |yocto-ver| | |||
93 | - The ``cve`` role was replaced by ``cve_nist`` to avoid a conflict with | 188 | - The ``cve`` role was replaced by ``cve_nist`` to avoid a conflict with |
94 | more recent version of Sphinx. | 189 | more recent version of Sphinx. |
95 | 190 | ||
191 | - New documentation on the multiconfig feature: :doc:`/dev-manual/multiconfig`. | ||
192 | |||
193 | - New documentation on ``bblock``: :doc:`/dev-manual/bblock`. | ||
194 | |||
96 | - Go changes: | 195 | - Go changes: |
97 | 196 | ||
98 | - The :ref:`ref-classes-go-mod` class now sets an internal variable | 197 | - The :ref:`ref-classes-go-mod` class now sets an internal variable |
@@ -116,6 +215,9 @@ New Features / Enhancements in |yocto-ver| | |||
116 | - Add the variable :term:`WIC_SECTOR_SIZE` to control the sector size of Wic | 215 | - Add the variable :term:`WIC_SECTOR_SIZE` to control the sector size of Wic |
117 | images. | 216 | images. |
118 | 217 | ||
218 | - ``bootimg-efi``: Support "+" symbol in filenames passed in | ||
219 | :term:`IMAGE_EFI_BOOT_FILES`. | ||
220 | |||
119 | - SDK-related changes: | 221 | - SDK-related changes: |
120 | 222 | ||
121 | - Add support for ZST-compression through :term:`SDK_ARCHIVE_TYPE`, by | 223 | - Add support for ZST-compression through :term:`SDK_ARCHIVE_TYPE`, by |
@@ -126,6 +228,11 @@ New Features / Enhancements in |yocto-ver| | |||
126 | 228 | ||
127 | - Enable ``ipv6``, ``acl``, and ``xattr`` in :term:`DISTRO_FEATURES_NATIVESDK`. | 229 | - Enable ``ipv6``, ``acl``, and ``xattr`` in :term:`DISTRO_FEATURES_NATIVESDK`. |
128 | 230 | ||
231 | - Toolchain SDKs (``meta-toolchain``) now properly supports the ``usrmerge`` | ||
232 | feature (part of :term:`DISTRO_FEATURES`). | ||
233 | |||
234 | - The ``pipefail`` shell option is now added to the SDK installer script. | ||
235 | |||
129 | - Testing-related changes: | 236 | - Testing-related changes: |
130 | 237 | ||
131 | - ``oeqa/postactions``: Fix archive retrieval from target. | 238 | - ``oeqa/postactions``: Fix archive retrieval from target. |
@@ -144,8 +251,12 @@ New Features / Enhancements in |yocto-ver| | |||
144 | 251 | ||
145 | - ``oeqa/selftest``: add a test for bitbake "-e" and "-getvar" difference. | 252 | - ``oeqa/selftest``: add a test for bitbake "-e" and "-getvar" difference. |
146 | 253 | ||
254 | - ``oeqa/selftest``: Fix failure when configuration contains ``BBLAYERS:append`` | ||
255 | |||
147 | - ``oeqa/ssh``: improve performance and log sizes when handling large files. | 256 | - ``oeqa/ssh``: improve performance and log sizes when handling large files. |
148 | 257 | ||
258 | - ``oeqa/poisoning``: fix and improve gcc include poisoning tests. | ||
259 | |||
149 | - Utility script changes: | 260 | - Utility script changes: |
150 | 261 | ||
151 | - The ``patchreview.py`` script now uses the ``check_upstream_status`` from | 262 | - The ``patchreview.py`` script now uses the ``check_upstream_status`` from |
@@ -163,7 +274,7 @@ New Features / Enhancements in |yocto-ver| | |||
163 | 274 | ||
164 | - Handle LTP raw logs as well as Ptest. | 275 | - Handle LTP raw logs as well as Ptest. |
165 | 276 | ||
166 | - ``scripts/yocto-check-layer``: | 277 | - ``yocto-check-layer``: |
167 | 278 | ||
168 | - Check for the presence of a ``SECURITY.md`` file in layers and make it | 279 | - Check for the presence of a ``SECURITY.md`` file in layers and make it |
169 | mandatory. | 280 | mandatory. |
@@ -172,19 +283,55 @@ New Features / Enhancements in |yocto-ver| | |||
172 | :term:`CHECKLAYER_REQUIRED_TESTS` to get the list of QA checks to verify | 283 | :term:`CHECKLAYER_REQUIRED_TESTS` to get the list of QA checks to verify |
173 | when running the ``yocto-check-layer`` script. | 284 | when running the ``yocto-check-layer`` script. |
174 | 285 | ||
286 | - New ``oe-image-files-spdx`` script utility directory under | ||
287 | ``scripts/contrib`` to that processes the SPDX 3.0.1 output from a build | ||
288 | and lists all the files on the root file system with their checksums. | ||
289 | |||
290 | - ``install-buildtools``: | ||
291 | |||
292 | - Add the ``--downloads-directory`` argument to the script to allow | ||
293 | specifying the location of the artifact download directory. | ||
294 | |||
295 | - The download URL are now stored next to the download artifacts for | ||
296 | traceability. | ||
297 | |||
298 | - New ``clean-hashserver-database`` under ``scripts/`` that can be used to | ||
299 | clean the hashserver database based on the files available in the sstate | ||
300 | directory (see :ref:`overview-manual/concepts:Hash Equivalence` for more | ||
301 | information). | ||
302 | |||
175 | - BitBake changes: | 303 | - BitBake changes: |
176 | 304 | ||
177 | - ``fetch2``: do not preserve ownership when unpacking. | 305 | - Add a new ``include_all`` directive, which can be used to include multiple |
306 | files present in the same location in different layers. | ||
307 | |||
308 | - Fetcher related changes (``fetch2``): | ||
178 | 309 | ||
179 | - ``fetch2``: switch from Sqlite ``persist_data`` to a standard cache file | 310 | - Do not preserve ownership when unpacking. |
180 | for checksums, and drop ``persist_data``. | ||
181 | 311 | ||
182 | - ``fetch2``: add support for GitHub codespaces by adding the | 312 | - switch from Sqlite ``persist_data`` to a standard cache file |
183 | ``GITHUB_TOKEN`` to the list of variables exported during ``git`` | 313 | for checksums, and drop ``persist_data``. |
184 | invocations. | ||
185 | 314 | ||
186 | - ``fetch2``: set User-Agent to 'bitbake/version' instead of a "fake | 315 | - add support for GitHub codespaces by adding the |
187 | mozilla" user agent. | 316 | ``GITHUB_TOKEN`` to the list of variables exported during ``git`` |
317 | invocations. | ||
318 | |||
319 | - set User-Agent to 'bitbake/version' instead of a "fake | ||
320 | mozilla" user agent. | ||
321 | |||
322 | - ``wget``: handle HTTP 308 Permanent Redirect. | ||
323 | |||
324 | - ``wget``: increase timeout to 100s from 30s to match CDN worst | ||
325 | response time. | ||
326 | |||
327 | - Add support for fast initial shallow fetch. The fetcher will prefer an | ||
328 | initial shallow clone, but will re-utilize an existing bare clone if | ||
329 | there is one. If the remote server does not allow shallow fetches, the | ||
330 | fetcher falls back to a bare clone. This improves the data transfer | ||
331 | size on the initial fetch of a repository, eliminates the need to use | ||
332 | an HTTPS tarball :term:`SRC_URI` to reduce data transfer, and allows | ||
333 | SSH-based authentication when using non-public repos, so additional | ||
334 | HTTPS tokens may not be required. | ||
188 | 335 | ||
189 | - ``compress``: use ``lz4`` instead of ``lz4c``, as ``lz4c`` as been | 336 | - ``compress``: use ``lz4`` instead of ``lz4c``, as ``lz4c`` as been |
190 | considered deprecrated since 2018. | 337 | considered deprecrated since 2018. |
@@ -192,14 +339,13 @@ New Features / Enhancements in |yocto-ver| | |||
192 | - ``server/process``: decrease idle/main loop frequency, as it is idle and | 339 | - ``server/process``: decrease idle/main loop frequency, as it is idle and |
193 | main loops have socket select calls to know when to execute. | 340 | main loops have socket select calls to know when to execute. |
194 | 341 | ||
195 | - ``bitbake-worker``: improve bytearray truncation performance when large | 342 | - ``bitbake-worker``: |
196 | amounts of data are being transferred from the cooker to the worker. | ||
197 | 343 | ||
198 | - ``bitbake-worker/cooker``: increase the default pipe size from 64KB to | 344 | - improve bytearray truncation performance when large |
199 | 512KB for better efficiency when transferring large amounts of data. | 345 | amounts of data are being transferred from the cooker to the worker. |
200 | 346 | ||
201 | - ``fetch/wget``: increase timeout to 100s from 30s to match CDN worst | 347 | - ``cooker``: increase the default pipe size from 64KB to |
202 | response time. | 348 | 512KB for better efficiency when transferring large amounts of data. |
203 | 349 | ||
204 | - ``bitbake-getvar``: catch ``NoProvider`` exception to improve error | 350 | - ``bitbake-getvar``: catch ``NoProvider`` exception to improve error |
205 | readability when a recipe is not found with ``--recipe``. | 351 | readability when a recipe is not found with ``--recipe``. |
@@ -219,6 +365,18 @@ New Features / Enhancements in |yocto-ver| | |||
219 | - ``knotty`` now hints the user if :term:`MACHINE` was not set in | 365 | - ``knotty`` now hints the user if :term:`MACHINE` was not set in |
220 | the ``local.conf`` file. | 366 | the ``local.conf`` file. |
221 | 367 | ||
368 | - ``utils``: add Go mod h1 checksum support, specific to Go modules. Use | ||
369 | with ``goh1``. | ||
370 | |||
371 | - The parser now catches empty variable name assignments such as:: | ||
372 | |||
373 | += "value" | ||
374 | |||
375 | The previous code would have assigned ``value`` to the variable named ``+``. | ||
376 | |||
377 | - ``hashserv``: Add the ``gc-mark-stream`` command for batch hash marking. | ||
378 | |||
379 | |||
222 | - Packaging changes: | 380 | - Packaging changes: |
223 | 381 | ||
224 | - ``systemd``: extract dependencies from ``.note.dlopen`` ELF segments, to | 382 | - ``systemd``: extract dependencies from ``.note.dlopen`` ELF segments, to |
@@ -235,13 +393,18 @@ New Features / Enhancements in |yocto-ver| | |||
235 | 393 | ||
236 | - LLVM related changes: | 394 | - LLVM related changes: |
237 | 395 | ||
396 | - Set ``LLVM_HOST_TRIPLE`` for cross-compilation, which is recommended when | ||
397 | cross-compiling Llvm. | ||
398 | |||
238 | - SPDX-related changes: | 399 | - SPDX-related changes: |
239 | 400 | ||
240 | - SPDX 3.0: Find local sources when searching for debug sources. | 401 | - SPDX 3.0: |
241 | 402 | ||
242 | - SPDX 3.0: Map ``gitsm`` URIs to ``git``. | 403 | - Find local sources when searching for debug sources. |
243 | 404 | ||
244 | - SPDX 3.0: Link license and build by alias instead of SPDX ID. | 405 | - Map ``gitsm`` URIs to ``git``. |
406 | |||
407 | - Link license and build by alias instead of SPDX ID. | ||
245 | 408 | ||
246 | - Fix SPDX tasks not running when code changes (use of ``file-checksums``). | 409 | - Fix SPDX tasks not running when code changes (use of ``file-checksums``). |
247 | 410 | ||
@@ -256,6 +419,14 @@ New Features / Enhancements in |yocto-ver| | |||
256 | ``devtool modify my-recipe --debug-build`` followed by | 419 | ``devtool modify my-recipe --debug-build`` followed by |
257 | ``devtool ide-sdk my-recipe my-image``. | 420 | ``devtool ide-sdk my-recipe my-image``. |
258 | 421 | ||
422 | - ``create-spdx``: support line numbers for :term:`NO_GENERIC_LICENSE` | ||
423 | license types. | ||
424 | |||
425 | - ``spdx30``: Adds a "contains" relationship that relates the root file | ||
426 | system package to the files contained in it. If a package provides a file | ||
427 | with a matching hash and path, it will be linked, otherwise a new File | ||
428 | element will be created. | ||
429 | |||
259 | - Patchtest-related changes: | 430 | - Patchtest-related changes: |
260 | 431 | ||
261 | - Refactor pattern definitions in a ``patterns`` module. | 432 | - Refactor pattern definitions in a ``patterns`` module. |
@@ -299,24 +470,77 @@ New Features / Enhancements in |yocto-ver| | |||
299 | currently prints warning message for every unpatched CVE the | 470 | currently prints warning message for every unpatched CVE the |
300 | :ref:`ref-classes-cve-check` class finds. | 471 | :ref:`ref-classes-cve-check` class finds. |
301 | 472 | ||
473 | - Users can control the NVD database source using the :term:`NVD_DB_VERSION` | ||
474 | variable with possible values ``NVD1``, ``NVD2``, or ``FKIE``. | ||
475 | |||
476 | - The default feed for CVEs is now ``FKIE`` instead of ``NVD2`` (see | ||
477 | :term:`NVD_DB_VERSION` for more information). | ||
478 | |||
302 | - New :term:`PACKAGECONFIG` options for individual recipes: | 479 | - New :term:`PACKAGECONFIG` options for individual recipes: |
303 | 480 | ||
304 | - ``perf``: ``zstd`` | 481 | - ``perf``: ``zstd`` |
305 | - ``ppp``: ``pam``, ``openssl`` | 482 | - ``ppp``: ``pam``, ``openssl`` |
306 | - ``libpciaccess``: ``zlib`` | 483 | - ``libpciaccess``: ``zlib`` |
307 | - ``gdk-pixbuf``: ``gif``, ``others`` | 484 | - ``gdk-pixbuf``: ``gif``, ``others`` |
308 | - ``libpam``: ``selinux`` | 485 | - ``libpam``: ``selinux`` |
309 | - ``libsecret``: ``pam`` | 486 | - ``libsecret``: ``pam`` |
310 | - ``rpm``: ``sequoia`` | 487 | - ``rpm``: ``sequoia`` |
488 | - ``systemd``: ``apparmor``, ``fido``, ``mountfsd``, ``nsresourced`` | ||
489 | - ``ovmf``: ``debug`` | ||
490 | - ``webkitgtk``: ``assertions`` | ||
311 | 491 | ||
312 | - Miscellaneous changes: | 492 | - Systemd related changes: |
313 | 493 | ||
314 | - ``bluez``: fix mesh build when building with musl. | 494 | - ``systemd``: |
495 | |||
496 | - set better sane time at startup by creating the ``clock-epoch`` file in | ||
497 | ``${libdir}`` if the ``set-time-epoch`` :term:`PACKAGECONFIG` config is | ||
498 | set. | ||
499 | |||
500 | - really disable Predictable Network Interface names if the ``pni-names`` | ||
501 | feature is not part of :term:`DISTRO_FEATURES`. Previously it was only | ||
502 | really disable for QEMU machines. | ||
503 | |||
504 | - split ``networkd`` into its own package named ``systemd-networkd``. | ||
315 | 505 | ||
316 | - ``systemd-bootchart``: now supports the 32-bit *riscv* architecture. | 506 | - ``systemd-bootchart``: now supports the 32-bit *riscv* architecture. |
317 | 507 | ||
318 | - ``systemd-boot``: now supports the *riscv* architecture. | 508 | - ``systemd-boot``: now supports the *riscv* architecture. |
319 | 509 | ||
510 | - ``systemd-serialgetty``: | ||
511 | |||
512 | - the recipe no longer sets a default value for | ||
513 | :term:`SERIAL_CONSOLES`, and uses the one set in ``bitbake.conf``. | ||
514 | |||
515 | - the recipe no longer ships a copy of the ``serial-getty@.service`` as | ||
516 | it is provided by systemd directly. | ||
517 | |||
518 | - Don't set a default :term:`SERIAL_CONSOLES` value in the | ||
519 | ``systemd-serialgetty`` recipe and take the global value that should | ||
520 | already be set. | ||
521 | |||
522 | - Replace custom unit files by existing unit files provided in the | ||
523 | systemd source code. | ||
524 | |||
525 | - User unit supports was improved. All the user units are now enabled by | ||
526 | default. | ||
527 | |||
528 | - The custom implementation of ``systemctl`` in :term:`OpenEmbedded-Core | ||
529 | (OE-Core)` was removed to use the upstream one. This ``systemctl`` binary | ||
530 | is now compiled and used for systemd-related operations. | ||
531 | |||
532 | - :ref:`ref-classes-sanity` class changes: | ||
533 | |||
534 | - Add a sanity check to validate that the C++ toolchain is functional on the | ||
535 | host. | ||
536 | |||
537 | - Add a sanity check to verify that :term:`TOPDIR` does not contain | ||
538 | non-ASCII characters, as it may lead to unexpected build errors. | ||
539 | |||
540 | - Miscellaneous changes: | ||
541 | |||
542 | - ``bluez``: fix mesh build when building with musl. | ||
543 | |||
320 | - ``python3-pip``: the ``pip`` executable is now left and not deleted, and | 544 | - ``python3-pip``: the ``pip`` executable is now left and not deleted, and |
321 | can be used instead of ``pip3`` and ``pip2``. | 545 | can be used instead of ``pip3`` and ``pip2``. |
322 | 546 | ||
@@ -326,7 +550,8 @@ New Features / Enhancements in |yocto-ver| | |||
326 | - :term:`SOLIBSDEV` and :term:`SOLIBS` are now defined for the *mingw32* | 550 | - :term:`SOLIBSDEV` and :term:`SOLIBS` are now defined for the *mingw32* |
327 | architecture (``.dll``). | 551 | architecture (``.dll``). |
328 | 552 | ||
329 | - :ref:`rootfs-postcommands <ref-classes-rootfs*>`: make opkg status reproducible. | 553 | - :ref:`rootfs-postcommands <ref-classes-rootfs*>`: make ``opkg`` status |
554 | reproducible. | ||
330 | 555 | ||
331 | - The default :term:`KERNEL_CONSOLE` value is no longer ``ttyS0`` but the | 556 | - The default :term:`KERNEL_CONSOLE` value is no longer ``ttyS0`` but the |
332 | first entry from the :term:`SERIAL_CONSOLES` variable. | 557 | first entry from the :term:`SERIAL_CONSOLES` variable. |
@@ -364,13 +589,11 @@ New Features / Enhancements in |yocto-ver| | |||
364 | ``virtual-x-terminal-emulator`` runtime provider with | 589 | ``virtual-x-terminal-emulator`` runtime provider with |
365 | :term:`PREFERRED_RPROVIDER`. | 590 | :term:`PREFERRED_RPROVIDER`. |
366 | 591 | ||
367 | - ``systemd``: set better sane time at startup by creating the | ||
368 | ``clock-epoch`` file in ``${libdir}`` if the ``set-time-epoch`` | ||
369 | :term:`PACKAGECONFIG` config is set. | ||
370 | |||
371 | - ``cve-update-nvd2-native``: updating the database will now result in an | 592 | - ``cve-update-nvd2-native``: updating the database will now result in an |
372 | error if :term:`BB_NO_NETWORK` is enabled and | 593 | error if :term:`BB_NO_NETWORK` is enabled and |
373 | :term:`CVE_DB_UPDATE_INTERVAL` is not set to ``-1``. | 594 | :term:`CVE_DB_UPDATE_INTERVAL` is not set to ``-1``. Users can control the |
595 | NVD database source using the :term:`NVD_DB_VERSION` variable with | ||
596 | possible values ``NVD1``, ``NVD2``, or ``FKIE``. | ||
374 | 597 | ||
375 | - ``systemtap``: add ``--with-extra-version="oe"`` configure option to | 598 | - ``systemtap``: add ``--with-extra-version="oe"`` configure option to |
376 | improve the reproducibility of the recipe. | 599 | improve the reproducibility of the recipe. |
@@ -398,6 +621,65 @@ New Features / Enhancements in |yocto-ver| | |||
398 | ``seat`` group to be able to properly establish connection between the | 621 | ``seat`` group to be able to properly establish connection between the |
399 | Weston and the ``seatd`` socket. | 622 | Weston and the ``seatd`` socket. |
400 | 623 | ||
624 | - ``webkitgtk``: | ||
625 | |||
626 | - Fix build on 32bit arches with 64bit ``time_t`` only. | ||
627 | |||
628 | - Disable JIT on RISCV64. | ||
629 | |||
630 | - :ref:`ref-classes-report-error`: Add :term:`PN` to error report files. | ||
631 | |||
632 | - ``initrdscripts``: add UBI support for mounting a live ``ubifs`` rootfs. | ||
633 | |||
634 | - ``uboot-extlinux-config.bbclass``: add support for device tree overlays. | ||
635 | |||
636 | - ``glibc``: add ``ld.so.conf`` to :term:`CONFFILES`. | ||
637 | |||
638 | - ``udev-extraconf``: Allow FAT mount group to be specified with | ||
639 | :term:`MOUNT_GROUP`. | ||
640 | |||
641 | - New ``bbverbnote`` log utility which can be used to print on the console | ||
642 | (equivalent to the ``bb.verbnote`` Python implementation). | ||
643 | |||
644 | - :ref:``ref-classes-grub-efi``: Add :term:`GRUB_TITLE` variable to set | ||
645 | custom GRUB titles. | ||
646 | |||
647 | - ``gawk``: Enable high precision arithmetic support by default (``mpfr`` | ||
648 | enabled by default in :term:`PACKAGECONFIG`). | ||
649 | |||
650 | - ``licenses``: Map the license ``SGIv1`` to ``SGI-OpenGL``, as ``SGIv1`` is | ||
651 | not an SPDX license identifier. | ||
652 | |||
653 | - Configuration files for the `b4 <https://b4.docs.kernel.org>`__ | ||
654 | command-line tool was added to the different Yocto Project and OpenEmbedded | ||
655 | repositories. | ||
656 | |||
657 | - :ref:`ref-classes-kernel-fitimage`: handle :doc:`multiconfig | ||
658 | </dev-manual/multiconfig>` dependency when | ||
659 | :term:`INITRAMFS_MULTICONFIG` is set. | ||
660 | |||
661 | - ``psplash``: when using the ``systemd`` feature from | ||
662 | :term:`DISTRO_FEATURES`, start the ``psplash`` service when the | ||
663 | ``/dev/fb0`` framebuffer is detected with Udev. | ||
664 | |||
665 | - ``gdb``: is now compiled with xz support by default (``--with-lzma``). | ||
666 | |||
667 | - ``busybox``: drop net-tools from the default ``defconfig``, since these tools | ||
668 | (``ifconfig``, etc.) have been deprecated since `2009 | ||
669 | <https://lists.debian.org/debian-devel/2009/03/msg00780.html>`__. | ||
670 | |||
671 | - ``perf`` is built with ``zstd`` in :term:`PACKAGECONFIG` by default. | ||
672 | |||
673 | - ``boost``: add ``charconv`` to built libraries by default. | ||
674 | |||
675 | - ``mirrors``: rationalise Debian mirrors to point at the canonical server | ||
676 | (deb.debian.org) instead of country specific ones. This server is backed | ||
677 | by a :wikipedia:`CDN <Content_delivery_network>` to properly balance the | ||
678 | server load. | ||
679 | |||
680 | - ``lib: sbom30``: Add action statement for affected VEX statements with | ||
681 | "Mitigation action unknown", as these are not tracked by the existing | ||
682 | code. | ||
401 | 683 | ||
402 | Known Issues in |yocto-ver| | 684 | Known Issues in |yocto-ver| |
403 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 685 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ |