summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Opdenacker <michael.opdenacker@bootlin.com>2023-04-27 15:26:50 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-04-28 14:46:17 +0100
commit7f39a583e772a45003db20d29a1e67faacb6be58 (patch)
tree4465c44f8ec5c2e1ac64c9d64b7319f5f6451314
parentc621743c1347c359146b947ed48c98cf72e98f82 (diff)
downloadpoky-7f39a583e772a45003db20d29a1e67faacb6be58.tar.gz
migration-guides: fixes and improvements to 4.2 release notes
- Remove empty subsections (detailed elsewhere) - Fix bullet list syntax (missing leading empty line) - Fix a few CVE URLs - Add some references - Minor font and case fixes (From yocto-docs rev: ec63abf8b67458ad9f8d8942e0c327d3de93eef9) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--documentation/migration-guides/release-notes-4.2.rst158
1 files changed, 72 insertions, 86 deletions
diff --git a/documentation/migration-guides/release-notes-4.2.rst b/documentation/migration-guides/release-notes-4.2.rst
index 6f7ff03e1b..30a4afeebb 100644
--- a/documentation/migration-guides/release-notes-4.2.rst
+++ b/documentation/migration-guides/release-notes-4.2.rst
@@ -39,12 +39,6 @@ New Features / Enhancements in 4.2
39 :wikipedia:`LoongArch <Loongson#LoongArch>` 39 :wikipedia:`LoongArch <Loongson#LoongArch>`
40 (``loongarch64``) architecture, though there is no testing for it yet. 40 (``loongarch64``) architecture, though there is no testing for it yet.
41 41
42- Kernel-related enhancements:
43
44- QEMU/runqemu enhancements:
45
46- Image-related enhancements:
47
48- New variables: 42- New variables:
49 43
50 - :term:`VOLATILE_TMP_DIR` allows to specify 44 - :term:`VOLATILE_TMP_DIR` allows to specify
@@ -68,13 +62,13 @@ New Features / Enhancements in 4.2
68 - Enabled building Rust for baremetal targets 62 - Enabled building Rust for baremetal targets
69 63
70 - You can now also easily select to build beta or nightly 64 - You can now also easily select to build beta or nightly
71 versions of rust with a new :term:`RUST_CHANNEL` variable 65 versions of Rust with a new :term:`RUST_CHANNEL` variable
72 (use at own risk) 66 (use at own risk)
73 67
74 - Support for local github repos in :term:`SRC_URI` as 68 - Support for local GitHub repos in :term:`SRC_URI` as
75 replacements for cargo dependencies 69 replacements for Cargo dependencies
76 70
77 - Use built-in rust targets for -native builds to save several 71 - Use built-in Rust targets for ``-native`` builds to save several
78 minutes building the Rust toolchain 72 minutes building the Rust toolchain
79 73
80- Python 3.8+ and GCC 8.0+ are now the minimum required versions on the build host 74- Python 3.8+ and GCC 8.0+ are now the minimum required versions on the build host
@@ -108,7 +102,7 @@ New Features / Enhancements in 4.2
108 102
109 - go: add support to build on ppc64le 103 - go: add support to build on ppc64le
110 - rust: rustfmt now working and installed for riscv32 104 - rust: rustfmt now working and installed for riscv32
111 - libpng: enable NEON for aarch64 to enensure consistency with arm32. 105 - libpng: enable NEON for aarch64 to ensure consistency with arm32.
112 - baremetal-helloworld: Enable x86 and x86-64 ports 106 - baremetal-helloworld: Enable x86 and x86-64 ports
113 107
114- Kernel-related enhancements: 108- Kernel-related enhancements:
@@ -138,11 +132,11 @@ New Features / Enhancements in 4.2
138 132
139 - Set ``QB_SMP`` with ?= to make it easier to modify 133 - Set ``QB_SMP`` with ?= to make it easier to modify
140 - Set ``QB_CPU`` with ?= to make it easier to modify (x86 configuration only) 134 - Set ``QB_CPU`` with ?= to make it easier to modify (x86 configuration only)
141 - New ``QB_NFSROOTFS_EXTRA_OPT`` to allow extra options to be appended to the nfs rootfs options in kernel boot args, e.g. ``"wsize=4096,rsize=4096"`` 135 - New ``QB_NFSROOTFS_EXTRA_OPT`` to allow extra options to be appended to the NFS rootfs options in kernel boot args, e.g. ``"wsize=4096,rsize=4096"``
142 - New ``QB_SETUP_CMD`` and ``QB_CLEANUP_CMD`` to enable running custom shell setup and cleanup commands before and after QEMU. 136 - New ``QB_SETUP_CMD`` and ``QB_CLEANUP_CMD`` to enable running custom shell setup and cleanup commands before and after QEMU.
143 - ``QB_DEFAULT_KERNEL`` now defaults to pick the bundled initramfs kernel image if the Linux kernel image is generated with :term:`INITRAMFS_IMAGE_BUNDLE` set to "1" 137 - ``QB_DEFAULT_KERNEL`` now defaults to pick the bundled initramfs kernel image if the Linux kernel image is generated with :term:`INITRAMFS_IMAGE_BUNDLE` set to "1"
144 - Split out the QEMU guest agent to its own ``qemu-guest-agent`` package 138 - Split out the QEMU guest agent to its own ``qemu-guest-agent`` package
145 - runqemu: new "guestagent" option to enable communication with the guest agent 139 - runqemu: new ``guestagent`` option to enable communication with the guest agent
146 - runqemu: respect :term:`IMAGE_LINK_NAME` when searching for image 140 - runqemu: respect :term:`IMAGE_LINK_NAME` when searching for image
147 141
148- Image-related enhancements: 142- Image-related enhancements:
@@ -152,10 +146,10 @@ New Features / Enhancements in 4.2
152 146
153- wic Image Creator enhancements: 147- wic Image Creator enhancements:
154 148
155 - bootimg-efi: add support for directly loading Linux kernel UEFI stub 149 - ``bootimg-efi.py``: add support for directly loading Linux kernel UEFI stub
156 - bootimg-efi: implement --include-path 150 - ``bootimg-efi.py``: implement ``--include-path``
157 - Allow usage of fstype=none to specify an unformatted partition 151 - Allow usage of ``fstype=none`` to specify an unformatted partition
158 - Implement repeatable disk identifiers based on SOURCE_DATE_EPOCH 152 - Implement repeatable disk identifiers based on :term:`SOURCE_DATE_EPOCH`
159 153
160- FIT image related improvements: 154- FIT image related improvements:
161 155
@@ -179,7 +173,7 @@ New Features / Enhancements in 4.2
179 - ``unifdef`` 173 - ``unifdef``
180 174
181 - New :term:`SDK_ZIP_OPTIONS` variable to enable passing additional options to the zip command when preparing the SDK zip archive 175 - New :term:`SDK_ZIP_OPTIONS` variable to enable passing additional options to the zip command when preparing the SDK zip archive
182 - New Rust SDK target packagegroup (packagegroup-rust-sdk-target) 176 - New Rust SDK target packagegroup (``packagegroup-rust-sdk-target``)
183 177
184- Testing: 178- Testing:
185 179
@@ -220,13 +214,12 @@ New Features / Enhancements in 4.2
220 - ptest support added to ``bc``, ``cpio`` and ``gnutls``, and fixes made to 214 - ptest support added to ``bc``, ``cpio`` and ``gnutls``, and fixes made to
221 ptests in numerous other recipes. 215 ptests in numerous other recipes.
222 216
223 - ``ptest-runner`` now adds a non-root "ptest" user for tests to run as 217 - ``ptest-runner`` now adds a non-root "ptest" user to run tests.
224 218
225 - resulttool: add a --list-ptest option to the log subcommand to list ptest names 219 - ``resulttool``: add a ``--list-ptest`` option to the log subcommand to list ptest names
226 in a results file 220 in a results file
227 221
228 - resulttool: regression: add metadata filtering for oeselftest 222 - ``resulttool``: regression: add metadata filtering for oeselftest
229
230 223
231- New :term:`PACKAGECONFIG` options in the following recipes: 224- New :term:`PACKAGECONFIG` options in the following recipes:
232 225
@@ -263,30 +256,30 @@ New Features / Enhancements in 4.2
263 256
264- Utility script changes: 257- Utility script changes:
265 258
266 - devtool: ignore patch-fuzz errors when extracting source in order to enable fixing fuzz issues 259 - ``devtool``: ignore patch-fuzz errors when extracting source in order to enable fixing fuzz issues
267 - oe-setup-layers: Make efficiently idempotent 260 - ``oe-setup-layers``: make efficiently idempotent
268 - oe-setup-layers: print a note about submodules if present 261 - ``oe-setup-layers``: print a note about submodules if present
269 - New buildstats-summary script to show a summary of the buildstats data 262 - New ``buildstats-summary`` script to show a summary of the buildstats data
270 - report-error: catch Nothing PROVIDES error 263 - :ref:`ref-classes-report-error` class: catch ``Nothing PROVIDES`` error
271 - combo-layer: add sync-revs command 264 - ``combo-layer``: add ``sync-revs`` command
272 - scripts: convert-overrides: Allow command-line customizations 265 - ``convert-overrides``: allow command-line customizations
273 266
274- bitbake-layers improvements: 267- bitbake-layers improvements:
275 268
276 - layerindex-fetch: checkout layer(s) branch when clone exists 269 - ``layerindex-fetch``: checkout layer(s) branch when clone exists
277 - create: add -a/--add-layer option to add layer to bblayers.conf after creating layer 270 - ``create``: add ``-a``/``--add-layer option`` to add layer to ``bblayers.conf`` after creating layer
278 - show-layers: improve output layout 271 - ``show-layers``: improve output layout
279 272
280- Other BitBake improvements: 273- Other BitBake improvements:
281 274
282 - Inline python snippets can now include dictionary expressions 275 - Inline Python snippets can now include dictionary expressions
283 - Evaluate the value of export/unexport/network flags so that they can be reset to "0" 276 - Evaluate the value of export/unexport/network flags so that they can be reset to "0"
284 - Make :term:`EXCLUDE_FROM_WORLD` boolean so that it can be reset to "0" 277 - Make :term:`EXCLUDE_FROM_WORLD` boolean so that it can be reset to "0"
285 - Support int values in bb.utils.to_boolean() in addition to strings 278 - Support int values in ``bb.utils.to_boolean()`` in addition to strings
286 - bitbake-getvar: Add a quiet command line argument 279 - ``bitbake-getvar``: Add a ``quiet`` command line argument
287 - Allow the '@' character in variable flag names 280 - Allow the ``@`` character in variable flag names
288 - Python library code will now be included when calculating task hashes 281 - Python library code will now be included when calculating task hashes
289 - fetch2/npmsw: add more short forms for git operations 282 - ``fetch2/npmsw``: add more short forms for git operations
290 - Display a warning when ``SRCREV = "${AUTOREV}"`` is set too late to be effective 283 - Display a warning when ``SRCREV = "${AUTOREV}"`` is set too late to be effective
291 - Display all missing :term:`SRC_URI` checksums at once 284 - Display all missing :term:`SRC_URI` checksums at once
292 - Improve error message for a missing multiconfig 285 - Improve error message for a missing multiconfig
@@ -295,20 +288,22 @@ New Features / Enhancements in 4.2
295 288
296- Packaging changes: 289- Packaging changes:
297 290
298 - rng-tools is no longer recommended by openssh, and the rng-tools service files have been split out to their own package 291 - ``rng-tools`` is no longer recommended by ``openssh``, and the ``rng-tools``
299 - linux-firmware: split rtl8761 and amdgpu firmware 292 service files have been split out to their own package
300 - linux-firmware: add new fw file to ${PN}-qcom-adreno-a530 293 - ``linux-firmware``: split ``rtl8761`` and ``amdgpu`` firmware
301 - iproute2: separate routel and add python dependency 294 - ``linux-firmware``: add new firmware file to ``${PN}-qcom-adreno-a530``
302 - xinetd: move xconv.pl script to separate package 295 - ``iproute2``: separate ``routel`` and add Python dependency
303 - perf: Enable debug/source packaging 296 - ``xinetd``: move ``xconv.pl`` script to separate package
297 - ``perf``: enable debug/source packaging
304 298
305- Miscellaneous changes: 299- Miscellaneous changes:
306 300
307 - Supporting 64 bit dates on 32 bit platforms: several packages have been 301 - Supporting 64 bit dates on 32 bit platforms: several packages have been
308 updated to pass Y2038 tests, and a QA check for 32 bit time and file 302 updated to pass year 2038 tests, and a QA check for 32 bit time and file
309 offset functions has been added (default off) 303 offset functions has been added (default off)
310 304
311 - Patch fuzz/Upstream-Status checking has been reworked: 305 - Patch fuzz/Upstream-Status checking has been reworked:
306
312 - Upstream-Status checking is now configurable from :term:`WARN_QA`/:term:`ERROR_QA` (``patch-status-core``) 307 - Upstream-Status checking is now configurable from :term:`WARN_QA`/:term:`ERROR_QA` (``patch-status-core``)
313 - Can now be enabled for non-core layers (``patch-status-noncore``) 308 - Can now be enabled for non-core layers (``patch-status-noncore``)
314 - ``patch-fuzz`` is now in :term:`ERROR_QA` by default, and actually stops the build 309 - ``patch-fuzz`` is now in :term:`ERROR_QA` by default, and actually stops the build
@@ -318,54 +313,50 @@ New Features / Enhancements in 4.2
318 - New :term:`VOLATILE_TMP_DIR` variable allows to specify whether ``/tmp`` 313 - New :term:`VOLATILE_TMP_DIR` variable allows to specify whether ``/tmp``
319 should be on persistent storage or in RAM. 314 should be on persistent storage or in RAM.
320 315
321 - vulkan-loader: Allow headless targets to build the loader 316 - ``vulkan-loader``: allow headless targets to build the loader
322 - dhcpcd: fix to work with systemd 317 - ``dhcpcd``: fix to work with systemd
323 - u-boot: Add /boot to :term:`SYSROOT_DIRS` to allow boot files to be used by other recipes 318 - ``u-boot``: add /boot to :term:`SYSROOT_DIRS` to allow boot files to be used by other recipes
324 - linux-firmware: don't put the firmware into the sysroot 319 - ``linux-firmware``: don't put the firmware into the sysroot
325 - cups: add :term:`PACKAGECONFIG` to control web interface and default to off 320 - ``cups``: add :term:`PACKAGECONFIG` to control web interface and default to off
326 - buildtools-tarball: export certificates to python and curl 321 - ``buildtools-tarball``: export certificates to python and curl
327 - yocto-check-layer: Allow OE-Core to be tested 322 - ``yocto-check-layer``: allow OE-Core to be tested
328 - yocto-check-layer: check for patch file upstream status 323 - ``yocto-check-layer``: check for patch file upstream status
329 - boost: enable building Boost.URL library 324 - ``boost``: enable building ``Boost.URL`` library
330 - native: Drop special variable handling 325 - ``native``: drop special variable handling
331 - poky: make it easier to set :term:`INIT_MANAGER` from local.conf 326 - Poky: make it easier to set :term:`INIT_MANAGER` from local.conf
332 - create-spdx: Add support for custom Annotations 327 - :ref:`ref-classes-create-spdx`: add support for custom annotations (:term:`SPDX_CUSTOM_ANNOTATION_VARS`)
333 - create-spdx: Report downloads as separate packages 328 - :ref:`ref-classes-create-spdx`: report downloads as separate packages
334 - create-spdx: Removed the top-level image SPDX file and the JSON index file from :term:`DEPLOYDIR` to avoid confusion 329 - :ref:`ref-classes-create-spdx`: remove the top-level image SPDX file and the JSON index file from :term:`DEPLOYDIR` to avoid confusion
335 - os-release: replace ``DISTRO_CODENAME`` with ``VERSION_CODENAME`` (still set from :term:`DISTRO_CODENAME`) 330 - ``os-release``: replace ``DISTRO_CODENAME`` with ``VERSION_CODENAME`` (still set from :term:`DISTRO_CODENAME`)
336 - weston: Add kiosk shell 331 - ``weston``: add kiosk shell
337 - overlayfs: Allow unused mount points 332 - :ref:`ref-classes-overlayfs`: Allow unused mount points
338 - sstatesig: emit more helpful error message when not finding sstate manifest 333 - ``sstatesig``: emit more helpful error message when not finding sstate manifest
339 - pypi.bbclass: Set :term:`SRC_URI` downloadfilename with an optional prefix 334 - :ref:`ref-classes-pypi`.bbclass: Set :term:`SRC_URI` downloadfilename with an optional prefix
340 - poky-bleeding: Update and rework 335 - ``poky-bleeding`` distro: update and rework
341 - package.bbclass: check if package names conflict via PKG:${PN} override in do_package 336 - :ref:`package.bbclass <ref-classes-package>`: check if package names conflict via ``PKG:${PN}`` override in :ref:`do_package <ref-tasks-package>`
342 - cve-update-nvd2-native: new NVD CVE database fetcher using the 2.0 API 337 - ``cve-update-nvd2-native``: new NVD CVE database fetcher using the 2.0 API
343 - mirrors.bbclass: use shallow tarball for binutils-native/nativesdk-binutils 338 - :ref:`ref-classes-mirrors` class: use shallow tarball for ``binutils-native``/``nativesdk-binutils``
344 - meta/conf: move default configuration templates into meta/conf/templates/default 339 - ``meta/conf``: move default configuration templates into ``meta/conf/templates/default``
345 - binutils: Enable --enable-new-dtags as per many Linux distributions 340 - ``binutils``: enable ``--enable-new-dtags`` as per many Linux distributions
346 - base-files: Drop localhost.localdomain from hosts file as per many Linux distributions 341 - ``base-files``: drop ``localhost.localdomain`` from hosts file as per many Linux distributions
347 - packagegroup-core-boot: make init-ifupdown package a recommendation 342 - ``packagegroup-core-boot``: make ``init-ifupdown`` package a recommendation
348
349 343
350Known Issues in 4.2 344Known Issues in 4.2
351~~~~~~~~~~~~~~~~~~~ 345~~~~~~~~~~~~~~~~~~~
352 346
353
354Recipe License changes in 4.2 347Recipe License changes in 4.2
355~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
356 349
357The following corrections have been made to the :term:`LICENSE` values set by recipes: 350The following corrections have been made to the :term:`LICENSE` values set by recipes:
358 351
359- curl: set :term:`LICENSE` appropriately to "curl" as it is a special derivative of the MIT/X license, not exactly that license. 352- ``curl``: set :term:`LICENSE` appropriately to ``curl`` as it is a special derivative of the MIT/X license, not exactly that license.
360- libgit2: added Zlib, ISC, LGPL-2.1-or-later and CC0-1.0 to :term:`LICENSE` covering portions of the included code. 353- ``libgit2``: added ``Zlib``, ``ISC``, ``LGPL-2.1-or-later`` and ``CC0-1.0`` to :term:`LICENSE` covering portions of the included code.
361- linux-firmware: set package :term:`LICENSE` appropriately for all qcom packages 354- ``linux-firmware``: set package :term:`LICENSE` appropriately for all qcom packages
362
363
364 355
365Security Fixes in 4.2 356Security Fixes in 4.2
366~~~~~~~~~~~~~~~~~~~~~ 357~~~~~~~~~~~~~~~~~~~~~
367 358
368- binutils: :cve:`2022-4285`, :cve:`2023-25586` 359- binutils: :cve:`2022-4285`, `CVE-2023-25586 <https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-25586>`__
369- curl: :cve:`2022-32221`, :cve:`2022-35260`, :cve:`2022-42915`, :cve:`2022-42916` 360- curl: :cve:`2022-32221`, :cve:`2022-35260`, :cve:`2022-42915`, :cve:`2022-42916`
370- epiphany: :cve:`2023-26081` 361- epiphany: :cve:`2023-26081`
371- expat: :cve:`2022-43680` 362- expat: :cve:`2022-43680`
@@ -373,7 +364,7 @@ Security Fixes in 4.2
373- git: :cve:`2022-39260`, :cve:`2022-41903`, :cve:`2022-23521`, :cve:`2022-41953` (ignored) 364- git: :cve:`2022-39260`, :cve:`2022-41903`, :cve:`2022-23521`, :cve:`2022-41953` (ignored)
374- glibc: :cve:`2023-25139` (ignored) 365- glibc: :cve:`2023-25139` (ignored)
375- go: :cve:`2023-24532`, :cve:`2023-24537` 366- go: :cve:`2023-24532`, :cve:`2023-24537`
376- grub2: :cve:`2022-2601`, :cve:`2022-3775`, :cve:`2022-28736` 367- grub2: :cve:`2022-2601`, :cve:`2022-3775`, `CVE-2022-28736 <https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-28736>`__
377- inetutils: :cve:`2019-0053` 368- inetutils: :cve:`2019-0053`
378- less: :cve:`2022-46663` 369- less: :cve:`2022-46663`
379- libarchive: :cve:`2022-36227` 370- libarchive: :cve:`2022-36227`
@@ -385,7 +376,7 @@ Security Fixes in 4.2
385- openssl: :cve:`2022-3358`, :cve:`2022-3786`, :cve:`2022-3602`, :cve:`2022-3996`, :cve:`2023-0286`, :cve:`2022-4304`, :cve:`2022-4203`, :cve:`2023-0215`, :cve:`2022-4450`, :cve:`2023-0216`, :cve:`2023-0217`, :cve:`2023-0401`, :cve:`2023-0464` 376- openssl: :cve:`2022-3358`, :cve:`2022-3786`, :cve:`2022-3602`, :cve:`2022-3996`, :cve:`2023-0286`, :cve:`2022-4304`, :cve:`2022-4203`, :cve:`2023-0215`, :cve:`2022-4450`, :cve:`2023-0216`, :cve:`2023-0217`, :cve:`2023-0401`, :cve:`2023-0464`
386- ppp: :cve:`2022-4603` 377- ppp: :cve:`2022-4603`
387- python3-cryptography{-vectors}: :cve:`2022-3602`, :cve:`2022-3786`, :cve:`2023-23931` 378- python3-cryptography{-vectors}: :cve:`2022-3602`, :cve:`2022-3786`, :cve:`2023-23931`
388- python3: :cve:`2022-37460` 379- python3: `CVE-2022-37460 <https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-37460>`__
389- qemu: :cve:`2022-3165` 380- qemu: :cve:`2022-3165`
390- rust: :cve:`2022-46176` 381- rust: :cve:`2022-46176`
391- rxvt-unicode: :cve:`2022-4170` 382- rxvt-unicode: :cve:`2022-4170`
@@ -399,7 +390,6 @@ Security Fixes in 4.2
399- xdg-utils: :cve:`2022-4055` 390- xdg-utils: :cve:`2022-4055`
400- xserver-xorg: :cve:`2022-3550`, :cve:`2022-3551`, :cve:`2023-1393`, :cve:`2023-0494`, :cve:`2022-3553` (ignored) 391- xserver-xorg: :cve:`2022-3550`, :cve:`2022-3551`, :cve:`2023-1393`, :cve:`2023-0494`, :cve:`2022-3553` (ignored)
401 392
402
403Recipe Upgrades in 4.2 393Recipe Upgrades in 4.2
404~~~~~~~~~~~~~~~~~~~~~~ 394~~~~~~~~~~~~~~~~~~~~~~
405 395
@@ -758,9 +748,6 @@ Recipe Upgrades in 4.2
758- zlib: upgrade 1.2.12 -> 1.2.13 748- zlib: upgrade 1.2.12 -> 1.2.13
759- zstd: upgrade 1.5.2 -> 1.5.4 749- zstd: upgrade 1.5.2 -> 1.5.4
760 750
761
762
763
764Contributors to 4.2 751Contributors to 4.2
765~~~~~~~~~~~~~~~~~~~ 752~~~~~~~~~~~~~~~~~~~
766 753
@@ -944,4 +931,3 @@ Thanks to the following people who contributed to this release:
944- Zoltan Boszormenyi 931- Zoltan Boszormenyi
945- 张忠山 932- 张忠山
946 933
947