Skip to contentSkip to conversation

Update the documentation for 6.0 (Wrynose)

PATCH Applied Antonin Godard 2 participants 12 messages Mar 23 – Apr 7

lore
Share & tools
lore
#0 lore raw

v3 cover Update the documentation for 6.0 (Wrynose)

---
Changes in v3:
- No release note content change, I only converted short shas to full
shas and set their display form to 7 characters. 7 characters seemed
like a good length to make it look like a commit without being too distracting.
Thanks Quentin for the suggestion!
- Link to v2: https://patch.msgid.link/[email protected]

Changes in v2:
- Apply suggestion of Quentin in v1 (thanks!)
- Link to v1: https://patch.msgid.link/[email protected]

---
Antonin Godard (8):
conf.py: define new {oecore,bitbake,meta_yocto}_rev roles ref-manual/variables.rst: document qemuboot variables ref-manual/variables.rst: SPDX_PACKAGE_URL: add missing parenthesis ref-manual/variables.rst: document the LTO variable ref-manual/variables.rst: document the SPDX_CONCLUDED_LICENSE variable
migration-guides: update 6.0 (Wrynose) release notes
docs-wide: add warning on disabled NPM fetcher ref-manual/faq.rst: remove the CVS proxy note

 documentation/conf.py                              |  16 +-
 documentation/dev-manual/devtool.rst               |   5 +
 documentation/dev-manual/packages.rst              |  10 +-
 documentation/migration-guides/migration-6.0.rst   | 193 ++++++++-
 .../migration-guides/release-notes-6.0.rst         | 455 ++++++++++++++++++++-
 documentation/ref-manual/classes.rst               |   5 +
 documentation/ref-manual/faq.rst                   |   2 +-
 documentation/ref-manual/variables.rst             | 172 +++++++-
 8 files changed, 831 insertions(+), 27 deletions(-)

---
base-commit: ca057a6b477b72698409d7b6c6ec49100f73d05d
change-id: 20260213-release-notes-6-0-733b408664df

#1 lore raw

PATCH v3 1/8 conf.py: define new {oecore,bitbake,meta_yocto}_rev roles

Use the extlinks extension to create new roles to quickly reference a commit from openembedded-core, bitbake, or meta-yocto.

For example, use as: :oecore_rev:437e0419608e.

---
 documentation/conf.py | 16 +++++++++++++---
 1 file changed, 13 insertions(+), 3 deletions(-)
documentation/conf.py +13 -3
index 5a69977cf..31fa8346d 100644
@@ -91,9 +91,17 @@ rst_prolog = """
 .. |author| replace:: %s
 """ % (project, copyright, author)
 
