From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtpout-02.galae.net (smtpout-02.galae.net [185.246.84.56]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.14232.1796306029076588999 for ; Thu, 03 Dec 2026 05:53:50 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=dkim header.b=nynV2Q3S; spf=pass (domain: bootlin.com, ip: 185.246.84.56, mailfrom: antonin.godard@bootlin.com) Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-02.galae.net (Postfix) with ESMTPS id 9CF3C1A1914; Thu, 3 Dec 2026 13:53:47 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 6A014604ED; Thu, 3 Dec 2026 13:53:47 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id BFF8411EA1877; Thu, 03 Dec 2026 14:53:42 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1796306023; h=from:subject:date:message-id:to:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=gUHyk/Bt44D6U8z4ifDOG55jxvwvkhWYux97t5g3e8I=; b=nynV2Q3SQxGkvg2CaKrCX3TNIGHv8LzAalEb8N0P9MozEI/omKxO5z80/Y5AggpPmzGnPT Dm76MsbCdH0mSm3gOxZxNlTBPdB1sobdFpmWd9H2fHuk2VrMdyrlEgWJGakef44bNfY0vT synwDVHrNhqR0075cUSAwTeDx8dLjKHJE+IPCHwIr0i54k2qsFs3TucCTg6oaDNGEBLQ1c NWBJikPHAZx+pvzjEm6y/bw7yaWGbOEP9jwXH58in0Ybz2Ilmkzb3/zUaCyVeIjQ5J0VBg 7BQMmmcVFDctudIWsSrMzbIkoNVZpLsZjkV2doMYGDN1StrOhkMxeHM2B81UDg== Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Thu, 03 Dec 2026 14:53:42 +0100 Message-Id: Subject: Re: [docs] [PATCH 06/16] migration-guides: state the language of the blocks that are not BitBake From: "Antonin Godard" To: , References: <20261201152251.2742634-1-twoerner@gmail.com> <20261201152251.2742634-7-twoerner@gmail.com> In-Reply-To: <20261201152251.2742634-7-twoerner@gmail.com> X-Last-TLS-Session-Version: TLSv1.3 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Thu, 03 Dec 2026 13:53:54 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/10914 On Tue Dec 1, 2026 at 4:22 PM CET, Trevor Woerner via docs wrote: > The manuals are moving to a default of bitbake for code blocks, so a > BitBake block needs no language and every other block needs one. This > gives the blocks in this manual that are not BitBake their language. > > AI-Generated: codex/claude-opus 5.5 (xhigh) > Signed-off-by: Trevor Woerner > --- > .../migration-guides/migration-1.3.rst | 4 +++- > .../migration-guides/migration-1.4.rst | 8 +++++-- > .../migration-guides/migration-1.7.rst | 4 +++- > .../migration-guides/migration-2.0.rst | 4 +++- > .../migration-guides/migration-2.1.rst | 8 +++++-- > .../migration-guides/migration-2.2.rst | 16 +++++++++---- > .../migration-guides/migration-2.3.rst | 8 +++++-- > .../migration-guides/migration-2.5.rst | 8 +++++-- > .../migration-guides/migration-2.6.rst | 8 +++++-- > .../migration-guides/migration-3.4.rst | 4 +++- > .../migration-guides/migration-4.0.rst | 8 +++++-- > .../migration-guides/migration-4.1.rst | 8 +++++-- > .../migration-guides/migration-5.2.rst | 12 +++++++--- > .../migration-guides/migration-5.3.rst | 24 ++++++++++++++----- > .../migration-guides/migration-6.0.rst | 22 ++++++++++++----- > .../migration-guides/migration-6.1.rst | 8 +++++-- > .../migration-guides/release-notes-4.2.rst | 4 +++- > .../migration-guides/release-notes-5.1.rst | 4 +++- > .../migration-guides/release-notes-5.3.rst | 16 +++++++++---- > 19 files changed, 133 insertions(+), 45 deletions(-) > > diff --git a/documentation/migration-guides/migration-1.3.rst b/documenta= tion/migration-guides/migration-1.3.rst > index 0c378aabe83e..8f79ff74e6e6 100644 > --- a/documentation/migration-guides/migration-1.3.rst > +++ b/documentation/migration-guides/migration-1.3.rst > @@ -184,7 +184,9 @@ include :term:`PE` as part of the filename:: > =20 > Because the :term:`PE` variable is not set by default, these binary file= s > could result with names that include two dash characters. Here is an > -example:: > +example: > + > +.. code-block:: text > =20 > bzImage--3.10.9+git0+cd502a8814_7144bcc4b8-r0-qemux86-64-201308300854= 31.bin > =20 > diff --git a/documentation/migration-guides/migration-1.4.rst b/documenta= tion/migration-guides/migration-1.4.rst > index 5d8d0ffde83b..e4856e2eabc9 100644 > --- a/documentation/migration-guides/migration-1.4.rst > +++ b/documentation/migration-guides/migration-1.4.rst > @@ -42,7 +42,9 @@ Differences include the following: > =20 > - *Shared State Code:* The shared state code has been optimized to > avoid running unnecessary tasks. For example, the following no longer > - populates the target sysroot since that is not necessary:: > + populates the target sysroot since that is not necessary: > + > + .. code-block:: console > =20 > $ bitbake -c rootfs some-image > =20 > @@ -137,7 +139,9 @@ Target Package Management with RPM > If runtime package management is enabled and the RPM backend is > selected, Smart is now installed for package download, dependency > resolution, and upgrades instead of Zypper. For more information on how > -to use Smart, run the following command on the target:: > +to use Smart, run the following command on the target: > + > +.. code-block:: text > =20 > smart --help > =20 > diff --git a/documentation/migration-guides/migration-1.7.rst b/documenta= tion/migration-guides/migration-1.7.rst > index 8527213b80e4..1a4ba2eccb72 100644 > --- a/documentation/migration-guides/migration-1.7.rst > +++ b/documentation/migration-guides/migration-1.7.rst > @@ -80,7 +80,9 @@ disable the scripts due to the scripts previously requi= ring error-prone > path substitution. Software that links against these libraries using > these scripts should use the much more robust ``pkg-config`` instead. > The list of recipes changed in this version (and their configuration > -scripts) is as follows:: > +scripts) is as follows: > + > +.. code-block:: text > =20 > directfb (directfb-config) > freetype (freetype-config) > diff --git a/documentation/migration-guides/migration-2.0.rst b/documenta= tion/migration-guides/migration-2.0.rst > index b98f2277ed94..dc4008c691e8 100644 > --- a/documentation/migration-guides/migration-2.0.rst > +++ b/documentation/migration-guides/migration-2.0.rst > @@ -92,7 +92,9 @@ unlikely to require any changes to Metadata. However, t= hese minor > changes in behavior exist: > =20 > - All potential overrides are now visible in the variable history as > - seen when you run the following:: > + seen when you run the following: > + > + .. code-block:: console > =20 > $ bitbake -e > =20 > diff --git a/documentation/migration-guides/migration-2.1.rst b/documenta= tion/migration-guides/migration-2.1.rst > index 987464f4d77f..f1c4e7880f26 100644 > --- a/documentation/migration-guides/migration-2.1.rst > +++ b/documentation/migration-guides/migration-2.1.rst > @@ -44,7 +44,9 @@ defaulted to False if not specified. Now, however, no d= efault exists so > one must be specified. You must change any ``getVar()`` calls that do > not specify the final expand parameter to calls that do specify the > parameter. You can run the following ``sed`` command at the base of a > -layer to make this change:: > +layer to make this change: > + > +.. code-block:: console > =20 > $ sed -e 's:\(\.getVar([^,()]*\)):\1, False):g' -i `grep -ril getVar = *` > $ sed -e 's:\(\.getVarFlag([^,()]*,[^,()]*\)):\1, False):g' -i `grep = -ril getVarFlag *` > @@ -367,7 +369,9 @@ These additional changes exist: > - Previously, the following list of packages were removed if > package-management was not in > :term:`IMAGE_FEATURES`, regardless of any > - dependencies:: > + dependencies: > + > + .. code-block:: text > =20 > update-rc.d > base-passwd > diff --git a/documentation/migration-guides/migration-2.2.rst b/documenta= tion/migration-guides/migration-2.2.rst > index 9d50dc62022b..a85ce04df8af 100644 > --- a/documentation/migration-guides/migration-2.2.rst > +++ b/documentation/migration-guides/migration-2.2.rst > @@ -145,7 +145,9 @@ The new ``runqemu`` is a Python script. Machine knowl= edge is no longer > hardcoded into ``runqemu``. You can choose to use the ``qemuboot`` > configuration file to define the BSP's own arguments and to make it > bootable with ``runqemu``. If you use a configuration file, use the > -following form:: > +following form: > + > +.. code-block:: text > =20 > image-name-machine.qemuboot.conf > =20 > @@ -160,7 +162,9 @@ rootfs). QEMU boot arguments can be set in BSP's conf= iguration file and > the ``qemuboot`` class will save them to ``qemuboot.conf``. > =20 > If you want to use ``runqemu`` without a configuration file, use the > -following command form:: > +following command form: > + > +.. code-block:: console > =20 > $ runqemu machine rootfs kernel [options] > =20 > @@ -178,12 +182,16 @@ Supported machines are as follows: > =20 > Consider the > following example, which uses the ``qemux86-64`` machine, provides a > -root filesystem, provides an image, and uses the ``nographic`` option:: > +root filesystem, provides an image, and uses the ``nographic`` option: > + > +.. code-block:: console > =20 > $ runqemu qemux86-64 tmp/deploy/images/qemux86-64/core-image-minimal-= qemux86-64.ext4 tmp/deploy/images/qemux86-64/bzImage nographic > =20 > Here is a list of variables that can be set in configuration files > -such as ``bsp.conf`` to enable the BSP to be booted by ``runqemu``:: > +such as ``bsp.conf`` to enable the BSP to be booted by ``runqemu``: > + > +.. code-block:: text > =20 > QB_SYSTEM_NAME: QEMU name (e.g. "qemu-system-i386") > QB_OPT_APPEND: Options to append to QEMU (e.g. "-show-cursor") > diff --git a/documentation/migration-guides/migration-2.3.rst b/documenta= tion/migration-guides/migration-2.3.rst > index 60340b9592f1..b67cbdd4e2a5 100644 > --- a/documentation/migration-guides/migration-2.3.rst > +++ b/documentation/migration-guides/migration-2.3.rst > @@ -116,7 +116,9 @@ Changes to Scripts > The following changes to scripts took place: > =20 > - ``oe-find-native-sysroot``: The usage for the > - ``oe-find-native-sysroot`` script has changed to the following:: > + ``oe-find-native-sysroot`` script has changed to the following: > + > + .. code-block:: console > =20 > $ . oe-find-native-sysroot recipe > =20 > @@ -125,7 +127,9 @@ The following changes to scripts took place: > was not necessary to provide the script with the command. > =20 > - ``oe-run-native``: The usage for the ``oe-run-native`` script has > - changed to the following:: > + changed to the following: > + > + .. code-block:: console > =20 > $ oe-run-native native_recipe tool > =20 > diff --git a/documentation/migration-guides/migration-2.5.rst b/documenta= tion/migration-guides/migration-2.5.rst > index 70946b5e11b4..8f9032d71f05 100644 > --- a/documentation/migration-guides/migration-2.5.rst > +++ b/documentation/migration-guides/migration-2.5.rst > @@ -136,11 +136,15 @@ BitBake Changes > tree" tasks have been removed (e.g. ``fetchall``, ``checkuriall``, > and the ``*all`` tasks provided by the ``distrodata`` and > :ref:`ref-classes-archiver` classes). There is a BitBake option to co= mplete this for > - any arbitrary task. For example:: > + any arbitrary task. For example: > + > + .. code-block:: console > =20 > $ bitbake -c fetchall > =20 > - should now be replaced with:: > + should now be replaced with: > + > + .. code-block:: console > =20 > $ bitbake --runall=3Dfetch > =20 > diff --git a/documentation/migration-guides/migration-2.6.rst b/documenta= tion/migration-guides/migration-2.6.rst > index ecb559dd4c32..c30808a2f572 100644 > --- a/documentation/migration-guides/migration-2.6.rst > +++ b/documentation/migration-guides/migration-2.6.rst > @@ -166,7 +166,9 @@ The following changes have been made: > =20 > IMAGE_VERSION_SUFFIX =3D "-${DATETIME}" > =20 > -- Several variables have changed names for consistency:: > +- Several variables have changed names for consistency: > + > + .. code-block:: text > =20 > Old Variable Name New Variable Name > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D > @@ -288,7 +290,9 @@ avoids the ``systemd`` recipe from becoming machine-s= pecific for cases > where machine-specific configurations need to be applied (e.g. for > ``qemu*`` machines). > =20 > -Currently, the new recipe packages the following files:: > +Currently, the new recipe packages the following files: > + > +.. code-block:: text > =20 > ${sysconfdir}/machine-id > ${sysconfdir}/systemd/coredump.conf > diff --git a/documentation/migration-guides/migration-3.4.rst b/documenta= tion/migration-guides/migration-3.4.rst > index e9cb3a109ea9..279c9b56425e 100644 > --- a/documentation/migration-guides/migration-3.4.rst > +++ b/documentation/migration-guides/migration-3.4.rst > @@ -67,7 +67,9 @@ may be the same as a :term:`DISTRO` override causing so= me confusion. We do > plan to try and improve consistency as these issues are identified. > =20 > To help with migration of layers, a script has been provided in OE-Core. > -Once configured with the overrides used by a layer, this can be run as:: > +Once configured with the overrides used by a layer, this can be run as: > + > +.. code-block:: text > =20 > /scripts/contrib/convert-overrides.py > =20 > diff --git a/documentation/migration-guides/migration-4.0.rst b/documenta= tion/migration-guides/migration-4.0.rst > index 31ce15a9cafc..0a3766a8a76d 100644 > --- a/documentation/migration-guides/migration-4.0.rst > +++ b/documentation/migration-guides/migration-4.0.rst > @@ -65,7 +65,9 @@ A :oe_git:`convert-variable-renames.py > script is provided to convert your recipes and configuration, > and also warns you about the use of problematic words. The script perfor= ms > changes and you need to review them before committing. An example warnin= g > -looks like:: > +looks like: > + > +.. code-block:: text > =20 > poky/scripts/lib/devtool/upgrade.py needs further work at line 275 s= ince it contains abort > =20 > @@ -254,7 +256,9 @@ Miscellaneous changes > these with ``cortexa72`` and ``cortexa72-crypto`` respectively. > =20 > - The Python development shell (previously known as ``devpyshell``) feat= ure has been > - renamed to ``pydevshell``. To start it you should now run:: > + renamed to ``pydevshell``. To start it you should now run: > + > + .. code-block:: console > =20 > $ bitbake -c pydevshell > =20 > diff --git a/documentation/migration-guides/migration-4.1.rst b/documenta= tion/migration-guides/migration-4.1.rst > index 2daaffb1db31..f607babb8efe 100644 > --- a/documentation/migration-guides/migration-4.1.rst > +++ b/documentation/migration-guides/migration-4.1.rst > @@ -166,11 +166,15 @@ Miscellaneous changes > :ref:`ref-classes-archiver` class then you may need to adjust it to > the new structure. > - If you are not using `systemd` then udev is now configured to use labe= ls > - (``LABEL`` or ``PARTLABEL``) to set the mount point for the device. Fo= r example:: > + (``LABEL`` or ``PARTLABEL``) to set the mount point for the device. Fo= r example: > + > + .. code-block:: text > =20 > /run/media/rootfs-sda2 > =20 > - instead of:: > + instead of: > + > + .. code-block:: text > =20 > /run/media/sda2 > =20 > diff --git a/documentation/migration-guides/migration-5.2.rst b/documenta= tion/migration-guides/migration-5.2.rst > index 0c888136494e..522a234af771 100644 > --- a/documentation/migration-guides/migration-5.2.rst > +++ b/documentation/migration-guides/migration-5.2.rst > @@ -85,7 +85,9 @@ systemd changes > the other service files were automatically added to the :term:`FILES`= variable of > the same package. Example: > =20 > - a.service contains:: > + a.service contains: > + > + .. code-block:: ini > =20 > [Install] > Also=3Db.service systemd? [...] > @@ -257,7 +259,9 @@ New Features / Enhancements in |yocto-ver| > https://web.archive.org/web/20240420122324/https://www.linuxkernel= cves.com/). > =20 > - ``kernel-yocto``: allow annotated options to be modified. For exam= ple if > - the following kernel configuration is set:: > + the following kernel configuration is set: > + > + .. code-block:: ini > =20 > CONFIG_INET_TUNNEL=3Dy # OVERRIDE:$MODULE_OR_Y > =20 kconfig? Antonin