summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorMichael Opdenacker <michael.opdenacker@bootlin.com>2022-03-29 22:50:40 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-03-31 11:46:03 +0100
commita64ca37a138b0bdac6effcd611c76f1e1d9d585d (patch)
treea61a399fc6f6e5b15d44ab2f7752186d3f50643a /documentation
parent325c23cd0f80456111ce886af141501a8a74282c (diff)
downloadpoky-a64ca37a138b0bdac6effcd611c76f1e1d9d585d.tar.gz
migration-guides: preliminary description for 3.5
(From yocto-docs rev: 2c24dd801b8d9fa4b81726dcde34a69fde309e4a) Signed-off-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/migration-3.5.rst54
1 files changed, 53 insertions, 1 deletions
diff --git a/documentation/migration-guides/migration-3.5.rst b/documentation/migration-guides/migration-3.5.rst
index e6c7c413d1..8a4c568743 100644
--- a/documentation/migration-guides/migration-3.5.rst
+++ b/documentation/migration-guides/migration-3.5.rst
@@ -104,10 +104,17 @@ Recipe changes
104- :ref:`allarch <ref-classes-allarch>` packagegroups can no longer depend on packages 104- :ref:`allarch <ref-classes-allarch>` packagegroups can no longer depend on packages
105 which use :term:`PKG` renaming such as :ref:`ref-classes-debian`. 105 which use :term:`PKG` renaming such as :ref:`ref-classes-debian`.
106 106
107- :term:`LICENSE` definitions now have to use `SPDX identifiers <https://spdx.org/licenses/>`__.
108 A :oe_git:`convert-spdx-licenses.py </openembedded-core/tree/scripts/contrib/convert-spdx-licenses.py>`
109 script can be used to update your recipes.
110
111- :term:`SRC_URI`: a new :ref:`bitbake:bitbake-user-manual/bitbake-user-manual-fetching:crate fetcher (\`\`crate://\`\`)`
112 is available for Rust packages.
113
107Class changes 114Class changes
108------------- 115-------------
109 116
110- The `distutils*.bbclasses` have been moved to `meta-python`. The classes and 117- The ``distutils*.bbclasses`` have been moved to ``meta-python``. The classes and
111 `DISTUTILS*` variables have been removed from the documentation. 118 `DISTUTILS*` variables have been removed from the documentation.
112 119
113- ``blacklist.bbclass`` is removed and the functionality moved to the 120- ``blacklist.bbclass`` is removed and the functionality moved to the
@@ -116,3 +123,48 @@ Class changes
116 function. The usage will remain the same:: 123 function. The usage will remain the same::
117 124
118 SKIP_RECIPE[my-recipe] = "Reason for skipping recipe" 125 SKIP_RECIPE[my-recipe] = "Reason for skipping recipe"
126
127- The Python package build process based on `wheels <https://pythonwheels.com/>`__.
128 Here are the new Python packaging classes that should be used:
129 :ref:`python-flit_core <ref-classes-python_flit_core>`,
130 :ref:`setuptools_python-build_meta <ref-classes-python_setuptools_build_meta>`
131 and :ref:`python_poetry_core <ref-classes-python_poetry_core>`.
132
133- ``image-prelink.bbclass`` class is removed.
134
135- New :ref:`overlayfs <ref-classes-overlayfs>` and
136 :ref:`overlayfs-etc <ref-classes-overlayfs-etc>` classes are available
137 to make it easier to overlay read-only filesystems (for example)
138 with `OverlayFS <https://en.wikipedia.org/wiki/OverlayFS>`__.
139
140Configuration changes
141---------------------
142
143- The Yocto Project now allows to reuse Shared State from its autobuilder.
144 If the network connection between our server and your machine is faster
145 than you would build recipes, you can try to speed up your builds
146 by using such Share State and Hash Equivalence by setting::
147
148 BB_SIGNATURE_HANDLER = "OEEquivHash"
149 BB_HASHSERVE = "auto"
150 BB_HASHSERVE_UPSTREAM = "typhoon.yocto.io:8687"
151 SSTATE_MIRRORS ?= "file://.* https://sstate.yoctoproject.org/&YOCTO_DOC_VERSION;/PATH;downloadfilename=PATH"
152
153Supported host distribution changes
154-----------------------------------
155
156- New support for `AlmaLinux <https://en.wikipedia.org/wiki/AlmaLinux>`__
157 hosts replacing `CentOS <https://en.wikipedia.org/wiki/CentOS>`__.
158 The following distribution versions were dropped: CentOS 8, Ubuntu 16.04 and Fedora 30, 31 and 32.
159
160Changes for release notes
161-------------------------
162
163- Share State cache: now using `ZStandard (zstd) <https://en.wikipedia.org/wiki/Zstd>`__
164 instead of Gzip compression, for better performance.
165
166- BitBake has an improved ``setscene`` task display.
167
168- This release fixes the reproducibility issues with ``rust-llvm`` and ``golang``.
169 Recipes in OpenEmbedded-Core are now fully reproducible.
170