+# base url definitions
+oe_git_server = "https://git.openembedded.org"
+oecore_git = f"{oe_git_server}/openembedded-core"
+bitbake_git = f"{oe_git_server}/bitbake"
+yocto_git_server = "https://git.yoctoproject.org"
+meta_yocto = f"{yocto_git_server}/meta-yocto"
+
 # external links and substitutions
 extlinks = {
-    'bitbake_git': ('https://git.openembedded.org/bitbake%s', None),
+    'bitbake_git': (f'{bitbake_git}%s', None),
+    'bitbake_rev': (f'{bitbake_git}/commit/?id=%s', '%.7s'),
     'cve_mitre': ('https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-%s', 'CVE-%s'),
     'cve_nist': ('https://nvd.nist.gov/vuln/detail/CVE-%s', 'CVE-%s'),
     'yocto_home': ('https://www.yoctoproject.org%s', None),
@@ -103,11 +111,13 @@ extlinks = {
     'yocto_bugs': ('https://bugzilla.yoctoproject.org%s', None),
     'yocto_ab': ('https://autobuilder.yoctoproject.org%s', None),
     'yocto_docs': ('https://docs.yoctoproject.org%s', None),
-    'yocto_git': ('https://git.yoctoproject.org%s', None),
+    'yocto_git': (f'{yocto_git_server}%s', None),
+    'meta_yocto_rev': (f'{meta_yocto}/commit/?id=%s', '%.7s'),
     'yocto_sstate': ('http://sstate.yoctoproject.org%s', None),
     'oe_home': ('https://www.openembedded.org%s', None),
     'oe_lists': ('https://lists.openembedded.org%s', None),
-    'oe_git': ('https://git.openembedded.org%s', None),
+    'oe_git': (f'{oe_git_server}%s', None),
+    'oecore_rev': (f'{oecore_git}/commit/?id=%s', '%.7s'),
     'oe_wiki': ('https://www.openembedded.org/wiki%s', None),
     'oe_layerindex': ('https://layers.openembedded.org%s', None),
     'oe_layer': ('https://layers.openembedded.org/layerindex/branch/master/layer%s', None),
Signature · 1 line
2.53.0
Reviewed-by on v3 1/8
#2 lore raw

Re: [docs] [PATCH v3 1/8] conf.py: define new {oecore,bitbake,meta_yocto}_rev roles

Hi Antonin,

Quoted 5 lines · Antonin Godard via lists.yoctoproject.org

Use the extlinks extension to create new roles to quickly reference a commit from openembedded-core, bitbake, or meta-yocto.

For example, use as: :oecore_rev:437e0419608e.

No, please use the full git sha. The link caption will have the reduced sha when generated by Sphinx. This may be something we want to add to the standard.md for example?

At least, don't give incorrect instructions in the commit log :)

Quoted 10 lines
---
  documentation/conf.py | 16 +++++++++++++---
  1 file changed, 13 insertions(+), 3 deletions(-)
documentation/conf.py +0 -0
index 5a69977cf..31fa8346d 100644

documentation/conf.py rst_prolog = """ · line 99

Quoted 9 lines
documentation/conf.py +6 -0
@@ -91,9 +91,17 @@ rst_prolog = """
  .. |author| replace:: %s
  """ % (project, copyright, author)
 
+# base url definitions
+oe_git_server = "https://git.openembedded.org/"
+oecore_git = f"{oe_git_server}/openembedded-core"
+bitbake_git = f"{oe_git_server}/bitbake"
+yocto_git_server = "https://git.yoctoproject.org/"
+meta_yocto = f"{yocto_git_server}/meta-yocto"

For consistency, maybe name this meta_yocto_git?

With the change in the commit log,

Thanks!
Quentin

#3 lore raw

PATCH v3 2/8 ref-manual/variables.rst: document qemuboot variables

In reply to Antonin Godard

Document the variables in qemuboot.bbclass that allow customizing how the QEMU guest is instantiated.

---
 documentation/ref-manual/variables.rst | 147 +++++++++++++++++++++++++++++++++
 1 file changed, 147 insertions(+)
documentation/ref-manual/variables.rst +147 -0
index 9e0c5b083..e24c4bbf8 100644
@@ -7850,6 +7850,153 @@ system and gives an overview of their function and contents.
 
          QA_EMPTY_DIRS_RECOMMENDATION:/dev = "but all devices must be created at runtime"
 
+   :term:`QB_CMDLINE_IP_SLIRP`
+
+      If :term:`QB_NETWORK_DEVICE` adds more than one network interface to QEMU,
+      usually the ``ip=`` Linux kernel command line argument needs to be changed
+      accordingly. The :term:`QB_CMDLINE_IP_SLIRP` variable allows controlling
+      this value. See the Linux kernel documentation for more details:
+      https://www.kernel.org/doc/Documentation/filesystems/nfs/nfsroot.txt.
+
+   :term:`QB_CMDLINE_IP_TAP`
+
+      This variable is similar to the :term:`QB_CMDLINE_IP_SLIRP` variable.
+
+      Use as follows::
+
+         QB_CMDLINE_IP_TAP = "ip=192.168.7.@CLIENT@::192.168.7.@GATEWAY@:255.255.255.0::eth0"
+
+      Since the tap interface requires static IP configuration, ``runqemu``
+      replaces the ``@CLIENT@`` and ``@GATEWAY@`` place holders by the IP and
+      the gateway address of the QEMU guest.
+
+   :term:`QB_DEFAULT_FSTYPE`
+
+      The :term:`QB_DEFAULT_FSTYPE` variable controls the default filesystem
+      type to boot. It is represented as the file extension of one of the root
+      filesystem image extension found in :term:`DEPLOY_DIR_IMAGE`. For example:
+      ``ext4.zst``.
+
+   :term:`QB_DEFAULT_KERNEL`
+
+      When using ``runqemu``, the :term:`QB_DEFAULT_KERNEL` variable controls
+      the default Linux kernel image to boot, found in :term:`DEPLOY_DIR_IMAGE`. For
+      example: ``bzImage``.
+
+   :term:`QB_DRIVE_TYPE`
+
+      When using ``runqemu``, the :term:`QB_DRIVE_TYPE` variable specifies the
+      type of drive to emulate when starting the emulated machine.
+      Valid values are:
+
+      -  ``/dev/hd``: emulates an IDE drive.
+      -  ``/dev/mmcblk``: emulates an SD Card.
+      -  ``/dev/sd``: emulates an SCSI drive.
+      -  ``/dev/vd``: emulates a VirtIO drive.
+      -  ``/dev/vdb``: emulates a block VirtIO drive.
+
+   :term:`QB_GRAPHICS`
+
+      When using ``runqemu``, the :term:`QB_GRAPHICS` variable controls the QEMU
+      video card type to emulate. For example: ``-vga std``.
+
+      This value is appended to the argument list when running ``qemu``.
+
+   :term:`QB_KERNEL_CMDLINE_APPEND`
+
+      The :term:`QB_KERNEL_CMDLINE_APPEND` variable controls the options passed
+      to the Linux kernel's ``-append`` QEMU options, which controls the Linux kernel
+      command-line.
+
+      For example::
+
+         QB_KERNEL_CMDLINE_APPEND = "console=ttyS0"
+
+   :term:`QB_MEM`
+
+      The :term:`QB_MEM` variable controls the amount of memory allocated to the
+      emulated machine. Specify as follows::
+
+         QB_MEM = "-m 512"
+
+   :term:`QB_NETWORK_DEVICE`
+
+      When using ``runqemu``, the :term:`QB_NETWORK_DEVICE` variable controls
+      the network device instantiated by QEMU. This value needs to be compatible
+      with the :term:`QB_TAP_OPT` variable.
+
+      Example::
+
+         QB_NETWORK_DEVICE = "-device virtio-net-pci,netdev=net0,mac=@MAC@"
+
+      ``runqemu`` replaces ``@MAC@`` with a predefined mac address.
+
+   :term:`QB_NFSROOTFS_EXTRA_OPT`
+
+      When using ``runqemu``, the :term:`QB_NFSROOTFS_EXTRA_OPT` variable
+      controls extra options to be appended to the NFS rootfs options in the
+      Linux kernel command-line.
+
+      For example::
+
+         QB_NFSROOTFS_EXTRA_OPT = "wsize=4096,rsize=4096"
+
+   :term:`QB_OPT_APPEND`
+
+      When using ``runqemu``, the :term:`QB_OPT_APPEND` variable controls
+      general options to append to QEMU when starting.
+
+   :term:`QB_RNG`
+
+      When using ``runqemu``, the :term:`QB_RNG` variable controls
+      pass-through for host random number generator, it can speedup boot
+      in system mode, where system is experiencing entropy starvation.
+
+      For example::
+
+         QB_RNG = "-object rng-random,filename=/dev/urandom,id=rng0 -device virtio-rng-pci,rng=rng0"
+
+   :term:`QB_ROOTFS_EXTRA_OPT`
+
+      When using ``runqemu``, the :term:`QB_ROOTFS_EXTRA_OPT` variable controls
+      extra options to be appended to the rootfs device options.
+
+   :term:`QB_SERIAL_OPT`
+
+      When using ``runqemu``, the :term:`QB_SERIAL_OPT` variable controls the
+      serial port option.
+
+      For example::
+
+         QB_SERIAL_OPT = "-serial mon:stdio"
+
+   :term:`QB_SMP`
+
+      When using ``runqemu``, the :term:`QB_SMP` variable controls
+      amount of CPU cores made availalble inside the QEMU guest, each mapped to
+      a thread on the host.
+
+      For example::
+
+         QB_SMP = "-smp 8".
+
+   :term:`QB_TAP_NAMESERVER`
+
+      When using ``runqemu``, the :term:`QB_TAP_NAMESERVER` variable controls
+      the default :wikipedia:`name server <Name_server>` used in the QEMU guest.
+
+   :term:`QB_TAP_OPT`
+
+      When using ``runqemu``, the :term:`QB_TAP_OPT` variable controls
+      the network option for "tap" mode.
+
+      For example::
+
+         QB_TAP_OPT = "-netdev tap,id=net0,ifname=@TAP@,script=no,downscript=no"
+
+      Note that ``runqemu`` will replace ``@TAP@`` with the tap interface in
+      use, such as ``tap0``, ``tap1``, etc.
+
    :term:`RANLIB`
       The minimal command and arguments to run :manpage:`ranlib <ranlib(1)>`.
 
Signature · 1 line
2.53.0
#4 lore raw

PATCH v3 3/8 ref-manual/variables.rst: SPDX_PACKAGE_URL: add missing parenthesis

In reply to Antonin Godard
Fixes 108549dae76a ("ref-manual/variables.rst: document SPDX_PACKAGE_URL")
---
 documentation/ref-manual/variables.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
documentation/ref-manual/variables.rst +1 -1
index e24c4bbf8..45542d715 100644
@@ -9338,7 +9338,7 @@ system and gives an overview of their function and contents.
 
    :term:`SPDX_PACKAGE_URL`
       Provides a place for the SPDX data creator to record the package URL
-      string (``software_packageUrl``, in accordance with the Package URL
+      string (``software_packageUrl``), in accordance with the Package URL
       specification) for a software Package. The default value of this variable
       is an empty string.
 
Signature · 1 line
2.53.0
#5 lore raw

PATCH v3 4/8 ref-manual/variables.rst: document the LTO variable

In reply to Antonin Godard

Added by 228b5a91516c ("lto: Add global LTO distro policy file") in OE-Core.

---
 documentation/ref-manual/variables.rst | 7 +++++++
 1 file changed, 7 insertions(+)
documentation/ref-manual/variables.rst +7 -0
index 45542d715..6c779e42d 100644
@@ -5890,6 +5890,13 @@ system and gives an overview of their function and contents.
       For the directory containing logs specific to each task, see the
       :term:`T` variable.
 
+   :term:`LTO`
+      The :term:`LTO` variable define the flags specific to the ``lto``
+      :term:`distro feature <DISTRO_FEATURES>`. The value of this variable is
+      appended to the :term:`TARGET_LDFLAGS` variable, adding `Link-Time
+      Optimisation <https://gcc.gnu.org/wiki/LinkTimeOptimization>`__ flags to
+      the linker in-use.
+
    :term:`MACHINE`
       Specifies the target device for which the image is built. You define
       :term:`MACHINE` in the ``local.conf`` file found in the
Signature · 1 line
2.53.0
#6 lore raw

Re: [docs] [PATCH v3 4/8] ref-manual/variables.rst: document the LTO variable

Hi Antonin,

Quoted 13 lines · Antonin Godard via lists.yoctoproject.org

Added by 228b5a91516c ("lto: Add global LTO distro policy file") in OE-Core.

---
  documentation/ref-manual/variables.rst | 7 +++++++
  1 file changed, 7 insertions(+)
documentation/ref-manual/variables.rst +0 -0
index 45542d715..6c779e42d 100644

documentation/ref-manual/variables.rst system and gives an overview of their function and contents. · line 5894

Quoted 5 lines
documentation/ref-manual/variables.rst +2 -0
@@ -5890,6 +5890,13 @@ system and gives an overview of their function and contents.
        For the directory containing logs specific to each task, see the
        :term:`T` variable.
 
+   :term:`LTO`
+      The :term:`LTO` variable define the flags specific to the ``lto``

s/define/defines/

documentation/ref-manual/variables.rst system and gives an overview of their function and contents. · line 5897

Quoted 3 lines
documentation/ref-manual/variables.rst +3 -0
+      :term:`distro feature <DISTRO_FEATURES>`. The value of this variable is
+      appended to the :term:`TARGET_LDFLAGS` variable, adding `Link-Time
+      Optimisation <https://gcc.gnu.org/wiki/LinkTimeOptimization>`__ flags to

LTO isn't GCC-specific so I find it a bit odd to link to the GCC Wiki (especially to a page that hasn't been updated in almost 17 years).

Gentoo has some documentation here: https://wiki.gentoo.org/wiki/LTO. It describes benefits, downsides and how to use it for llvm and gcc.

Wikipedia has *some* info on WPO/LTO in https://en.wikipedia.org/wiki/Interprocedural_optimization.

Cheers,
Quentin

#7 lore raw

PATCH v3 5/8 ref-manual/variables.rst: document the SPDX_CONCLUDED_LICENSE variable

In reply to Antonin Godard

Document the SPDX_CONCLUDED_LICENSE variable, added by commit bb21c6a429a2 ("spdx30_tasks: Add concluded license support with SPDX_CONCLUDED_LICENSE") in OE-Core.

---
 documentation/ref-manual/variables.rst | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
documentation/ref-manual/variables.rst +16 -0
index 6c779e42d..03154a866 100644
@@ -9191,6 +9191,22 @@ system and gives an overview of their function and contents.
       (+ 0.07\% with the tested image), compared to just enabling
       :term:`SPDX_INCLUDE_SOURCES`.
 
+   :term:`SPDX_CONCLUDED_LICENSE`
+      The :term:`SPDX_CONCLUDED_LICENSE` variable allows overriding the
+      ``hasConcludedLicense`` object to individual SBOM packages. This can be
+      used when the license of a package was determined to be different than the
+      original license string value, after analysis.
+
+      This variable can be set in two ways:
+
+      -  For the entire recipe::
+
+            SPDX_CONCLUDED_LICENSE = "MIT & Apache-2.0"
+
+      -  For an individual package produced by the recipe::
+
+            SPDX_CONCLUDED_LICENSE:${PN} = "MIT & Apache-2.0"
+
    :term:`SPDX_CUSTOM_ANNOTATION_VARS`
       This option allows to associate `SPDX annotations
       <https://spdx.github.io/spdx-spec/v2.3/annotations/>`__ to a recipe,
Signature · 1 line
2.53.0
#8 lore raw

PATCH v3 6/8 migration-guides: update 6.0 (Wrynose) release notes

In reply to Antonin Godard

Update documentation/migration-guides/migration-6.0.rst and documentation/migration-guides/release-notes-6.0.rst to include important changes between:

- bitbake: 8b02d65a6439 and bc8be83aef0a
- openembedded-core: 545e43a7a45b and be8cdcf13a65
- meta-yocto: 632d10b28141 and 2486ce288906

---
 documentation/migration-guides/migration-6.0.rst   | 193 ++++++++-
 .../migration-guides/release-notes-6.0.rst         | 455 ++++++++++++++++++++-
 2 files changed, 627 insertions(+), 21 deletions(-)
documentation/migration-guides/migration-6.0.rst +192 -1
index b18206b21..15dbd08a0 100644
@@ -10,9 +10,23 @@ Migration notes for |yocto-ver| (|yocto-codename|)
 
 This section provides migration information for moving to the Yocto
 Project |yocto-ver| Release (codename "|yocto-codename|") from the prior release.
-For a list of new feature and enhancements, see the
+For a list of new features and enhancements, see the
 :doc:`/migration-guides/release-notes-6.0` section.
 
+The |yocto-ver| (|yocto-codename|) release is the new LTS release after 5.0
+(scarthgap). If you are migrating from the 5.0 version, be sure to read the
+previous migration guides:
+
+-  :doc:`/migration-guides/migration-5.1`
+-  :doc:`/migration-guides/migration-5.2`
+-  :doc:`/migration-guides/migration-5.3`
+
+See also the list of new features and enhancements of the previous releases:
+
+-  :doc:`/migration-guides/release-notes-5.1`
+-  :doc:`/migration-guides/release-notes-5.2`
+-  :doc:`/migration-guides/release-notes-5.3`
+
 Supported kernel versions
 -------------------------
 
@@ -34,12 +48,170 @@ On the other hand, some earlier distributions are no longer supported:
 
 See :ref:`all supported distributions <system-requirements-supported-distros>`.
 
+BitBake fetcher removals
+------------------------
+
+The following :term:`BitBake` :ref:`fetchers <bitbake:bb-fetchers>` have been
+disabled or removed:
+
+-  The ``npm`` and ``npmsw`` (:wikipedia:`NPM <Npm>`) fetchers were disabled due
+   to security concerns (:bitbake_rev:`355cd226e0720a9ed7683bb01c8c0a58eee03664`) and lack of maintenance.
+
+   All associated tests have been disabled.
+
+-  Support for the :wikipedia:`Bazaar <GNU_Bazaar>` fetcher was dropped
+   (:bitbake_rev:`8e057d54f09ca0a1fb64c716da6b66f0ce4555b0`).
+
+-  Support for the `OSC <https://github.com/openSUSE/osc>`__ fetcher was dropped
+   (:bitbake_rev:`99497c1317788894cb00ecbb395df8693653f224`).
+
+-  Support for the `CVS` fetcher was dropped
+   (:bitbake_rev:`5427500e4f23580962126d2b27ed627ca237fe4a`).
+
+Default :term:`INIT_MANAGER` definition changed to ``systemd``
+--------------------------------------------------------------
+
+The default definition of :term:`INIT_MANAGER` in the :oe_git:`defaultsetup.conf
+<openembedded-core/tree/meta/conf/distro/defaultsetup.conf>` file was changed
+from ``none`` to ``systemd``.
+
+This means that users of the default distro setup (appearing as the ``nodistro``
+:term:`DISTRO`) will be using :wikipedia:`systemd <Systemd>` as the default init
+manager.
+
+This does not change the default init manager of the :term:`Poky` distribution,
+which remains :wikipedia:`SysVinit <UNIX_System_V>`.
+
+Reverting to :wikipedia:`SysVinit <UNIX_System_V>` can be done by specifying the
+:term:`INIT_MANAGER` in your own :term:`DISTRO` configuration file::
+
+   INIT_MANAGER = "sysvinit"
+
+See commit :oecore_rev:`0b4061c5d50261f826d0edb4b478d2d305274b7c` for more information.
+
+Changes to the list of :term:`DISTRO_FEATURES` enabled by default
+-----------------------------------------------------------------
+
+The following :term:`DISTRO_FEATURES` are now enabled by default in
+:oe_git:`meta/conf/bitbake.conf
+</openembedded-core/tree/meta/conf/bitbake.conf>`:
+
+-  ``multiarch``: Enable building applications with multiple architecture
+   support.
+
+-  ``opengl``: Include the Open Graphics Library, which is a
+   cross-language multi-platform application programming interface used
+   for rendering two and three-dimensional graphics.
+
+-  ``ptest``: Enable building the package tests where supported by
+   individual recipes. To add the built :ref:`ref-classes-ptest` packages to the
+   image, add ``ptest-pkgs`` to :term:`IMAGE_FEATURES` in your image recipe.
+
+-  ``vulkan``: Include support for the :wikipedia:`Vulkan API <Vulkan>`.
+
+-  ``wayland``: Include the Wayland display server protocol and the
+   library that supports it.
+
+See commit :oecore_rev:`2e1e7c86064ce36580953650b27cca9ae7c269c4` for more information.
+
+:ref:`ref-classes-native` and :ref:`ref-classes-cross` classes :term:`DEBUG_BUILD` change
+-----------------------------------------------------------------------------------------
+
+Previously, setting :term:`DEBUG_BUILD` to "1" globally would prevent the
+:term:`OpenEmbedded Build System` from stripping target,
+:ref:`ref-classes-native` and :ref:`ref-classes-cross` binaries. This was
+changed so that only **target** binaries are stripped when this variable is set.
+
+This change can be reverted by setting the two following lines in a
+:term:`configuration file`::
+
+   INHIBIT_SYSROOT_STRIP:class-cross = "${@oe.utils.vartrue('DEBUG_BUILD', '1', '', d)}"
+   INHIBIT_SYSROOT_STRIP:class-native = "${@oe.utils.vartrue('DEBUG_BUILD', '1', '', d)}"
+
+See commit :oecore_rev:`3c29afed1dc00ee8bccf93b8927d5ef2824065f6` for more information.
+
+.. _ref-migration-6-0-u-boot-config-flow-changes:
+
+U-Boot configuration flow changes (:ref:`ref-classes-uboot-config`)
+-------------------------------------------------------------------
+
+Declaring multiple U-Boot configurations used to be entirely defined by
+one :term:`UBOOT_CONFIG` variable flag per configuration, e.g.::
+
+   UBOOT_CONFIG ??= "foo bar"
+   UBOOT_CONFIG[foo] = "config,images,binary"
+   UBOOT_CONFIG[bar] = "config2,images2,binary2"
+
+This has now been split into more variable flags, e.g.::
+
+   UBOOT_CONFIG ??= "foo bar"
+   UBOOT_CONFIG[foo] = "config"
+   UBOOT_CONFIG[bar] = "config2"
+
+   UBOOT_CONFIG_IMAGE_FSTYPES[bar] = "fstype"
+
+   UBOOT_CONFIG_BINARY[foo] = "binary"
+
+   UBOOT_CONFIG_MAKE_OPTS[foo] = "FOO=1"
+   UBOOT_CONFIG_MAKE_OPTS[bar] = "BAR=1"
+
+   UBOOT_CONFIG_FRAGMENTS[foo] = "foo.fragment"
+
+See the documentation of the :ref:`ref-classes-uboot-config` for full details.
+
+While the previous legacy approach is still supported, it will be removed in
+for the next release. Users are advised to migrate to the new approach.
+
+See commit :oecore_rev:`cd9e7304481b24b27df61c03ad73496d18e4d47c` for more information.
+
+.. note::
+
+   Single configuration builds have not changed and are still declared using the
+   following statements::
+
+      UBOOT_MACHINE = "config"
+      UBOOT_BINARY = "u-boot.bin"
+
+:ref:`ref-classes-pkgconfig`-related variables are no longer automatically exported
+-----------------------------------------------------------------------------------
+
+All the :ref:`ref-classes-pkgconfig`-related variables, such as
+:term:`PKG_CONFIG_PATH`, are no longer exported in
+:oe_git:`meta/conf/bitbake.conf <bitbake/tree/meta/conf/bitbake.conf>` with the
+:ref:`export <bitbake:bitbake-user-manual/bitbake-user-manual-metadata:Exporting
+Variables to the Environment>` directive.
+
+These ``export`` statements have been moved to the :ref:`ref-classes-pkgconfig`
+class, meaning recipes using these variables that not yet inheriting the
+:ref:`ref-classes-pkgconfig` class should now inherit it with::
+
+   inherit pkgconfig
+
+See commit :oecore_rev:`68d2d38483efada7bc2409e10508b03a7431caff` for more information.
+
 Rust language changes
 ---------------------
 
 systemd changes
 ---------------
 
+Support for SysVinit compatibility in systemd was dropped
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+Support for the :wikipedia:`SysVinit <UNIX_System_V>` compatibility in
+:wikipedia:`systemd <Systemd>` was dropped.
+
+This is due to `recent announcements
+<https://github.com/systemd/systemd/releases/tag/v260-rc1>`__ in `systemd` which
+is planning to drop support for the `SysVinit` compatibility.
+
+This means that the ``systemd`` and ``sysvinit`` :term:`distro features
+<DISTRO_FEATURES>` cannot be used together anymore.
+
+Users are advised to switch to one init manager or the other entirely.
+
+See commit :oecore_rev:`d9ec9e20eebc062d084dd76b59d665994e0cb51b` for more information.
+
 Recipe changes
 --------------
 
@@ -53,6 +225,22 @@ Removed recipes
 
 The following recipes have been removed in this release:
 
+-  ``jquery``: The last users of this recipe were the reproducible tests, but
+   have been reworked to use the `jQuery` CDN instead with
+   :oecore_rev:`d3ee5497b1ce6eb487419f6d821c3ad38491e5ec` (See
+   :oecore_rev:`aae793a17e7d03293a9625c12eaf44c5a078614a`)
+
+-  ``systemd-compat-units``: Dropped as a consequence of removing
+   :wikipedia:`SysVinit <UNIX_System_V>` support in :wikipedia:`systemd
+   <Systemd>`
+
+Removed :term:`PACKAGECONFIG` options
+-------------------------------------
+
+-  ``mesa``: ``freedreno-fdperf`` (:oecore_rev:`293edd0d3d077d0fde7ba6671dc9a26d5b4cf5e4`)
+-  ``libcxx``: ``no-atomics`` (:oecore_rev:`ccc585f94c51ebaef863f116bcd2b41b2d958666`)
+-  ``systemd``: ``sysvinit`` (:oecore_rev:`e00d5d6eac65e2cd88e34c2790469c7325bfb37d`)
+
 Removed classes
 ---------------
 
@@ -68,3 +256,6 @@ The following features have been removed in this release:
 
 Miscellaneous changes
 ---------------------
+
+-  :ref:`ref-classes-meson`: drop ``meson_do_qa_configure`` as it was
+   non-functional (:oecore_rev:`0514b451b5d96135c6d24e75e0afa8b5aea513dd`)
documentation/migration-guides/release-notes-6.0.rst +435 -20

521 lines not on this page · raw message

Signature · 1 line
2.53.0
#9 lore raw

PATCH v3 7/8 docs-wide: add warning on disabled NPM fetcher

In reply to Antonin Godard

The NPM fetcher was disabled with 355cd226e072 ("fetch2/npm/npmsw:
Disable npm and npmsw fetchers due to security concerns") in BitBake. Add warning notes throughout the documentation to let readers know.

---
 documentation/dev-manual/devtool.rst  |  5 +++++
 documentation/dev-manual/packages.rst | 10 +++++++++-
 documentation/ref-manual/classes.rst  |  5 +++++
 3 files changed, 19 insertions(+), 1 deletion(-)
documentation/dev-manual/devtool.rst +5 -0
index c82dc9c33..d67f22277 100644
@@ -1111,6 +1111,11 @@ the following methods when you run ``devtool add``:
 Adding Node.js Modules
 ----------------------
 
+.. warning::
+
+   The NPM fetcher is currently disabled due to security concerns. See
+   :bitbake_rev:`355cd226e0720a9ed7683bb01c8c0a58eee03664` for more information.
+
 You can use the ``devtool add`` command two different ways to add
 Node.js modules: through ``npm`` or from a repository or local source.
 
documentation/dev-manual/packages.rst +9 -1
index 4c94ffd48..500639565 100644
@@ -18,7 +18,7 @@ This section describes a few tasks that involve packages:
 -  :ref:`Setting up and running package test
    (ptest) <test-manual/ptest:testing packages with ptest>`
 
--  :ref:`dev-manual/packages:creating node package manager (npm) packages`
+-  (**disabled**) :ref:`dev-manual/packages:creating node package manager (npm) packages`
 
 -  :ref:`dev-manual/packages:adding custom metadata to packages`
 
@@ -914,6 +914,14 @@ Yocto Project Test Environment Manual.
 Creating Node Package Manager (NPM) Packages
 ============================================
 
+.. warning::
+
+   The NPM fetcher is currently disabled due to security concerns. See
+   :bitbake_rev:`355cd226e0720a9ed7683bb01c8c0a58eee03664` for more information.
+
+   This section is left there if it is re-enabled in the future, but is
+   currently obsolete.
+
 :wikipedia:`NPM <Npm_(software)>` is a package manager for the JavaScript
 programming language. The Yocto Project supports the NPM
 :ref:`fetcher <bitbake-user-manual/bitbake-user-manual-fetching:fetchers>`.
documentation/ref-manual/classes.rst +5 -0
index dc131be9f..a3a4df1db 100644
@@ -1891,6 +1891,11 @@ generation provided by :ref:`ref-classes-create-spdx`.
 ``npm``
 =======
 
+.. warning::
+
+   The NPM fetcher is currently disabled due to security concerns. See
+   :bitbake_rev:`355cd226e0720a9ed7683bb01c8c0a58eee03664` for more information.
+
 Provides support for building Node.js software fetched using the
 :wikipedia:`node package manager (NPM) <Npm_(software)>`.
 
Signature · 1 line
2.53.0
#10 lore raw

PATCH v3 8/8 ref-manual/faq.rst: remove the CVS proxy note

In reply to Antonin Godard

Support for the CVS fetcher was removed with 5427500e4f23 ("fetch: Drop CVS fetcher module") in BitBake. Remove the CVS proxy mention.

---
 documentation/ref-manual/faq.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
documentation/ref-manual/faq.rst +1 -1
index 152fbf7b2..248cf3d2d 100644
@@ -197,7 +197,7 @@ requests through proxy servers.
 
 The Yocto Project also includes a
 ``meta-poky/conf/templates/default/site.conf.sample`` file that shows
-how to configure CVS and Git proxy servers if needed.
+how to configure a Git proxy server if needed.
 
 .. note::
 
Signature · 1 line
2.53.0
author Applied
#11 lore raw
In reply to Antonin Godard

Applied, thanks!

[1/8] conf.py: define new {oecore,bitbake,meta_yocto}_rev roles

      commit: 79552b4a764d16282a86c8e017270a258a26240e
[2/8] ref-manual/variables.rst: document qemuboot variables
      commit: 392ef512b05da8170d5e329c2750b2ada0a06cbd
[3/8] ref-manual/variables.rst: SPDX_PACKAGE_URL: add missing parenthesis
      commit: 0ecc893dca53c0dfb91591669d511d100026c3fd
[4/8] ref-manual/variables.rst: document the LTO variable
      commit: 6299419c7a326262bbf94ac482d04b485d1271a3
[5/8] ref-manual/variables.rst: document the SPDX_CONCLUDED_LICENSE variable
      commit: a907e04a50c0cfd430a7242d04dacf33e75a7270
[6/8] migration-guides: update 6.0 (Wrynose) release notes
      commit: 365945c5149ee95bec2b097f51e7e4b13312d0d6
[7/8] docs-wide: add warning on disabled NPM fetcher
      commit: ef0c14d9f203f406b33923be2f5bdc0eb5fbbe63
[8/8] ref-manual/faq.rst: remove the CVS proxy note
      commit: 198df015c768bda31bbf4552c96ac18d91467cd6