diff options
| author | Joao Marcos Costa <joaomarcos.costa@bootlin.com> | 2024-04-10 11:47:45 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-04-12 17:29:34 +0100 |
| commit | a122a14ddc151f618a9756179d6f10c10b319952 (patch) | |
| tree | d8a97b5ed3a4b01104d2d981691ad6ca0dadd44b /documentation | |
| parent | e877e81a3ccfcf734014c59590ed331d4a6db1d0 (diff) | |
| download | poky-a122a14ddc151f618a9756179d6f10c10b319952.tar.gz | |
release-notes-5.0: add updates
- add new core recipes section
- add new variables
- add arch-specific enhancements
- add kernel-related enhancements
- add qemu enhancements
- add rust enhancements
- add wic enhancements
- add sdk-related improvements
- add testing enhancements
- add utility script changes
- add packaging changes
- add bitbake improvements
- add miscellaneous changes
(From yocto-docs rev: 72a80395199dd8a5d757b9e67629e1bb849273f1)
Signed-off-by: Joao Marcos Costa <joaomarcos.costa@bootlin.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
| -rw-r--r-- | documentation/migration-guides/release-notes-5.0.rst | 125 |
1 files changed, 124 insertions, 1 deletions
diff --git a/documentation/migration-guides/release-notes-5.0.rst b/documentation/migration-guides/release-notes-5.0.rst index 0a740688fa..1898b537af 100644 --- a/documentation/migration-guides/release-notes-5.0.rst +++ b/documentation/migration-guides/release-notes-5.0.rst | |||
| @@ -6,7 +6,7 @@ Release notes for 5.0 (scarthgap) | |||
| 6 | New Features / Enhancements in 5.0 | 6 | New Features / Enhancements in 5.0 |
| 7 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 7 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 8 | 8 | ||
| 9 | - Linux kernel 6.6, gcc 13.2, glibc 2.39, LLVM 18.1, and over XXX other recipe upgrades | 9 | - Linux kernel 6.6, gcc 13.2, glibc 2.39, LLVM 18.1, and over 300 other recipe upgrades |
| 10 | 10 | ||
| 11 | - New variables: | 11 | - New variables: |
| 12 | 12 | ||
| @@ -14,20 +14,110 @@ New Features / Enhancements in 5.0 | |||
| 14 | internal CVE database for incremental update (instead of a full | 14 | internal CVE database for incremental update (instead of a full |
| 15 | redownload). | 15 | redownload). |
| 16 | 16 | ||
| 17 | - :term:`RPMBUILD_EXTRA_PARAMS`: support extra user-defined fields without | ||
| 18 | crashing the RPM package creation. | ||
| 19 | |||
| 20 | - :term:`OPKG_MAKE_INDEX_EXTRA_PARAMS`: support extra parameters for | ||
| 21 | ``opkg-make-index``. | ||
| 22 | |||
| 23 | - :term:`EFI_UKI_PATH`, :term:`EFI_UKI_DIR`: define the location of UKI | ||
| 24 | image in the EFI System partition. | ||
| 25 | |||
| 17 | - Architecture-specific enhancements: | 26 | - Architecture-specific enhancements: |
| 18 | 27 | ||
| 28 | - ``genericarm64``: a new :term:`MACHINE` to represent a 64-bit General Arm | ||
| 29 | SystemReady platform. | ||
| 30 | |||
| 31 | - Add Power8 tune to PowerPC architecture. | ||
| 32 | |||
| 33 | - ``arch-armv9``: remove CRC and SVE tunes, since FEAT_CRC32 is now mandatory | ||
| 34 | and SVE/SVE2 are enabled by default in GCC's ``-march=armv9-a``. | ||
| 35 | |||
| 19 | - Kernel-related enhancements: | 36 | - Kernel-related enhancements: |
| 20 | 37 | ||
| 38 | - The default kernel is the current LTS (6.6). | ||
| 39 | |||
| 40 | - Add support for ``genericarm64``. | ||
| 41 | |||
| 21 | - New core recipes: | 42 | - New core recipes: |
| 22 | 43 | ||
| 44 | - `bmaptool <https://github.com/yoctoproject/bmaptool>`__: a tool for | ||
| 45 | creating block maps for files and flashing images, being now under the | ||
| 46 | Yocto Project umbrella. | ||
| 47 | |||
| 48 | - ``core-image-initramfs-boot``: a minimal initramfs image, containing just | ||
| 49 | ``udev`` and ``init``, designed to find the main root filesystem and | ||
| 50 | pivot to it. | ||
| 51 | |||
| 52 | - `lzlib <https://www.nongnu.org/lzip/lzlib.html>`__: a data compression | ||
| 53 | library that provides LZMA compression and decompression functions. | ||
| 54 | |||
| 55 | - `lzop <https://www.lzop.org/>`__: a compression utility based on the LZO | ||
| 56 | library, that was brought back after a (now reverted) removal. | ||
| 57 | |||
| 58 | - `python3-jsonschema-specifications <https://pypi.org/project/jsonschema-specifications/>`__: | ||
| 59 | support files for JSON Schema Specifications (meta-schemas and | ||
| 60 | vocabularies), added as a new dependency of ``python3-jsonschema``. | ||
| 61 | |||
| 62 | - `python3-maturin <https://github.com/pyo3/maturin>`__: a project that | ||
| 63 | allows building and publishing Rust crates as Python packages. | ||
| 64 | |||
| 65 | - `python3-meson-python <https://github.com/mesonbuild/meson-python>`__: a | ||
| 66 | Python build backend that enables the Meson build-system for Python packages. | ||
| 67 | |||
| 68 | - `python3-pyproject-metadata <https://pypi.org/project/pyproject-metadata/>`__: | ||
| 69 | a class to handle PEP 621 metadata, and a dependency for | ||
| 70 | ``python3-meson-python``. | ||
| 71 | |||
| 72 | - `python3-referencing <https://github.com/python-jsonschema/referencing>`__: | ||
| 73 | another dependency of ``python3-jsonschema``, it provides an | ||
| 74 | implementation of JSON reference resolution. | ||
| 75 | |||
| 76 | - `python3-rpds-py <https://pypi.org/project/rpds-py/>`__: Python bindings | ||
| 77 | to the Rust rpds crate, and a runtime dependency for ``python3-referencing``. | ||
| 78 | |||
| 79 | - `python3-sphinxcontrib-jquery <https://pypi.org/project/sphinxcontrib-jquery/>`__: | ||
| 80 | a Sphinx extension to include jQuery on newer Sphinx releases. Recent | ||
| 81 | versions of ``python3-sphinx-rtd-theme`` depend on it. | ||
| 82 | |||
| 83 | - `python3-yamllint <https://github.com/adrienverge/yamllint>`__: a linter | ||
| 84 | for YAML files. In U-Boot, the ``binman`` tool uses this linter to verify the | ||
| 85 | configurations at compile time. | ||
| 86 | |||
| 87 | - ``systemd-boot-native``: a UEFI boot manager, this time built as native to | ||
| 88 | provide the ``ukify`` tool. | ||
| 89 | |||
| 90 | - `utfcpp <https://github.com/nemtrif/utfcpp>`__: a C++ library to handle | ||
| 91 | UTF-8 encoded strings. It was added as a dependency for ``taglib`` after | ||
| 92 | its upgrade to v2.0. | ||
| 93 | |||
| 94 | - `vulkan-utility-libraries <https://github.com/KhronosGroup/Vulkan-Utility-Libraries>`__: | ||
| 95 | a set of libraries to share code across various Vulkan repositories. | ||
| 96 | |||
| 97 | - `vulkan-volk <https://github.com/zeux/volk>`__: a meta-loader for Vulkan, | ||
| 98 | needed to support building the latest ``vulkan-tools``. | ||
| 99 | |||
| 23 | - QEMU / ``runqemu`` enhancements: | 100 | - QEMU / ``runqemu`` enhancements: |
| 24 | 101 | ||
| 25 | - QEMU has been upgraded to version 8.2.1 | 102 | - QEMU has been upgraded to version 8.2.1 |
| 26 | 103 | ||
| 104 | - ``qemuboot``: support predictable network interface names. | ||
| 105 | |||
| 106 | - ``runqemu``: match ".rootfs." in addition to "-image-" for the root | ||
| 107 | filesystem. | ||
| 108 | |||
| 27 | - Rust improvements: | 109 | - Rust improvements: |
| 28 | 110 | ||
| 29 | - Rust has been upgraded to version 1.75 | 111 | - Rust has been upgraded to version 1.75 |
| 30 | 112 | ||
| 113 | - The Rust profiler (i.e., PGO - Profile-Guided Optimization) options were | ||
| 114 | enabled back. | ||
| 115 | |||
| 116 | - The Rust ``oe-selftest`` were enabled, except for ``mips32`` whose tests | ||
| 117 | are skipped. | ||
| 118 | |||
| 119 | - ``rust-cross-canadian``: added ``riscv64`` to cross-canadian hosts. | ||
| 120 | |||
| 31 | - wic Image Creator enhancements: | 121 | - wic Image Creator enhancements: |
| 32 | 122 | ||
| 33 | - Allow the imager's output file extension to match the imager's name, | 123 | - Allow the imager's output file extension to match the imager's name, |
| @@ -46,19 +136,50 @@ New Features / Enhancements in 5.0 | |||
| 46 | 136 | ||
| 47 | - SDK-related improvements: | 137 | - SDK-related improvements: |
| 48 | 138 | ||
| 139 | - ``nativesdk``: let :term:`MACHINE_FEATURES` be set by ``machine-sdk`` | ||
| 140 | configuration files. | ||
| 141 | |||
| 142 | - ``nativesdk``: prevent :term:`MACHINE_FEATURES` and :term:`DISTRO_FEATURES` | ||
| 143 | from being backfilled. | ||
| 144 | |||
| 49 | - Testing: | 145 | - Testing: |
| 50 | 146 | ||
| 51 | - Add an optional ``unimplemented-ptest`` QA warning to detect upstream | 147 | - Add an optional ``unimplemented-ptest`` QA warning to detect upstream |
| 52 | packages with tests, that do not use ptest. | 148 | packages with tests, that do not use ptest. |
| 53 | 149 | ||
| 150 | - ``testimage``: retrieve the ptests directory, especially for the logs, | ||
| 151 | upon ptest failure. | ||
| 152 | |||
| 153 | - ``oeqa``, ``oe-selftest``: add test cases for Maturin (SDK and runtime). | ||
| 154 | |||
| 54 | - Utility script changes: | 155 | - Utility script changes: |
| 55 | 156 | ||
| 56 | - New ``recipetool/create_go.py`` script added to support Go recipe creation | 157 | - New ``recipetool/create_go.py`` script added to support Go recipe creation |
| 57 | 158 | ||
| 159 | - ``oe-init-build-env`` can generate a initial configuration (``.vscode``) | ||
| 160 | for VSCode and its "Yocto Project BitBake" extension. | ||
| 161 | |||
| 58 | - BitBake improvements: | 162 | - BitBake improvements: |
| 59 | 163 | ||
| 164 | - Add support for :term:`BB_LOADFACTOR_MAX`, so Bitbake can stop running | ||
| 165 | extra tasks if the system load is too high, especially in distributions | ||
| 166 | where ``/proc/pressure`` is disabled. | ||
| 167 | |||
| 168 | - Add garbage collection to remove unused unihashes from the database. | ||
| 169 | |||
| 170 | - ``taskexp_ncurses``: add ncurses version of ``taskexp``, the dependency | ||
| 171 | explorer originally implemented with GTK. | ||
| 172 | |||
| 173 | - Improve ``runqueue`` performance by adding a cache mechanism in | ||
| 174 | ``build_taskdepdata``. | ||
| 175 | |||
| 176 | - ``bitbake.conf``: add ``runtimedir`` to represent the path to the runtime | ||
| 177 | state directory (i.e., ``/run``). | ||
| 178 | |||
| 60 | - Packaging changes: | 179 | - Packaging changes: |
| 61 | 180 | ||
| 181 | - ``package_rpm``: the RPM package compressor's mode can now be overriden. | ||
| 182 | |||
| 62 | - Security improvements: | 183 | - Security improvements: |
| 63 | 184 | ||
| 64 | - Improve incremental CVE database download from NVD. Rejected CVEs are | 185 | - Improve incremental CVE database download from NVD. Rejected CVEs are |
| @@ -85,6 +206,8 @@ New Features / Enhancements in 5.0 | |||
| 85 | 206 | ||
| 86 | - Disable strace support of bluetooth by default. | 207 | - Disable strace support of bluetooth by default. |
| 87 | 208 | ||
| 209 | - ``openssh`` now has a Systemd service: ``sshd.service``. | ||
| 210 | |||
| 88 | Known Issues in 5.0 | 211 | Known Issues in 5.0 |
| 89 | ~~~~~~~~~~~~~~~~~~~ | 212 | ~~~~~~~~~~~~~~~~~~~ |
| 90 | 213 | ||
