summaryrefslogtreecommitdiffstats
path: root/documentation/migration-guides/migration-2.5.rst
diff options
context:
space:
mode:
authorMichael Opdenacker <michael.opdenacker@bootlin.com>2023-01-05 08:34:26 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-01-06 17:39:09 +0000
commit8b1909aa6f7a51a878dc3d4a9223403ad3e164a9 (patch)
treee1418f545ad6640afb5fde004696eef2a9e6e67b /documentation/migration-guides/migration-2.5.rst
parentae280972ffba62d7ed839b692957f61b0955cbca (diff)
downloadpoky-8b1909aa6f7a51a878dc3d4a9223403ad3e164a9.tar.gz
manuals: simplify references to classes
Now that .bbclass is removed from class section titles. We can now have, for example, :ref:`ref-classes-insane` instead of :ref:`insane <ref-classes-insane>`. Then, when necessary, rework paragraphs so that they have lines of even length, not exceeding 80 characters. (From yocto-docs rev: e76190e3be78c1e483bec0469f1e437dbf8f3791) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Suggested-by: Quentin Schulz <foss+yocto@0leil.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/migration-guides/migration-2.5.rst')
-rw-r--r--documentation/migration-guides/migration-2.5.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/documentation/migration-guides/migration-2.5.rst b/documentation/migration-guides/migration-2.5.rst
index 8456c2306a..9f089bb93b 100644
--- a/documentation/migration-guides/migration-2.5.rst
+++ b/documentation/migration-guides/migration-2.5.rst
@@ -139,7 +139,7 @@ The following are BitBake changes:
139- Several explicit "run this task for all recipes in the dependency 139- Several explicit "run this task for all recipes in the dependency
140 tree" tasks have been removed (e.g. ``fetchall``, ``checkuriall``, 140 tree" tasks have been removed (e.g. ``fetchall``, ``checkuriall``,
141 and the ``*all`` tasks provided by the ``distrodata`` and 141 and the ``*all`` tasks provided by the ``distrodata`` and
142 :ref:`archiver <ref-classes-archiver>` classes). There is a BitBake option to complete this for 142 :ref:`ref-classes-archiver` classes). There is a BitBake option to complete this for
143 any arbitrary task. For example:: 143 any arbitrary task. For example::
144 144
145 bitbake <target> -c fetchall 145 bitbake <target> -c fetchall
@@ -189,7 +189,7 @@ Miscellaneous Changes
189 189
190The following are additional changes: 190The following are additional changes:
191 191
192- The :ref:`kernel <ref-classes-kernel>` class supports building packages for multiple kernels. 192- The :ref:`ref-classes-kernel` class supports building packages for multiple kernels.
193 If your kernel recipe or ``.bbappend`` file mentions packaging at 193 If your kernel recipe or ``.bbappend`` file mentions packaging at
194 all, you should replace references to the kernel in package names 194 all, you should replace references to the kernel in package names
195 with ``${KERNEL_PACKAGE_NAME}``. For example, if you disable 195 with ``${KERNEL_PACKAGE_NAME}``. For example, if you disable
@@ -197,7 +197,7 @@ The following are additional changes:
197 ``RDEPENDS_kernel-base = ""`` you can avoid warnings using 197 ``RDEPENDS_kernel-base = ""`` you can avoid warnings using
198 ``RDEPENDS_${KERNEL_PACKAGE_NAME}-base = ""`` instead. 198 ``RDEPENDS_${KERNEL_PACKAGE_NAME}-base = ""`` instead.
199 199
200- The :ref:`buildhistory <ref-classes-buildhistory>` class commits changes to the repository by 200- The :ref:`ref-classes-buildhistory` class commits changes to the repository by
201 default so you no longer need to set ``BUILDHISTORY_COMMIT = "1"``. 201 default so you no longer need to set ``BUILDHISTORY_COMMIT = "1"``.
202 If you want to disable commits you need to set 202 If you want to disable commits you need to set
203 ``BUILDHISTORY_COMMIT = "0"`` in your configuration. 203 ``BUILDHISTORY_COMMIT = "0"`` in your configuration.
@@ -209,12 +209,12 @@ The following are additional changes:
209 maintains a full-featured BSP in the ``meta-ti`` layer. This rename 209 maintains a full-featured BSP in the ``meta-ti`` layer. This rename
210 avoids the previous name clash that existed between the two BSPs. 210 avoids the previous name clash that existed between the two BSPs.
211 211
212- The :ref:`update-alternatives <ref-classes-update-alternatives>` class no longer works with SysV ``init`` 212- The :ref:`ref-classes-update-alternatives` class no longer works with SysV ``init``
213 scripts because this usage has been problematic. Also, the 213 scripts because this usage has been problematic. Also, the
214 ``sysklogd`` recipe no longer uses ``update-alternatives`` because it 214 ``sysklogd`` recipe no longer uses ``update-alternatives`` because it
215 is incompatible with other implementations. 215 is incompatible with other implementations.
216 216
217- By default, the :ref:`cmake <ref-classes-cmake>` class uses 217- By default, the :ref:`ref-classes-cmake` class uses
218 ``ninja`` instead of ``make`` for building. This improves build 218 ``ninja`` instead of ``make`` for building. This improves build
219 performance. If a recipe is broken with ``ninja``, then the recipe 219 performance. If a recipe is broken with ``ninja``, then the recipe
220 can set ``OECMAKE_GENERATOR = "Unix Makefiles"`` to change back to 220 can set ``OECMAKE_GENERATOR = "Unix Makefiles"`` to change back to