diff options
Diffstat (limited to 'documentation/migration-guides/migration-4.0.rst')
| -rw-r--r-- | documentation/migration-guides/migration-4.0.rst | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/documentation/migration-guides/migration-4.0.rst b/documentation/migration-guides/migration-4.0.rst index 93576d4538..5e240457c0 100644 --- a/documentation/migration-guides/migration-4.0.rst +++ b/documentation/migration-guides/migration-4.0.rst | |||
| @@ -66,7 +66,7 @@ changes and you need to review them before committing. An example warning | |||
| 66 | looks like:: | 66 | looks like:: |
| 67 | 67 | ||
| 68 | poky/scripts/lib/devtool/upgrade.py needs further work at line 275 since it contains abort | 68 | poky/scripts/lib/devtool/upgrade.py needs further work at line 275 since it contains abort |
| 69 | 69 | ||
| 70 | Fetching changes | 70 | Fetching changes |
| 71 | ~~~~~~~~~~~~~~~~ | 71 | ~~~~~~~~~~~~~~~~ |
| 72 | 72 | ||
| @@ -109,7 +109,7 @@ License changes | |||
| 109 | If they do not, by default a warning will be shown. A | 109 | If they do not, by default a warning will be shown. A |
| 110 | :oe_git:`convert-spdx-licenses.py </openembedded-core/tree/scripts/contrib/convert-spdx-licenses.py>` | 110 | :oe_git:`convert-spdx-licenses.py </openembedded-core/tree/scripts/contrib/convert-spdx-licenses.py>` |
| 111 | script can be used to update your recipes. | 111 | script can be used to update your recipes. |
| 112 | 112 | ||
| 113 | - :term:`INCOMPATIBLE_LICENSE` should now use `SPDX identifiers <https://spdx.org/licenses/>`__. | 113 | - :term:`INCOMPATIBLE_LICENSE` should now use `SPDX identifiers <https://spdx.org/licenses/>`__. |
| 114 | Additionally, wildcarding is now limited to specifically supported values - | 114 | Additionally, wildcarding is now limited to specifically supported values - |
| 115 | see the :term:`INCOMPATIBLE_LICENSE` documentation for further information. | 115 | see the :term:`INCOMPATIBLE_LICENSE` documentation for further information. |
| @@ -119,7 +119,7 @@ License changes | |||
| 119 | which can cause signature issues for users. In addition the ``available_licenses()`` | 119 | which can cause signature issues for users. In addition the ``available_licenses()`` |
| 120 | function has been removed from the :ref:`license <ref-classes-license>` class as | 120 | function has been removed from the :ref:`license <ref-classes-license>` class as |
| 121 | it is no longer needed. | 121 | it is no longer needed. |
| 122 | 122 | ||
| 123 | Removed recipes | 123 | Removed recipes |
| 124 | ~~~~~~~~~~~~~~~ | 124 | ~~~~~~~~~~~~~~~ |
| 125 | 125 | ||
| @@ -134,11 +134,11 @@ The following recipes have been removed in this release: | |||
| 134 | 134 | ||
| 135 | Python changes | 135 | Python changes |
| 136 | ~~~~~~~~~~~~~~ | 136 | ~~~~~~~~~~~~~~ |
| 137 | 137 | ||
| 138 | - ``distutils`` has been deprecated upstream in Python 3.10 and thus the ``distutils*`` | 138 | - ``distutils`` has been deprecated upstream in Python 3.10 and thus the ``distutils*`` |
| 139 | classes have been moved to ``meta-python``. Recipes that inherit the ``distutils*`` | 139 | classes have been moved to ``meta-python``. Recipes that inherit the ``distutils*`` |
| 140 | classes should be updated to inherit ``setuptools*`` equivalents instead. | 140 | classes should be updated to inherit ``setuptools*`` equivalents instead. |
| 141 | 141 | ||
| 142 | - The Python package build process is now based on `wheels <https://pythonwheels.com/>`__. | 142 | - The Python package build process is now based on `wheels <https://pythonwheels.com/>`__. |
| 143 | The new Python packaging classes that should be used are | 143 | The new Python packaging classes that should be used are |
| 144 | :ref:`python_flit_core <ref-classes-python_flit_core>`, | 144 | :ref:`python_flit_core <ref-classes-python_flit_core>`, |
| @@ -158,7 +158,7 @@ Prelink removed | |||
| 158 | Prelink has been dropped by ``glibc`` upstream in 2.36. It already caused issues with | 158 | Prelink has been dropped by ``glibc`` upstream in 2.36. It already caused issues with |
| 159 | binary corruption, has a number of open bugs and is of questionable benefit | 159 | binary corruption, has a number of open bugs and is of questionable benefit |
| 160 | without disabling load address randomization and PIE executables. | 160 | without disabling load address randomization and PIE executables. |
| 161 | 161 | ||
| 162 | We disabled prelinking by default in the honister (3.4) release, but left it able | 162 | We disabled prelinking by default in the honister (3.4) release, but left it able |
| 163 | to be enabled if desired. However, without glibc support it cannot be maintained | 163 | to be enabled if desired. However, without glibc support it cannot be maintained |
| 164 | any further, so all of the prelinking functionality has been removed in this release. | 164 | any further, so all of the prelinking functionality has been removed in this release. |
| @@ -169,7 +169,7 @@ reference(s). | |||
| 169 | Reproducible as standard | 169 | Reproducible as standard |
| 170 | ~~~~~~~~~~~~~~~~~~~~~~~~ | 170 | ~~~~~~~~~~~~~~~~~~~~~~~~ |
| 171 | 171 | ||
| 172 | Reproducibility is now considered as standard functionality, thus the | 172 | Reproducibility is now considered as standard functionality, thus the |
| 173 | ``reproducible`` class has been removed and its previous contents merged into the | 173 | ``reproducible`` class has been removed and its previous contents merged into the |
| 174 | :ref:`base <ref-classes-base>` class. If you have references in your configuration to | 174 | :ref:`base <ref-classes-base>` class. If you have references in your configuration to |
| 175 | ``reproducible`` in :term:`INHERIT`, :term:`USER_CLASSES` etc. then they should be | 175 | ``reproducible`` in :term:`INHERIT`, :term:`USER_CLASSES` etc. then they should be |
| @@ -211,7 +211,7 @@ and :ref:`bitbake:bitbake-user-manual/bitbake-user-manual-metadata:removal (over | |||
| 211 | 211 | ||
| 212 | Miscellaneous changes | 212 | Miscellaneous changes |
| 213 | ~~~~~~~~~~~~~~~~~~~~~ | 213 | ~~~~~~~~~~~~~~~~~~~~~ |
| 214 | 214 | ||
| 215 | - ``blacklist.bbclass`` is removed and the functionality moved to the | 215 | - ``blacklist.bbclass`` is removed and the functionality moved to the |
| 216 | :ref:`base <ref-classes-base>` class with a more descriptive | 216 | :ref:`base <ref-classes-base>` class with a more descriptive |
| 217 | ``varflag`` variable named :term:`SKIP_RECIPE` which will use the `bb.parse.SkipRecipe()` | 217 | ``varflag`` variable named :term:`SKIP_RECIPE` which will use the `bb.parse.SkipRecipe()` |
| @@ -251,7 +251,7 @@ Miscellaneous changes | |||
| 251 | - The ``cortexa72-crc`` and ``cortexa72-crc-crypto`` tunes have been removed since | 251 | - The ``cortexa72-crc`` and ``cortexa72-crc-crypto`` tunes have been removed since |
| 252 | the crc extension is now enabled by default for cortexa72. Replace any references to | 252 | the crc extension is now enabled by default for cortexa72. Replace any references to |
| 253 | these with ``cortexa72`` and ``cortexa72-crypto`` respectively. | 253 | these with ``cortexa72`` and ``cortexa72-crypto`` respectively. |
| 254 | 254 | ||
| 255 | - The Python development shell (previously known as ``devpyshell``) feature has been | 255 | - The Python development shell (previously known as ``devpyshell``) feature has been |
| 256 | renamed to ``pydevshell``. To start it you should now run:: | 256 | renamed to ``pydevshell``. To start it you should now run:: |
| 257 | 257 | ||
| @@ -260,7 +260,7 @@ Miscellaneous changes | |||
| 260 | - The ``packagegroups-core-full-cmdline-libs`` packagegroup is no longer produced, as | 260 | - The ``packagegroups-core-full-cmdline-libs`` packagegroup is no longer produced, as |
| 261 | libraries should normally be brought in via dependencies. If you have any references | 261 | libraries should normally be brought in via dependencies. If you have any references |
| 262 | to this then remove them. | 262 | to this then remove them. |
| 263 | 263 | ||
| 264 | - The :term:`TOPDIR` variable and the current working directory are no longer modified | 264 | - The :term:`TOPDIR` variable and the current working directory are no longer modified |
| 265 | when parsing recipes. Any code depending on the previous behaviour will no longer | 265 | when parsing recipes. Any code depending on the previous behaviour will no longer |
| 266 | work - change any such code to explicitly use appropriate path variables instead. | 266 | work - change any such code to explicitly use appropriate path variables instead. |
