diff options
| -rw-r--r-- | documentation/migration-guides/release-notes-5.0.rst | 76 |
1 files changed, 71 insertions, 5 deletions
diff --git a/documentation/migration-guides/release-notes-5.0.rst b/documentation/migration-guides/release-notes-5.0.rst index 604ecda1a2..4bd9125d17 100644 --- a/documentation/migration-guides/release-notes-5.0.rst +++ b/documentation/migration-guides/release-notes-5.0.rst | |||
| @@ -23,6 +23,8 @@ New Features / Enhancements in 5.0 | |||
| 23 | - :term:`EFI_UKI_PATH`, :term:`EFI_UKI_DIR`: define the location of UKI | 23 | - :term:`EFI_UKI_PATH`, :term:`EFI_UKI_DIR`: define the location of UKI |
| 24 | image in the EFI System partition. | 24 | image in the EFI System partition. |
| 25 | 25 | ||
| 26 | - :term:`TARGET_DBGSRC_DIR`: specifies the target path to debug source files | ||
| 27 | |||
| 26 | - Architecture-specific enhancements: | 28 | - Architecture-specific enhancements: |
| 27 | 29 | ||
| 28 | - ``genericarm64``: a new :term:`MACHINE` to represent a 64-bit General Arm | 30 | - ``genericarm64``: a new :term:`MACHINE` to represent a 64-bit General Arm |
| @@ -33,6 +35,8 @@ New Features / Enhancements in 5.0 | |||
| 33 | - ``arch-armv9``: remove CRC and SVE tunes, since FEAT_CRC32 is now mandatory | 35 | - ``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``. | 36 | and SVE/SVE2 are enabled by default in GCC's ``-march=armv9-a``. |
| 35 | 37 | ||
| 38 | - ``arm/armv*``: add all of the additional Arm tunes in GCC 13.2.0 | ||
| 39 | |||
| 36 | - Kernel-related enhancements: | 40 | - Kernel-related enhancements: |
| 37 | 41 | ||
| 38 | - The default kernel is the current LTS (6.6). | 42 | - The default kernel is the current LTS (6.6). |
| @@ -145,6 +149,10 @@ New Features / Enhancements in 5.0 | |||
| 145 | - ``nativesdk``: prevent :term:`MACHINE_FEATURES` and :term:`DISTRO_FEATURES` | 149 | - ``nativesdk``: prevent :term:`MACHINE_FEATURES` and :term:`DISTRO_FEATURES` |
| 146 | from being backfilled. | 150 | from being backfilled. |
| 147 | 151 | ||
| 152 | - Support for ``riscv64`` as an SDK host architecture | ||
| 153 | |||
| 154 | - Extend recipes to ``nativesdk``: ``acpica``, ``libpcap``, ``python3-setuptools-rust`` | ||
| 155 | |||
| 148 | - Testing: | 156 | - Testing: |
| 149 | 157 | ||
| 150 | - Add an optional ``unimplemented-ptest`` QA warning to detect upstream | 158 | - Add an optional ``unimplemented-ptest`` QA warning to detect upstream |
| @@ -155,15 +163,30 @@ New Features / Enhancements in 5.0 | |||
| 155 | 163 | ||
| 156 | - ``oeqa``, ``oe-selftest``: add test cases for Maturin (SDK and runtime). | 164 | - ``oeqa``, ``oe-selftest``: add test cases for Maturin (SDK and runtime). |
| 157 | 165 | ||
| 158 | - Utility script changes: | 166 | - Enable ptests for ``python3-attrs``, ``python3-pyyaml``, ``xz`` |
| 159 | 167 | ||
| 160 | - New ``recipetool/create_go.py`` script added to support Go recipe creation | 168 | - Utility script changes: |
| 161 | 169 | ||
| 162 | - ``oe-init-build-env`` can generate a initial configuration (``.vscode``) | 170 | - ``oe-init-build-env`` can generate a initial configuration (``.vscode``) |
| 163 | for VSCode and its "Yocto Project BitBake" extension. | 171 | for VSCode and its "Yocto Project BitBake" extension. |
| 164 | 172 | ||
| 173 | - The ``sstate-cache-management`` script has been rewritten in python for better performance and maintainability | ||
| 174 | |||
| 175 | - ``bitbake-layers``: added an option to update the reference of repositories in layer setup | ||
| 176 | |||
| 165 | - BitBake improvements: | 177 | - BitBake improvements: |
| 166 | 178 | ||
| 179 | - New ``inherit_defer`` statement which works as | ||
| 180 | :ref:`inherit <bitbake:bitbake-user-manual/bitbake-user-manual-metadata:\`\`inherit\`\` directive>` | ||
| 181 | does, except that it is only evaluated at the end of parsing | ||
| 182 | --- recommended where a conditional expression is used, e.g.:: | ||
| 183 | |||
| 184 | inherit_defer ${@bb.utils.contains('PACKAGECONFIG', 'python', 'python3targetconfig', '', d)} | ||
| 185 | |||
| 186 | This allows conditional expressions to be evaluated 'late' meaning changes | ||
| 187 | to the variable after the line is parsed will take effect - with inherit this | ||
| 188 | is not the case. | ||
| 189 | |||
| 167 | - Add support for :term:`BB_LOADFACTOR_MAX`, so Bitbake can stop running | 190 | - Add support for :term:`BB_LOADFACTOR_MAX`, so Bitbake can stop running |
| 168 | extra tasks if the system load is too high, especially in distributions | 191 | extra tasks if the system load is too high, especially in distributions |
| 169 | where ``/proc/pressure`` is disabled. | 192 | where ``/proc/pressure`` is disabled. |
| @@ -185,7 +208,7 @@ New Features / Enhancements in 5.0 | |||
| 185 | - ``git-make-shallow`` script: add support for Git's ``safe.bareRepository=explicit`` | 208 | - ``git-make-shallow`` script: add support for Git's ``safe.bareRepository=explicit`` |
| 186 | configuration setting. | 209 | configuration setting. |
| 187 | 210 | ||
| 188 | - Devtool improvements: | 211 | - devtool improvements: |
| 189 | 212 | ||
| 190 | - Introduce a new ``ide-sdk`` plugin to generate a configuration to use | 213 | - Introduce a new ``ide-sdk`` plugin to generate a configuration to use |
| 191 | the eSDK through an IDE. | 214 | the eSDK through an IDE. |
| @@ -194,10 +217,37 @@ New Features / Enhancements in 5.0 | |||
| 194 | 217 | ||
| 195 | - Add support for Git submodules. | 218 | - Add support for Git submodules. |
| 196 | 219 | ||
| 220 | - ``ide``: ``vscode``: generate files from recipe sysroots and debug the | ||
| 221 | root filesystem in read-only mode to avoid confusion. | ||
| 222 | |||
| 223 | - ``modify``: add support for multiple sources in :term:`SRC_URI`. | ||
| 224 | |||
| 225 | - Support plugins within plugins. | ||
| 226 | |||
| 227 | - recipetool improvements: | ||
| 228 | |||
| 229 | - ``appendsrcfile(s)``: add a mode to update the recipe itself. | ||
| 230 | |||
| 231 | - ``appendsrcfile(s)``: add ``--dry-run`` mode. | ||
| 232 | |||
| 233 | - ``create``: add handler to create Go recipes. | ||
| 234 | |||
| 235 | - ``create``: improve identification of licenses. | ||
| 236 | |||
| 237 | - ``create``: add support for modern Python PEP-517 build systems including | ||
| 238 | hatchling, maturin, meson-python. | ||
| 239 | |||
| 240 | - ``create``: add PyPi support. | ||
| 241 | |||
| 242 | - ``create``: prefix created Python recipes with ``python3-``. | ||
| 243 | |||
| 197 | - Packaging changes: | 244 | - Packaging changes: |
| 198 | 245 | ||
| 199 | - ``package_rpm``: the RPM package compressor's mode can now be overriden. | 246 | - ``package_rpm``: the RPM package compressor's mode can now be overriden. |
| 200 | 247 | ||
| 248 | - ipk packaging (using ``opkg``) now uses ``zstd`` compression instead of | ||
| 249 | ``xz`` for better compression and performance. | ||
| 250 | |||
| 201 | - Security improvements: | 251 | - Security improvements: |
| 202 | 252 | ||
| 203 | - Improve incremental CVE database download from NVD. Rejected CVEs are | 253 | - Improve incremental CVE database download from NVD. Rejected CVEs are |
| @@ -226,6 +276,11 @@ New Features / Enhancements in 5.0 | |||
| 226 | - Systemd's following :term:`PACKAGECONFIG` options were added: | 276 | - Systemd's following :term:`PACKAGECONFIG` options were added: |
| 227 | ``cryptsetup-plugins``, ``no-ntp-fallback``, and ``p11kit``. | 277 | ``cryptsetup-plugins``, ``no-ntp-fallback``, and ``p11kit``. |
| 228 | 278 | ||
| 279 | - New PACKAGECONFIG options added to ``libarchive``, ``libinput``, | ||
| 280 | ``libunwind``, ``mesa``, ``mesa-gl``, ``openssh``, ``perf``, | ||
| 281 | ``python3-pyyaml``, ``qemu``, ``rpm``, ``shadow``, ``strace``, | ||
| 282 | ``syslinux``, ``systemd``, ``vte``, ``webkitgtk``, ``xserver-xorg``. | ||
| 283 | |||
| 229 | - ``systemd-boot`` can, from now on, be compiled as ``native``, thus | 284 | - ``systemd-boot`` can, from now on, be compiled as ``native``, thus |
| 230 | providing ``ukify`` tool to build UKI images. | 285 | providing ``ukify`` tool to build UKI images. |
| 231 | 286 | ||
| @@ -238,12 +293,23 @@ New Features / Enhancements in 5.0 | |||
| 238 | 293 | ||
| 239 | - Disable strace support of bluetooth by default. | 294 | - Disable strace support of bluetooth by default. |
| 240 | 295 | ||
| 241 | - ``openssh`` now has a Systemd service: ``sshd.service``. | 296 | - ``openssh`` now has a systemd service: ``sshd.service``. |
| 297 | |||
| 298 | - The :ref:`ref-classes-python_mesonpy` class was added (moved in from | ||
| 299 | ``meta-python``) to support Python package builds using the meson-python | ||
| 300 | PEP-517 build backend. | ||
| 301 | |||
| 302 | - Support for unpacking ``.7z`` archives in :term:`SRC_URI` using ``p7zip``. | ||
| 303 | |||
| 304 | - Add minimal VS Code configuration to avoid VS Code's indexer from choking | ||
| 305 | on build directories. | ||
| 306 | |||
| 242 | 307 | ||
| 243 | Known Issues in 5.0 | 308 | Known Issues in 5.0 |
| 244 | ~~~~~~~~~~~~~~~~~~~ | 309 | ~~~~~~~~~~~~~~~~~~~ |
| 245 | 310 | ||
| 246 | - N/A | 311 | - ``gpgme`` has had Python binding support disabled since upstream does not yet support Python 3.12. |
| 312 | |||
| 247 | 313 | ||
| 248 | Recipe License changes in 5.0 | 314 | Recipe License changes in 5.0 |
| 249 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 315 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
