Update the documentation for 6.0 (Wrynose)
cover Update the documentation for 6.0 (Wrynose)
---
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 | 414 ++++++++++++++++++++- documentation/ref-manual/classes.rst | 5 + documentation/ref-manual/faq.rst | 2 +- documentation/ref-manual/variables.rst | 172 ++++++++- 8 files changed, 792 insertions(+), 25 deletions(-)
---
base-commit: d97cfeaa55ed42722998d3313c1857aa377f6881
change-id: 20260213-release-notes-6-0-733b408664df
PATCH 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
@@ -91,9 +91,17 @@ rst_prolog = """ .. |author| replace:: %s """ % (project, copyright, author) +# base url definitions +oe_git_baseurl = "https://git.openembedded.org" +oecore_git_baseurl = f"{oe_git_baseurl}/openembedded-core" +bitbake_git_baseurl = f"{oe_git_baseurl}/bitbake" +yocto_git_baseurl = "https://git.openembedded.org" +meta_yocto_baseurl = f"{yocto_git_baseurl}/meta-yocto" + # external links and substitutions extlinks = { - 'bitbake_git': ('https://git.openembedded.org/bitbake%s', None), + 'bitbake_git': (f'{bitbake_git_baseurl}%s', None), + 'bitbake_rev': (f'{bitbake_git_baseurl}/commit/?id=%s', '%s'), '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_baseurl}%s', None), + 'meta_yocto_rev': (f'{meta_yocto_baseurl}/commit/?id=%s', '%s'), '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_baseurl}%s', None), + 'oecore_rev': (f'{oecore_git_baseurl}/commit/?id=%s', '%s'), '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.52.0
Re: [docs] [PATCH 1/8] conf.py: define new {oecore,bitbake,meta_yocto}_rev roles
Hi Antonin,
Quoted 15 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.Signed-off-by Antonin Godard <[email protected]>--- documentation/conf.py | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-)documentation/conf.py +0
-0
documentation/conf.py rst_prolog = """ · line 98
Quoted 8 lines
documentation/conf.py +5
-0@@ -91,9 +91,17 @@ rst_prolog = """ .. |author| replace:: %s """ % (project, copyright, author) +# base url definitions +oe_git_baseurl = "https://git.openembedded.org/" +oecore_git_baseurl = f"{oe_git_baseurl}/openembedded-core" +bitbake_git_baseurl = f"{oe_git_baseurl}/bitbake" +yocto_git_baseurl = "https://git.openembedded.org/"
Well, thanks to my company's wonderful mail server this is broken but... this should be git.yoctoproject.org and not git.openembedded.org.
documentation/conf.py rst_prolog = """ · line 100
Quoted 2 lines
documentation/conf.py +2
-0+meta_yocto_baseurl = f"{yocto_git_baseurl}/meta-yocto" +
Small nitpick here, I think we should make it easier to distinguish the server URLs from the repo URLs.
What about something like
oe_git_server = "https://git.openembedded.org/" oecore_git_baseurl = f"{oe_git_server}/openembedded-core"
for example?
Not sure we need _baseurl, it's kinda implied if we have oecore_git?
Cheers,
Quentin
Re: [docs] [PATCH 1/8] conf.py: define new {oecore,bitbake,meta_yocto}_rev roles
Hi,
Quoted 21 lines · Quentin Schulz
Hi Antonin,
Quoted 18 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.Signed-off-by Antonin Godard <[email protected]>--- documentation/conf.py | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-)documentation/conf.py +0
-0@@ -91,9 +91,17 @@ rst_prolog = """ .. |author| replace:: %s """ % (project, copyright, author)
Quoted 8 lines
documentation/conf.py rst_prolog = """
Quoted 5 lines
documentation/conf.py +5
-0+# base url definitions +oe_git_baseurl = "https://git.openembedded.org/" +oecore_git_baseurl = f"{oe_git_baseurl}/openembedded-core" +bitbake_git_baseurl = f"{oe_git_baseurl}/bitbake" +yocto_git_baseurl = "https://git.openembedded.org/"Well, thanks to my company's wonderful mail server this is broken but... this should be git.yoctoproject.org and not git.openembedded.org.
Darn, thanks for spotting that.
Quoted 6 lines
documentation/conf.py rst_prolog = """ · line 100
Quoted 2 lines
documentation/conf.py +2
-0+meta_yocto_baseurl = f"{yocto_git_baseurl}/meta-yocto" +Small nitpick here, I think we should make it easier to distinguish the server URLs from the repo URLs.
Quoted 8 lines
What about something like
oe_git_server= "https://git.openembedded.org/"oecore_git_baseurl= f"{oe_git_server}/openembedded-core"for example?
Not sure we need
_baseurl, it's kinda implied if we haveoecore_git?
I'll take your suggestion, thanks!
Antonin
PATCH 2/8 ref-manual/variables.rst: document qemuboot variables
In reply to Antonin GodardDocument 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
@@ -7853,6 +7853,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.52.0
PATCH 3/8 ref-manual/variables.rst: SPDX_PACKAGE_URL: add missing parenthesis
In reply to Antonin Godard--- documentation/ref-manual/variables.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
documentation/ref-manual/variables.rst +1 -1
@@ -9341,7 +9341,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.52.0
Re: [docs] [PATCH 3/8] ref-manual/variables.rst: SPDX_PACKAGE_URL: add missing parenthesis
Hi Antonin,
On 3/2/26 10:37 AM, Antonin Godard via lists.yoctoproject.org wrote:
Thanks!
Quentin
PATCH 4/8 ref-manual/variables.rst: document the LTO variable
In reply to Antonin GodardAdded 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
@@ -5893,6 +5893,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.52.0
PATCH 5/8 ref-manual/variables.rst: document the SPDX_CONCLUDED_LICENSE variable
In reply to Antonin GodardDocument 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
@@ -9194,6 +9194,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.52.0
Re: [docs] [PATCH 5/8] ref-manual/variables.rst: document the SPDX_CONCLUDED_LICENSE variable
Hi Antonin,
Quoted 21 lines · Antonin Godard via lists.yoctoproject.org
Document the
SPDX_CONCLUDED_LICENSEvariable, added by commitbb21c6a429a2("spdx30_tasks: Add concluded license support withSPDX_CONCLUDED_LICENSE") in OE-Core.Signed-off-by Antonin Godard <[email protected]>--- documentation/ref-manual/variables.rst | 16 ++++++++++++++++ 1 file changed, 16 insertions(+)documentation/ref-manual/variables.rst +4
-0@@ -9194,6 +9194,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
documentation/ref-manual/variables.rst system and gives an overview of their function and contents. · line 9210
Quoted 10 lines
documentation/ref-manual/variables.rst +10
-0+ 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: +
Inconsistent with the first item in the list, this should be ::.
Cheers,
Quentin
PATCH 6/8 migration-guides: update 6.0 (Wrynose) release notes
In reply to Antonin GodardUpdate 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 | 414 ++++++++++++++++++++- 2 files changed, 588 insertions(+), 19 deletions(-)
documentation/migration-guides/migration-6.0.rst +191 -2
@@ -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,169 @@ 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:`355cd226e072`) and lack of maintenance. + + All associated tests have been disabled. + +- Support for the :wikipedia:`Bazaar <GNU_Bazaar>` fetcher was dropped + (:bitbake_rev:`8e057d54f09c`). + +- Support for the `OSC <https://github.com/openSUSE/osc>`__ fetcher was dropped + (:bitbake_rev:`99497c131778`). + +- Support for the `CVS` fetcher (:bitbake_rev:`5427500e4f23`). + +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:`0b4061c5d502` 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``: Enables 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:`2e1e7c86064c` 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:`3c29afed1dc0` for more information. + +.. _ref-migration-6-0-u-boot-config-flow-changes: + +U-boot configuration flow changes (:ref:`ref-classes-uboot-config`) +------------------------------------------------------------------- + +The way of configuration U-boot evolved in the way of declaring multiple U-boot +configuration statements from:: + + UBOOT_CONFIG ??= "foo bar" + UBOOT_CONFIG[foo] = "config,images,binary" + UBOOT_CONFIG[bar] = "config2,images2,binary2" + +To use variable flags instead:: + + 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 deprecated in +for the next release. Users are advised to migrate to the new approach. + +.. note:: + + Single configuration builds have not changed and are still declared using the + following statements:: + + UBOOT_MACHINE = "config" + UBOOT_BINARY = "u-boot.bin" + +See commit :oecore_rev:`cd9e7304481b2` for more information. + +: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 move to the :ref:`ref-classes-pkgconfig` +class, meaning recipes using these variables that are not inheriting the +:ref:`ref-classes-pkgconfig` class should now inherit it with:: + + inherit pkgconfig + +See commit :oecore_rev:`68d2d38483ef` for more information. + Rust language changes --------------------- systemd changes --------------- +Support for the 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:`d9ec9e20eebc` for more information. + Recipe changes --------------
@@ -53,13 +224,28 @@ Removed recipes The following recipes have been removed in this release: +- ``jquery``: The last user of this recipe were the reproducible tests, but + have been reworked to use the `jQuery` CDN in instead with + :oecore_rev:`d3ee5497b1ce` (See :oecore_rev:`aae793a17e7d`) + +- ``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:`293edd0d3d07`) +- ``libcxx``: ``no-atomics`` (:oecore_rev:`ccc585f94c51`) +- ``systemd``: ``sysvinit`` (:oecore_rev:`e00d5d6eac65`) + Removed classes --------------- The following classes have been removed in this release: - ``oelint``: remove as most of the checks done by this class are done in other - areas of code now, making this class obsolete. + areas of code now, making this class obsolete Removed features ----------------
@@ -68,3 +254,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:`0514b451b5d9`)
documentation/migration-guides/release-notes-6.0.rst +397 -17
483 lines not on this page · raw message
Signature · 1 line
2.52.0
Quentin Schulz
NAKRe: [docs] [PATCH 6/8] migration-guides: update 6.0 (Wrynose) release notes
Hi Antonin,
Quoted 56 lines · Antonin Godard via lists.yoctoproject.org
Update
documentation/migration-guides/migration-6.0.rstanddocumentation/migration-guides/release-notes-6.0.rstto include important changes between:- bitbake:
8b02d65a6439andbc8be83aef0a
- openembedded-core:545e43a7a45bandbe8cdcf13a65
- meta-yocto:632d10b28141and2486ce288906Signed-off-by Antonin Godard <[email protected]>--- documentation/migration-guides/migration-6.0.rst | 193 +++++++++- .../migration-guides/release-notes-6.0.rst | 414 ++++++++++++++++++++- 2 files changed, 588 insertions(+), 19 deletions(-)documentation/migration-guides/migration-6.0.rst +24
-1@@ -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,169 @@ 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:`355cd226e072`) and lack of maintenance. +
documentation/migration-guides/migration-6.0.rst On the other hand, some earlier distributions are no longer supported: · line 69
Quoted 10 lines
documentation/migration-guides/migration-6.0.rst +10
-0+ All associated tests have been disabled. + +- Support for the :wikipedia:`Bazaar <GNU_Bazaar>` fetcher was dropped + (:bitbake_rev:`8e057d54f09c`). + +- Support for the `OSC <https://github.com/openSUSE/osc>`__ fetcher was dropped + (:bitbake_rev:`99497c131778`). + +- Support for the `CVS` fetcher (:bitbake_rev:`5427500e4f23`). +
Missing verb. I'm assuming we want "was dropped" here.
Also, I'm hoping we won't have sha collision on the first 12 hex digits. Wondering if we should't put the whole sha instead of only the first 12 hex digits?
Quoted 26 lines
documentation/migration-guides/migration-6.0.rst +26
-0+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:`0b4061c5d502` 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
documentation/migration-guides/migration-6.0.rst On the other hand, some earlier distributions are no longer supported: · line 105
Quoted 10 lines
documentation/migration-guides/migration-6.0.rst +10
-0+</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``: Enables building the package tests where supported by
Inconsistent with all other entries in this list. s/Enables/Enable/ I guess?
Quoted 24 lines
documentation/migration-guides/migration-6.0.rst +24
-0+ 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:`2e1e7c86064c` 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)}" +
documentation/migration-guides/migration-6.0.rst On the other hand, some earlier distributions are no longer supported: · line 139
Quoted 10 lines
documentation/migration-guides/migration-6.0.rst +10
-0+See commit :oecore_rev:`3c29afed1dc0` for more information. + +.. _ref-migration-6-0-u-boot-config-flow-changes: + +U-boot configuration flow changes (:ref:`ref-classes-uboot-config`) +------------------------------------------------------------------- + +The way of configuration U-boot evolved in the way of declaring multiple U-boot +configuration statements from:: +
s/U-boot/U-Boot/
for the sentence and the section. c.f. https://docs.u-boot.org/en/latest/
Also this reads weird to me, can suggest:
"""
Declaring multiple U-Boot configurations used to be entirely defined by one :term:UBOOT_CONFIG variable flag per configuration, e.g.::
"""
documentation/migration-guides/migration-6.0.rst On the other hand, some earlier distributions are no longer supported: · line 144
Quoted 5 lines
documentation/migration-guides/migration-6.0.rst +5
-0+ UBOOT_CONFIG ??= "foo bar" + UBOOT_CONFIG[foo] = "config,images,binary" + UBOOT_CONFIG[bar] = "config2,images2,binary2" + +To use variable flags instead::
"""
This has now been split into more variable flags, e.g.::
"""
Quoted 8 lines
documentation/migration-guides/migration-6.0.rst +8
-0+ + UBOOT_CONFIG ??= "foo bar" + UBOOT_CONFIG[foo] = "config" + UBOOT_CONFIG[bar] = "config2" + + UBOOT_CONFIG_IMAGE_FSTYPES[bar] = "fstype" + + UBOOT_CONFIG_BINARY[foo] = "binary"
documentation/migration-guides/migration-6.0.rst On the other hand, some earlier distributions are no longer supported: · line 162
Quoted 10 lines
documentation/migration-guides/migration-6.0.rst +10
-0+ + 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 deprecated in +for the next release. Users are advised to migrate to the new approach.
It will be *removed* for the next release. It is now deprecated for Wrynose (you even get a warning if I read the code correctly).
documentation/migration-guides/migration-6.0.rst On the other hand, some earlier distributions are no longer supported: · line 171
Quoted 9 lines
documentation/migration-guides/migration-6.0.rst +9
-0+ +.. note:: + + Single configuration builds have not changed and are still declared using the + following statements:: + + UBOOT_MACHINE = "config" + UBOOT_BINARY = "u-boot.bin" +
Maybe move this after the "See commit" sentence below, otherwise it's a bit awkward, "does the commit apply to the note too" may the reader think.
documentation/migration-guides/migration-6.0.rst On the other hand, some earlier distributions are no longer supported: · line 183
Quoted 12 lines
documentation/migration-guides/migration-6.0.rst +12
-0+See commit :oecore_rev:`cd9e7304481b2` for more information. + +: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 move to the :ref:`ref-classes-pkgconfig`
s/move/moved/
documentation/migration-guides/migration-6.0.rst On the other hand, some earlier distributions are no longer supported: · line 184
Quoted 1 line
documentation/migration-guides/migration-6.0.rst +1
-0+class, meaning recipes using these variables that are not inheriting the
s/are not inheriting/not yet inheriting/ ?
documentation/migration-guides/migration-6.0.rst On the other hand, some earlier distributions are no longer supported: · line 197
Quoted 13 lines
documentation/migration-guides/migration-6.0.rst +7
-0+:ref:`ref-classes-pkgconfig` class should now inherit it with:: + + inherit pkgconfig + +See commit :oecore_rev:`68d2d38483ef` for more information. + Rust language changes --------------------- systemd changes --------------- +Support for the Sysvinit compatibility in systemd was dropped
s/the Sysvinit/SysVinit/ (or something else, just be consistent in this doc; note that we have different capitalization throughout the docs, so being consistent across the docs would be nice :) )
documentation/migration-guides/migration-6.0.rst On the other hand, some earlier distributions are no longer supported: · line 202
Quoted 5 lines
documentation/migration-guides/migration-6.0.rst +5
-0+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Support for the :wikipedia:`SysVinit <UNIX_System_V>` compatibility in +:wikipedia:`Systemd <Systemd>` was dropped. +
s/Systemd/systemd/
documentation/migration-guides/migration-6.0.rst On the other hand, some earlier distributions are no longer supported: · line 204
Quoted 2 lines
documentation/migration-guides/migration-6.0.rst +2
-0+This is due to `recent announcements +<https://github.com/systemd/systemd/releases/tag/v260-rc1>`__ in `Systemd` which
s/Systemd/systemd/
Quoted 13 lines
documentation/migration-guides/migration-6.0.rst +9
-0+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:`d9ec9e20eebc` for more information. + Recipe changes --------------
documentation/migration-guides/migration-6.0.rst Removed recipes · line 227
Quoted 4 lines
documentation/migration-guides/migration-6.0.rst +1
-0@@ -53,13 +224,28 @@ Removed recipes The following recipes have been removed in this release: +- ``jquery``: The last user of this recipe were the reproducible tests, but
s/user/users/
documentation/migration-guides/migration-6.0.rst Removed recipes · line 228
Quoted 1 line
documentation/migration-guides/migration-6.0.rst +1
-0+ have been reworked to use the `jQuery` CDN in instead with
s/in instead/instead/ ?
documentation/migration-guides/migration-6.0.rst Removed recipes · line 234
Quoted 6 lines
documentation/migration-guides/migration-6.0.rst +6
-0+ :oecore_rev:`d3ee5497b1ce` (See :oecore_rev:`aae793a17e7d`) + +- ``systemd-compat-units``: Dropped as a consequence of removing + :wikipedia:`Sysvinit <UNIX_System_V>` support in :wikipedia:`Systemd + <Systemd>` +
s/Sysvinit/SysVinit/
s/Systemd/systemd/
Quoted 6 lines
documentation/migration-guides/migration-6.0.rst +6
-0+Removed :term:`PACKAGECONFIG` options +------------------------------------- + +- ``mesa``: ``freedreno-fdperf`` (:oecore_rev:`293edd0d3d07`) +- ``libcxx``: ``no-atomics`` (:oecore_rev:`ccc585f94c51`) +- ``systemd``: ``sysvinit`` (:oecore_rev:`e00d5d6eac65`)
documentation/migration-guides/migration-6.0.rst Removed recipes · line 249
Quoted 10 lines
documentation/migration-guides/migration-6.0.rst +2
-1+ Removed classes --------------- The following classes have been removed in this release: - ``oelint``: remove as most of the checks done by this class are done in other - areas of code now, making this class obsolete. + areas of code now, making this class obsolete
NACK.
Quoted 30 lines
documentation/migration-guides/migration-6.0.rst +3
-0Removed features ----------------@@ -68,3 +254,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:`0514b451b5d9`)documentation/migration-guides/release-notes-6.0.rst +13
-0@@ -13,86 +13,466 @@ This document lists new features and enhancements for the Yocto Project changes and migration guides, see the :doc:`/migration-guides/migration-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`
documentation/migration-guides/release-notes-6.0.rst This document lists new features and enhancements for the Yocto Project · line 37
Quoted 10 lines
documentation/migration-guides/release-notes-6.0.rst +3
-1+ New Features / Enhancements in |yocto-ver| ------------------------------------------ - Linux kernel XXX, gcc XXX, glibc XXX, LLVM XXX, and over XXX other - recipe upgrades. + recipe upgrades > -- Minimum Python version required on the host: XXX. +- Minimum Python version required on the host: XXX
Why the sudden change of mind with dot-ending?
Also clearly missing the versions :)
Quoted 5 lines
documentation/migration-guides/release-notes-6.0.rst +0
-3- New variables: - - The :term:`OPENSSH_HOST_KEY_DIR_READONLY_CONFIG` variable can be used to - specify the directory where OpenSSH host keys are stored when the device - uses a read-only filesystem. The default value is ``/var/run/ssh``.
documentation/migration-guides/release-notes-6.0.rst This document lists new features and enhancements for the Yocto Project · line 49
Quoted 10 lines
documentation/migration-guides/release-notes-6.0.rst +10
-0+ - The :term:`OPENSSH_HOST_KEY_DIR` variable can be used to specify the + directory where OpenSSH host keys are stored. The default value is + ``/etc/ssh`` (:oecore_rev:`addd80ddfd89`) + + - The :term:`OPENSSH_HOST_KEY_DIR_READONLY_CONFIG` variable can be used to + specify the directory where OpenSSH host keys are stored when the device + uses a read-only filesystem. The default value is ``/var/run/ssh`` + (:oecore_rev:`addd80ddfd89`) + + - The :term:`SPDX_INCLUDE_KERNEL_CONFIG` can be set to "1" export the Linux
+to?
documentation/migration-guides/release-notes-6.0.rst This document lists new features and enhancements for the Yocto Project · line 53
Quoted 4 lines
documentation/migration-guides/release-notes-6.0.rst +4
-0+ kernel configuration (``CONFIG_*`` parameters) into the SPDX document when + using the :ref:`ref-classes-create-spdx` class (:oecore_rev:`228a968e7c47`) + + - The :term:`SPDX_INCLUDE_PACKAGECONFIG`: variable can be set to "1" to
Spurious colon.
Quoted 13 lines
documentation/migration-guides/release-notes-6.0.rst +6
-5+ export a recipe's :term:`PACKAGECONFIG` features (enabled/disabled) into + the SPDX document when using the :ref:`ref-classes-create-spdx` class + (:oecore_rev:`228a968e7c47`) - - The :term:`OPENSSH_HOST_KEY_DIR` variable can be used to specify the - directory where OpenSSH host keys are stored. The default value is - ``/etc/ssh``. + - The :term:`SPDX_PACKAGE_URL` allows specifying a space-separated list of + Package URLs (purls) for the software Package when using the + :ref:`ref-classes-create-spdx` class (:oecore_rev:`874b2d301d3c`) - - :term:`SPDX_INCLUDE_KERNEL_CONFIG`: export the Linux kernel - configuration (``CONFIG_*`` parameters) into the SPDX document.
documentation/migration-guides/release-notes-6.0.rst This document lists new features and enhancements for the Yocto Project · line 69
Quoted 10 lines
documentation/migration-guides/release-notes-6.0.rst +7
-2+ - The :term:`SPDX_CONCLUDED_LICENSE` allows specifying the + ``hasConcludedLicense`` object of individual SBOM packages when using the + :ref:`ref-classes-create-spdx` class (:oecore_rev:`bb21c6a429a2`) - - :term:`SPDX_INCLUDE_PACKAGECONFIG`: export a recipe's - :term:`PACKAGECONFIG` features (enabled/disabled) into the SPDX document. + - The :term:`FIT_MKIMAGE_EXTRA_OPTS` variable allows passing extra options + to the ``mkimage`` command when creating a FIT image + (:oecore_rev:`d925d67061ef`) +
U-Boot generates FIT images too (I believe Barebox as well), but this only applies to the kernel FIT image as far as I could tell?
documentation/migration-guides/release-notes-6.0.rst This document lists new features and enhancements for the Yocto Project · line 73
Quoted 4 lines
documentation/migration-guides/release-notes-6.0.rst +4
-0+ - The :term:`FIT_CONF_MAPPINGS` variable allows mapping extra configurations + to existing ones or rename an existing configuration in FIT images + (:oecore_rev:`e30f809a50c2`) +
Ditto.
documentation/migration-guides/release-notes-6.0.rst This document lists new features and enhancements for the Yocto Project · line 75
Quoted 2 lines
documentation/migration-guides/release-notes-6.0.rst +2
-0+ - The :term:`UBOOT_CONFIG_FRAGMENTS` and :term:`UBOOT_FRAGMENTS` allow + supplying additional configuration fragments to the existing U-boot
s/U-boot/U-Boot/
Quoted 14 lines
documentation/migration-guides/release-notes-6.0.rst +9
-0+ configuration. See the definition of the variables for more information, + and the documentation of the :ref:`ref-classes-uboot-config` class + (:oecore_rev:`9e96d3dedee4`) + + - The :term:`IMAGE_EXTRA_PARTITION_FILES` allows specifying extra files from + the deploy directory (:term:`DEPLOY_DIR_IMAGE`) to install in a WIC + partition created with the ``extra_partition`` plugin + (:oecore_rev:`e1526079d205`) - Kernel-related changes: - New core recipes: + - ``libconfig``: Import recipe from :oe_git:`/meta-openembedded/`, needed by
documentation/migration-guides/release-notes-6.0.rst This document lists new features and enhancements for the Yocto Project · line 99
Quoted 10 lines
documentation/migration-guides/release-notes-6.0.rst +10
-0+ one of the Mesa recipes (:oecore_rev:`1a0196a794f8`) + + - ``python3-sphinxcontrib-svg2pdfconverter``: Used for the generation of the + Yocto Project documentation (:oecore_rev:`f3f001967744`) + + - ``python3-pyzstd``: Import from :oe_git:`meta-python + </meta-openembedded/tree/meta-python>`, needed by the ``ukify`` tool of + systemd v258 (:oecore_rev:`88a27133c184`) + + - ``python3-uv-build``: This recipe add the ``uv`` Python build backend,
s/add/adds/
Quoted 173 lines
documentation/migration-guides/release-notes-6.0.rst +151
-0+ required by ``python3-cryptography`` (:oecore_rev:`0880cd2b79ee`) + + - ``blueprint-compiler``: Add the recipe as it became a dependency of the + ``epiphany`` recipe after its upgrade to 49.2 (:oecore_rev:`4212392ca7eb`) + - New core classes: +- Global configuration changes: + + - ``base-passwd``: Add a ``clock`` group as `systemd` version v258 introduces + this group to `enable applications like linuxptp to open clocks without + root privileges <https://github.com/systemd/systemd/commit/af96ccfc24bc4803078a46b4ef2cdeb5decdfbcd>`__ + (:oecore_rev:`aad849301be1`) + + - ``lto.inc``: Add a `Clang` specific :term:`LTO` configuration (:oecore_rev:`253da2e6fc0a`) + + - ``bitbake.conf``: + + - remove :term:`DEBUG_PREFIX_MAP` from :term:`TARGET_LDFLAGS` + (:oecore_rev:`1797741aad02`) + + - The default definition of :term:`TARGET_LDFLAGS` used to + contain the value of :term:`DEBUG_PREFIX_MAP`, to fix binary + reproducibility issues. This was no longer needed after the originating + `GCC bug <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101473>`__ was + fixed (:oecore_rev:`1797741aad02`) + + - Switch :term:`BB_SIGNATURE_HANDLER` to ``OEEquivHash`` and + :term:`BB_HASHSERVE` to ``auto`` by default + (:oecore_rev:`5596ea156d3f`, :oecore_rev:`4a388406acf0`) + + - The :ref:`ref-classes-uninative` class is now enabled by default. This + allows reuse of native sstate built on one distro on another + (:oecore_rev:`722897f96d30`) + + - The :oe_git:`no-static-libs.inc + <openembedded-core/tree/meta/conf/distro/include/no-static-libs.inc>` + file, disabling most static libraries in various recipes, is now included + by default in the default distro setup (appearing as the ``nodistro`` + :term:`DISTRO`) (:oecore_rev:`03fc931bfe9e`) + + - The :oe_git:`security_flags.inc + <openembedded-core/tree/meta/conf/distro/include/security_flags.inc>` + file, adding various security related flags to the default compiler and + linker, is now included by default in the default distro setup (appearing + as ``nodistro`` :term:`DISTRO`) (:oecore_rev:`4c2d64c10a5b`) + + - The :oe_git:`yocto-space-optimize.inc + <openembedded-core/tree/meta/conf/distro/include/yocto-space-optimize.inc>` + file, adding various space optimization tweaks, is now included by default + in the default distro setup (appearing as ``nodistro`` :term:`DISTRO`) + (:oecore_rev:`175fcf9fad69`) + - Architecture-specific changes: - QEMU / ``runqemu`` changes: + - ``qemuboot```: Make the tap interface nameserver configurable through + :term:`QB_TAP_NAMESERVER` (:oecore_rev:`0e8c2582d46d`) + + - ``qemu``: Disable the ``libkeyutils`` feature (:oecore_rev:`30cc9f519243`) + + - ``runqemu-extract-sdk``: Support the ``tar.zst`` format + (:oecore_rev:`650bb45251b5`) + + - ``qemurunner``: Improve ``qmp`` module detection + (:oecore_rev:`a7386d071d42`) + + - ``runqemu``: Support ``.tar.zst``, ``.tar,xz``, ``.tar`` rootfs archive + types (:oecore_rev:`3a6172fbb6d3`) + - Documentation changes: - Go changes: + - :ref:`ref-classes-go`: Disable workspaces when building + (``GOWORK="off"``) (:oecore_rev:`c52c5e886269`) + + - ``meta-go-toolchain``: Disable support for the ``riscv32`` and ``ppc32`` + architectures, as this was not supported (:oecore_rev:`f55407185c63`) + - Rust changes: + - Enable dynamic linking with llvm. This allows dynamically linking to + ``libLLVM.so`` instead of linking statically (:oecore_rev:`74ba238ff1ba`) + - Wic Image Creator changes: + - ``wic/engine``: Fix copying directories into wic image with ``ext*`` + partitions (:oecore_rev:`1ed38aff5f81`) + - SDK-related changes: - Testing-related changes: + - :ref:`ref-classes-ptest` support was added for the following recipes: + + - ``libarchive`` (:oecore_rev:`6e0bf90e31c9`) + - ``libassuan`` (:oecore_rev:`1010abf3e32e`) + - ``libcheck`` (:oecore_rev:`1bb06e23c1c8`) + - ``libconfig`` (:oecore_rev:`f3e9d1326bf3`) + - ``libksba`` (:oecore_rev:`f50a2005dda8`) + - ``libmd`` (:oecore_rev:`4c0a41389bda`) + - ``libsolv`` (:oecore_rev:`f5432d1c45f9`) + - ``libyaml`` (:oecore_rev:`ed2a3459829b`) + - ``utfcpp`` (:oecore_rev:`49314caa7eb8`) + + - ``selftests``: Use SHA256 keys for RPM tests (:oecore_rev:`692919be1947`) + + - ``oeqa``: Open JSON files to parse in a context manager + (:oecore_rev:`e96baf588dfa`) + + - ``resulttool``: Add :ref:`ref-classes-ptest` support to the JUnit output + format (:oecore_rev:`2abe2d701c98`) + + - :ref:`ref-tasks-testimage`: Print last lines of kernel log on test fail + (:oecore_rev:`fea3c445a9cc`) + + - ``reproducible``: Use the `jQuery` CDN instead of ``jquery-native`` + (:oecore_rev:`d3ee5497b1ce`) + + - ``selftest``: Test installation of recipes with complex packaging + (:oecore_rev:`6f3aab6bfa75`) + - Utility script changes: + - ``bitbake-config-build``: It is now possible to disable all fragments + starting with a prefix by issuing ``bitbake-config-build disable-fragment + <prefix>/`` (:oecore_rev:`573695d2ff3e`) + + - ``recipetool``: Support PEP639-variant of license key in Python + ``pyproject.toml`` files (:oecore_rev:`9d1a7bb5d8aa`) + + - :ref:`ref-classes-buildhistory`: + + - Also show renamed directories (:oecore_rev:`9bf22112ea46`) + - Fix handling of :term:`RDEPENDS` style strings (:oecore_rev:`b013d62d1092`) + + - ``create-pull-request``: Keep commit hash to be pulled in cover email + (:oecore_rev:`c78f5ae4a5ba`) + + - ``yocto-check-layer``: Add messages in ``test_readme`` assertions + (:oecore_rev:`9fe883ce4c62`) + - BitBake changes: + - ``bitbake-layers``: + + - Add a ``--show-variants`` option to the ``show-recipes`` subcommand to + display :term:`BBCLASSEXTEND` variants (:bitbake_rev:`353d5e948c99`) + + - Fix the branch detection method of ``layerindex-fetch`` (:bitbake_rev:`af9dd012e7f4`) + + - ``bitbake-setup``: + + - Implement symlinking local sources into builds with the + ``--use-local-source`` option of the ``init`` subcommand + (:bitbake_rev:`ed5a3a0fc820`) + + - Convert ``print()`` calls to use a :term:`BitBake` logger + (:bitbake_rev:`6e511d035a3d`) + + - Correct several scenarios in layer updates (:bitbake_rev:`aa15cc7bd102`) + + - Source in the ``git-remote`` section can now be specified more simply + with the ``uri`` property, instead of the ``remotes`` property + (:bitbake_rev:`7941a5dc4dba`). For example: + + .. code-block:: json + + "bitbake": { + "git-remote": { + "uri": "https://git.openembedded.org/bitbake",
documentation/migration-guides/release-notes-6.0.rst This document lists new features and enhancements for the Yocto Project · line 282
Quoted 10 lines
documentation/migration-guides/release-notes-6.0.rst +10
-0+ "branch": "master", + "rev": "master" + } + } + + - Use the internal registry if run from a Git checkout, from a remote + :term:`BitBake` repository otherwise (:bitbake_rev:`675e9076a252`) + + - Fragments passed in the ``oe-fragments-one-of`` property can now + contains descriptions (:bitbake_rev:`29f2cee655be`)
s/contains/contain/
Quoted 29 lines
documentation/migration-guides/release-notes-6.0.rst +26
-1+ + - Improve the readability of choices during the + :ref:`bitbake:ref-bbsetup-command-init` command + (:bitbake_rev:`d9700632bd6b`) + + - Enable coloring of the diff outputs when using the + :ref:`bitbake:ref-bbsetup-command-status` or + :ref:`bitbake:ref-bbsetup-command-update` commands + + - ``cooker``: Use :term:`bitbake:BB_HASHSERVE_DB_DIR` as hash server + database location. If unset, the existing behavior is preserved + (:bitbake_rev:`b339d05ad2b6`) + + - ``bitbake-getvar``: Show close matches when no providers are found + (:bitbake_rev:`1f8fa7c25e71`) + - Packaging changes: -- LLVM related changes: +- Clang/LLVM related changes: + + - ``compiler-rt``: + + - Remove the need to depend on ``libgcc`` (:oecore_rev:`f504b6bb8366`) + - Always build C runtime (``crt``) files (:oecore_rev:`56fe42abe21e`) + + - ``libcxx``: Remove GNU runtime from dependencies (:oecore_rev:`8034509d3065`) + + - ``libcxx/compiler-rt``: Add support for ``llvm-libgcc``, a drop-in
documentation/migration-guides/release-notes-6.0.rst This document lists new features and enhancements for the Yocto Project · line 320
Quoted 10 lines
documentation/migration-guides/release-notes-6.0.rst +7
-0+ replacement for ``libgcc`` and ``crt`` files (:oecore_rev:`ed02230e3bba`) - SPDX-related changes: + - ``spdx30_tasks``: Fix :term:`SPDX_CUSTOM_ANNOTATION_VARS` implementation + (:oecore_rev:`52ab3b640c6b`) + + - :ref:`ref-classes-kernel`: Add a task to export the kernel configuration + to SPDX. This (:oecore_rev:`228a968e7c47`) +
This?
Quoted 26 lines
documentation/migration-guides/release-notes-6.0.rst +21
-1+ - Add support for exporting the :term:`PACKAGECONFIG` to SPDX + (:oecore_rev:`7ec61ac40345`) + + - Add suport for package URLs (PURLs) through :term:`SPDX_PACKAGE_URL` + (:oecore_rev:`874b2d301d3c`) + + - ``create-spdx-2.2``: Add CVEs in :term:`CVE_CHECK_IGNORE` + to the list of fixed CVEs in the output SBOM (:oecore_rev:`f8525224cb82`) + - ``devtool`` changes: + - ``ide-sdk``: Find ``bitbake-setup``'s ``init-build-env`` + first, and ``oe-init-build-env`` if not found (:oecore_rev:`6ab7e9e8e52f`) + + - ``ide-sdk``: Add `gdbserver` attach mode support (:oecore_rev:`119171087681`) + + - ``ide-sdk``: Support GDB pretty-printing for C++ STL types (:oecore_rev:`a69e2baba81b`) + - Patchtest-related changes: -- :ref:`ref-classes-insane` class related changes: + - Code refactoring and improvements (:oecore_rev:`86d0b2254ae9`, + :oecore_rev:`317ef42b9b23`, :oecore_rev:`6cdb5cbbee62`, + :oecore_rev:`ae787b32d501`, :oecore_rev:`a85025234809`) + + - Reject ``Upstream-Status`` after scissors (:oecore_rev:`2156ef9e6def`)
documentation/migration-guides/release-notes-6.0.rst This document lists new features and enhancements for the Yocto Project · line 354
Quoted 10 lines
documentation/migration-guides/release-notes-6.0.rst +6
-1+ +- :ref:`ref-classes-insane` / :ref:`ref-classes-sanity` classes related changes: - Security changes: -- :ref:`ref-classes-cve-check` changes: + - A new document was added to the Yocto Project documentation: + :doc:`/security-reference/index`. It is intended to document a way of + reporting vulnerabilities to the Yocto Project security team. +
s/a way of reporting/how to report/ ?
Quoted 4 lines
documentation/migration-guides/release-notes-6.0.rst +4
-0+- :ref:`ref-classes-cve-check`-related changes: + + - ``cve-update-nvd2-native``: Use maximum CVSS score when extracting it from + multiple sources (:oecore_rev:`4f6192f3165d`)
documentation/migration-guides/release-notes-6.0.rst This document lists new features and enhancements for the Yocto Project · line 368
Quoted 10 lines
documentation/migration-guides/release-notes-6.0.rst +7
-0- New :term:`PACKAGECONFIG` options for individual recipes: + - ``curl``: ``schannel`` + - ``libinput``: ``lua``, ``libwacom``, ``mtdev`` + - ``mesa``: ``expat``, ``zlib`` + - ``opkg``: ``acl``, ``xattr`` + - ``gstreamer1.0-plugins-good``: ``qt6`` + - ``python3-cryptography``: ``legacy-openssl`` + - ``openssl``: ``legacy``
Maybe sort the recipe list?
documentation/migration-guides/release-notes-6.0.rst This document lists new features and enhancements for the Yocto Project · line 377
Quoted 10 lines
documentation/migration-guides/release-notes-6.0.rst +6
-1+ - Systemd related changes: -- :ref:`ref-classes-sanity` class changes: + - Package ``ukify`` separately, with the ``systemd-ukify`` package name + (:oecore_rev:`e92427496210`) + + - ``systemd-compat-units``: Generate masks at build time + (:oecore_rev:`4dc01e016210`)
Isn't that recipe removed? Not sure it's worth documenting this part.
documentation/migration-guides/release-notes-6.0.rst This document lists new features and enhancements for the Yocto Project · line 384
Quoted 8 lines
documentation/migration-guides/release-notes-6.0.rst +3
-1- U-boot related changes: - :ref:`ref-classes-uboot-config`: Add support for generating the U-Boot initial environment in binary format using - :term:`UBOOT_INITIAL_ENV_BINARY`. + :term:`UBOOT_INITIAL_ENV_BINARY` (:oecore_rev:`cf11b14a4cfc`) + + - A new way of specifying multiple U-boot configurations has been added
s/U-boot/U-Boot/
Quoted 18 lines
documentation/migration-guides/release-notes-6.0.rst +15
-0+ (:oecore_rev:`cd9e7304481b`). See + :ref:`ref-migration-6-0-u-boot-config-flow-changes` - Miscellaneous changes: + - ``curl``: Ensure ``CURL_CA_BUNDLE`` from host environment is respected + (:oecore_rev:`545e43a7a45b`) + + - ``weston``: Add PipeWire as runtime dependency when ``pipewire`` is part + of :term:`PACKAGECONFIG` (:oecore_rev:`9f5286725ad4`) + + - :ref:`ref-classes-uki`: Use basename of device trees available via + :term:`KERNEL_DEVICETREE` (:oecore_rev:`27a7fbb767c0`) + + - ``rpcbind``: Set the owner of ``/run/rpcbind`` to ``rpc`` + (:oecore_rev:`80e428924715`) + + - :ref:`ref-classes-archiver`: Remove :term:`WORKDIR` from the patch
documentation/migration-guides/release-notes-6.0.rst This document lists new features and enhancements for the Yocto Project · line 412
Quoted 10 lines
documentation/migration-guides/release-notes-6.0.rst +10
-0+ directory (:oecore_rev:`c99d22827c95`) + + - ``gtk4``: Convert to use the :ref:`ref-classes-gnomebase` class + (:oecore_rev:`fcd5e7c4468f`) + + - ``udev-extraconf``: Split ``automount`` and ``autonet`` into seperate + packages (``udev-extraconf-automount`` and ``udev-extraconf-autonet``) + (:oecore_rev:`08662d71cd35`) + + - ``e2fsprogs``: Add a for files larger than 2GB (:oecore_rev:`683a1e773899`)
Add a?
documentation/migration-guides/release-notes-6.0.rst This document lists new features and enhancements for the Yocto Project · line 414
Quoted 2 lines
documentation/migration-guides/release-notes-6.0.rst +2
-0+ + - ``mesa``: Add support for the ``virtio`` ``gfxstream``, ``hasvk`` Vulkan drivers
Missing coma betwen first two drivers.
Quoted 9 lines
documentation/migration-guides/release-notes-6.0.rst +9
-0+ (:oecore_rev:`8e7ffdceded3`, :oecore_rev:`3b56f14b2019`) + + - ``mesa``: Drop :wikipedia:`VDPAU <VDPAU>` remnants in the recipe after + upstream support was removed (:oecore_rev:`3b05f58586bc`) + + - :ref:`ref-classes-cross`: Propagate dependencies to ``outhash``, + improving :ref:`hash equivalence <overview-manual/concepts:Hash + Equivalence>` (:oecore_rev:`267b651e875d`) +
documentation/migration-guides/release-notes-6.0.rst This document lists new features and enhancements for the Yocto Project · line 433
Quoted 10 lines
documentation/migration-guides/release-notes-6.0.rst +10
-0+ - ``run-postinsts``: Propagate exit status to the ``run-postinsts.service`` + systemd service (:oecore_rev:`7f74d88bb628`) + + - ``freetype``: Use :ref:`ref-classes-meson` instead of + :ref:`ref-classes-autotools` (:oecore_rev:`7395e4f99e90`) + + - ``wpa-supplicant``: + + - Build with :wikipedia:`OWE <Opportunistic_Wireless_Encryption>` support + by default (:oecore_rev:`d16c66b4efad`)
Missing newline.
Quoted 8 lines
documentation/migration-guides/release-notes-6.0.rst +8
-0+ - Build with :wikipedia:`802.11be <Wi-Fi_7>` support by default + (:oecore_rev:`d16c66b4efad`) + + - ``overlayfs``: Remove helper unit (:oecore_rev:`623c20ff1e98`) + + - :ref:`ref-classes-patch`: Show full path when a patch fails to apply + (:oecore_rev:`602e28b48134`) +
documentation/migration-guides/release-notes-6.0.rst This document lists new features and enhancements for the Yocto Project · line 451
Quoted 10 lines
documentation/migration-guides/release-notes-6.0.rst +10
-0+ - ``kea``: Replace ``keactrl`` with `kea` daemons (``kea-dhcp*``) in + initscripts (:oecore_rev:`7f9d9297a84f`), and remove ``keactrl`` from the + recipe (:oecore_rev:`08c3877f4df8`) + + - ``initramfs-framework``: Add handover of PID 1's arguments to modules + (:oecore_rev:`a0ab3d1c4f9e`) + + - ``perl``: Provide ``pod2man`` (in the recipe's :term:`PROVIDES` + definition). This is used by many other recipes to produce :wikipedia:`man + pages <Man_page>`, allowing existing to explicitly depend on
existing?
documentation/migration-guides/release-notes-6.0.rst This document lists new features and enhancements for the Yocto Project · line 457
Quoted 6 lines
documentation/migration-guides/release-notes-6.0.rst +6
-0+ ``pod2man-native`` to produce man pages (:oecore_rev:`1d1e55d200fb`) + + - ``build-sysroots``: Add sysroot tasks to default build and remove warning + (:oecore_rev:`e73f15095522`) + + - Licenses and manifest are now deployed to the SDK when setting
s/manifest/manifests/ ?
s/to/in/ ?
Cheers,
Quentin
Re: [docs] [PATCH 6/8] migration-guides: update 6.0 (Wrynose) release notes
Hi,
On Thu Mar 5, 2026 at 12:42 PM CET, Quentin Schulz via lists.yoctoproject.org wrote:
[...]
Quoted 8 lines
Quoted 2 lines
+- Support for the
CVSfetcher (:bitbake_rev:5427500e4f23). +Missing verb. I'm assuming we want "was dropped" here.
Also, I'm hoping we won't have sha collision on the first 12 hex digits. Wondering if we should't put the whole sha instead of only the first 12 hex digits?
Ideally I would have preferred to be able to pass-in the full hash and have only the short one be displayed, but I don't think this is possible with the extlinks extension. If we come up with an idea later, I think we could always script something and replace the current references with full hashes?
I put 12 digits as a reasonable limit which also doesn't clutter the reading too much.
Thanks for the other reviews! I'll send a v2 shortly.
Antonin
Re: [docs] [PATCH 6/8] migration-guides: update 6.0 (Wrynose) release notes
Hi Antonin,
Quoted 9 lines · Antonin Godard
Hi,
On Thu Mar 5, 2026 at 12:42 PM CET, Quentin Schulz via lists.yoctoproject.org wrote:
[...]Quoted 5 lines
Quoted 2 lines
+- Support for the
CVSfetcher (:bitbake_rev:5427500e4f23). +Missing verb. I'm assuming we want "was dropped" here.
Quoted 7 lines
Quoted 3 lines
Also, I'm hoping we won't have sha collision on the first 12 hex digits. Wondering if we should't put the whole sha instead of only the first 12 hex digits?
Ideally I would have preferred to be able to pass-in the full hash and have only the short one be displayed, but I don't think this is possible with the extlinks extension. If we come up with an idea later, I think we could always script
'bitbake_rev': (f'{bitbake_git}/commit/?id=%s', '%.12s'),
It's not explicitly listed as supported by the sphinx-extlinks docs but the code does
caption % part
c.f. https://github.com/sphinx-doc/sphinx/blob/master/sphinx/ext/extlinks.py#L115 (and seemingly always had it implemented this way, checking the git log of this file)
so you can have anything valid for a variable that is passed to the % operator on a string, see https://docs.python.org/3/library/stdtypes.html#old-string-formatting.
Cheers,
Quentin
Re: [docs] [PATCH 6/8] migration-guides: update 6.0 (Wrynose) release notes
Hi,
Quoted 27 lines · Quentin Schulz via lists.yoctoproject.org
Hi Antonin,
Quoted 9 lines · Antonin Godard
Hi,
On Thu Mar 5, 2026 at 12:42 PM CET, Quentin Schulz via lists.yoctoproject.org wrote:
[...]Quoted 5 lines
Quoted 2 lines
+- Support for the
CVSfetcher (:bitbake_rev:5427500e4f23). +Missing verb. I'm assuming we want "was dropped" here.
Quoted 7 lines
Quoted 3 lines
Also, I'm hoping we won't have sha collision on the first 12 hex digits. Wondering if we should't put the whole sha instead of only the first 12 hex digits?
Ideally I would have preferred to be able to pass-in the full hash and have only the short one be displayed, but I don't think this is possible with the extlinks extension. If we come up with an idea later, I think we could always script
'
bitbake_rev': (f'{bitbake_git}/commit/?id=%s', '%.12s'),It's not explicitly listed as supported by the sphinx-extlinks docs but the code does
caption % part
Quoted 8 lines
c.f.
https://github.com/sphinx-doc/sphinx/blob/master/sphinx/ext/extlinks.py#L115
(and seemingly always had it implemented this way, checking the git log of this file)so you can have anything valid for a variable that is passed to the % operator on a string, see
https://docs.python.org/3/library/stdtypes.html#old-string-formatting.
Very nice, I'll try that and convert the links, thank you!
Antonin
PATCH 7/8 docs-wide: add warning on disabled NPM fetcher
In reply to Antonin GodardThe 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
@@ -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:`355cd226e072` 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
@@ -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:`355cd226e072` 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
@@ -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:`355cd226e072` for more information. + Provides support for building Node.js software fetched using the :wikipedia:`node package manager (NPM) <Npm_(software)>`.
Signature · 1 line
2.52.0
Re: [docs] [PATCH 7/8] docs-wide: add warning on disabled NPM fetcher
Hi Antonin,
Quoted 4 lines · Antonin Godard via lists.yoctoproject.org
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.
Thanks!
Quentin
PATCH 8/8 ref-manual/faq.rst: remove the CVS proxy note
In reply to Antonin GodardSupport 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
@@ -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.52.0
Re: [docs] [PATCH 8/8] ref-manual/faq.rst: remove the CVS proxy note
Hi Antonin,
Quoted 3 lines · Antonin Godard via lists.yoctoproject.org
Support for the CVS fetcher was removed with
5427500e4f23("fetch: Drop CVS fetcher module") in BitBake. Remove the CVS proxy mention.
Thanks!
Quentin
Antonin Godard
AppliedApplied, 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