From patchwork Mon Mar 2 09:37:48 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonin Godard X-Patchwork-Id: 82240 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8CF35C624C2 for ; Mon, 2 Mar 2026 09:38:03 +0000 (UTC) Received: from smtpout-03.galae.net (smtpout-03.galae.net [185.246.85.4]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.157025.1772444282015027846 for ; Mon, 02 Mar 2026 01:38:02 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=dkim header.b=nbide9cD; spf=pass (domain: bootlin.com, ip: 185.246.85.4, mailfrom: antonin.godard@bootlin.com) Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-03.galae.net (Postfix) with ESMTPS id 785DD4E424DA for ; Mon, 2 Mar 2026 09:38:00 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 468FE5FE89 for ; Mon, 2 Mar 2026 09:38:00 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 8123E10369511; Mon, 2 Mar 2026 10:37:59 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1772444279; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=HAE4y66lDSnIOuhAe5qO+E36bdOJzdLqHheqKzZCC1U=; b=nbide9cDobiuwwhlFNnxMkDz8HApcpqGJCknMb5CjWL/WiyATTEMjOsBweMyaDjM93N+xe X/hWskfFdoDyozOX5zmI7NXgVzzwxqmgVWLeAMKHCgibZQTXVH479xP+g6Rvy95RtDkxJP C/C1IXr85EkBL6bpXCtX8qivmGsTd3hu+DyCOh916+Z1IQWxZcSSf+9BAx3/RSyvdVeT8D 1dKrjarrR0/v9Xihy7lUiEVrHxItjCtbZFOvhDQ7KBvsDysBj9nLAI9h5sjwQZDgRUDXWl d367RkDqfbT3RC5AStX4ckJv9xmSeVv926qU4bC7THEeOkWuhJwSBZXZl/APcQ== From: Antonin Godard Date: Mon, 02 Mar 2026 10:37:48 +0100 Subject: [PATCH 1/8] conf.py: define new {oecore,bitbake,meta_yocto}_rev roles MIME-Version: 1.0 Message-Id: <20260302-release-notes-6-0-v1-1-9662dee58591@bootlin.com> References: <20260302-release-notes-6-0-v1-0-9662dee58591@bootlin.com> In-Reply-To: <20260302-release-notes-6-0-v1-0-9662dee58591@bootlin.com> To: docs@lists.yoctoproject.org Cc: Thomas Petazzoni , Antonin Godard X-Mailer: b4 0.15-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=2394; i=antonin.godard@bootlin.com; h=from:subject:message-id; bh=WARAdrNx78pCI7jH/XtLTcGeP3B/Fa8n7gq6x6ey61E=; b=owEBbQKS/ZANAwAKAdGAQUApo6g2AcsmYgBppVp1GI2T+BE3unEOzgrnw/TGHsVLFjbFCNfXr YYdbVah7POJAjMEAAEKAB0WIQSGSHJRiN1AG7mg0//RgEFAKaOoNgUCaaVadQAKCRDRgEFAKaOo NgxsEACYCYXMwc9mqA37LwbuZ+8KYQ35RJtg75A6nXRdkAV88rm6eGQB0lciHAJpiDt+JNQjENi nPq3Y3BMMyuNVkVfksjBDRPZFepxHsZ93WwyukXKT1MNJU/F+b/YKJwQt/hZYB7yBn6LqFTeL7+ 5tjZIkCQ90xV1qEr1uZmvAvPQDXAKzTWWF/A/+Wc//kAM1XkdMrAZbPmUndG6zKwPGzyK2JPx1c h1ird3In9YrPnyxxsKdub8Ruthm/rZr503/zjKGYay5GDxX42rOa0rUGXvD383AXvnp8+0jGqpo jILGaPjCcK55lVkqY3hZ0R2JOAnML+nBy8kcPPk11zLMwEtJjHW1Nl6Z3jp0Zo59S1n7iEQt8Kl ZutmHO3BfXwWLa7oBK5Me07nCyuiRPuGDMf6V8Kr4d3pSZcwHG3IoeJXIPsK/eU+t7Hy+fd/BcW tk+CGp9i8OVLxVOStzn7YRe4swXrrW8FxVuKb3dBoAmPzRHqXRK1XqsObis6gy+2xbWKVxW+2zC RaL8Pghh+Hbrn36ehhO5yEOduQL1/478/fWSx0+95fmk5E0NlNOUKr+WY8eLvOkAUl/3ApFkrS6 JutsUxLATrnEg+WgceJCbkNl7fqbIrpKJrePrBsHQGbb6IQYixIkD0WzjdWaxh5VyRJwucselkv 1186Sc/zSTN3s0Q== X-Developer-Key: i=antonin.godard@bootlin.com; a=openpgp; fpr=8648725188DD401BB9A0D3FFD180414029A3A836 X-Last-TLS-Session-Version: TLSv1.3 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 02 Mar 2026 09:38:03 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/9017 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 --- documentation/conf.py | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/documentation/conf.py b/documentation/conf.py index 5a69977cf..f3234b241 100644 --- a/documentation/conf.py +++ b/documentation/conf.py @@ -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), From patchwork Mon Mar 2 09:37:49 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonin Godard X-Patchwork-Id: 82241 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9F75DFD0054 for ; Mon, 2 Mar 2026 09:38:03 +0000 (UTC) Received: from smtpout-03.galae.net (smtpout-03.galae.net [185.246.85.4]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.157026.1772444282727112120 for ; Mon, 02 Mar 2026 01:38:03 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=dkim header.b=AJ4Rqfqo; spf=pass (domain: bootlin.com, ip: 185.246.85.4, mailfrom: antonin.godard@bootlin.com) Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-03.galae.net (Postfix) with ESMTPS id 2A7A84E424DB for ; Mon, 2 Mar 2026 09:38:01 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 021215FE89 for ; Mon, 2 Mar 2026 09:38:01 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 1A36A10369531; Mon, 2 Mar 2026 10:38:00 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1772444280; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=boSi9YS4bBSsunHCeIvKfpLhHEtUD1fxqWiPJioCLxQ=; b=AJ4RqfqogpaE7VLIbN2qRSlEXQ3atHRNcB0347RVKs6puDkuPIJevCdvOdwZTG8N0Lw99c Mteh/xOojbVzMzSkFxpB8lf2oQ91g7HWx5giN4uMda07c83+EK/jnXVIqCiYR06jJBfjuy XArjWqXCTujulXgz7ElAgxTU7Ra98JRy+XJtnBHj/alZKTrvi4IqXYkG3yT6zXCrNmOQ3M 22vfvyyX5mJRP6q6VFRQpIGmLWVtKU9XvKeVo39zhxGGd7S57ZQ4TTFG9ZjIs26FLIQCrQ bKJqDY1NboR7cs4sGAtW7/8v8TjWQ0TJmXGYcnxunVX8jma/Xy2VTVY975ZizQ== From: Antonin Godard Date: Mon, 02 Mar 2026 10:37:49 +0100 Subject: [PATCH 2/8] ref-manual/variables.rst: document qemuboot variables MIME-Version: 1.0 Message-Id: <20260302-release-notes-6-0-v1-2-9662dee58591@bootlin.com> References: <20260302-release-notes-6-0-v1-0-9662dee58591@bootlin.com> In-Reply-To: <20260302-release-notes-6-0-v1-0-9662dee58591@bootlin.com> To: docs@lists.yoctoproject.org Cc: Thomas Petazzoni , Antonin Godard X-Mailer: b4 0.15-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=5993; i=antonin.godard@bootlin.com; h=from:subject:message-id; bh=j6j1XpvdYXW3rtNXTFCbof5l/Yyb1zfPmZtZj1x6zjk=; b=owEBbQKS/ZANAwAKAdGAQUApo6g2AcsmYgBppVp1tUsDUbr3DJ6zxYmLqC4Txtpyd+QekPvAB dq7beCaZd6JAjMEAAEKAB0WIQSGSHJRiN1AG7mg0//RgEFAKaOoNgUCaaVadQAKCRDRgEFAKaOo NobDEACdqLFKqRBQ572SfpOx9ejVevJ8Xhwx5HQ0WxTsx+umjAhba3/qpBAVkjuI/gDbLQRrMtV iEnL0BdKj/pAwPCMBSEavfn5LEVIAcN5pHvKMFfP+uUJ4tCINkGbW4b0Xgvl95Lo3yFu2zFXRdF tEJOsaRhjipU64PatBuV3r0zy0/AUq7m6BAgPD/6NSwiSpHh7SJNtjZOyQQF2fNgZ75E75akEHO +P34PUBmB7w+Rwmayn6uz9EaucPHnL9ZFTrIqnKElyQBLWqWLTQ7mfqBhMSV9fPunmfu3+RbJzX drdPgZdQj4gU1BygO/YqI2SehfOXZo0LcQ2UVqLoc9MyXbb7gaGEWcJUl4ekBsXg8h/DQkNmD5O vvOnixqZDbnrBpQK5raioZ+QJN7qKVBnTEksaI8gTFI9iFbOm+1Wgqzeso0IbEfhORKhrvGHURb NNpG+nu3qHYT3v37H/2bu6UG3vInhMhEMY9pt+0qpZ2aocamX/X+/VW6SLtIzKOMpRCWi2phZpX G73uTROmaNGenB6S6xgqnSdqb/ez1yqn6hBQX0ABG00RWmFmcA3svAwiMoqXyu17LmmZfpElvIl TON1G1j+fW3PIfc8DIlulEFREOcfZ1vSWzEPuMRj+WmId2SIrt4ZQFrJCU+60QjoixKv/9gKl2U YtCKVN59tY9utIw== X-Developer-Key: i=antonin.godard@bootlin.com; a=openpgp; fpr=8648725188DD401BB9A0D3FFD180414029A3A836 X-Last-TLS-Session-Version: TLSv1.3 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 02 Mar 2026 09:38:03 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/9019 Document the variables in qemuboot.bbclass that allow customizing how the QEMU guest is instantiated. Signed-off-by: Antonin Godard --- documentation/ref-manual/variables.rst | 147 +++++++++++++++++++++++++++++++++ 1 file changed, 147 insertions(+) diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index 45073d8a0..bf13b05c5 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst @@ -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 ` 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 `. From patchwork Mon Mar 2 09:37:50 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonin Godard X-Patchwork-Id: 82244 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 954FDE9B340 for ; Mon, 2 Mar 2026 09:38:13 +0000 (UTC) Received: from smtpout-03.galae.net (smtpout-03.galae.net [185.246.85.4]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.156860.1772444284003141380 for ; Mon, 02 Mar 2026 01:38:04 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=dkim header.b=jnOlbEr1; spf=pass (domain: bootlin.com, ip: 185.246.85.4, mailfrom: antonin.godard@bootlin.com) Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-03.galae.net (Postfix) with ESMTPS id 72F1A4E424DC for ; Mon, 2 Mar 2026 09:38:02 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 438055FE89 for ; Mon, 2 Mar 2026 09:38:02 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id D1B0B10369533; Mon, 2 Mar 2026 10:38:00 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1772444281; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=cv0V5WkpvU6yYGfeuZli8SNoLoUSLqGCFK6uBu/CVQw=; b=jnOlbEr1Tgrx7CG22yZazOc4keWziIzmjV/bsGQRmBpzdnONH1jXaQHEef6Jha76PJfiTB SJJmMro+KqG79Io/nmKPtsPk9kozE/6JvAH5YyP4AilOnsoZMY0y62FQgPG3W8HjRIk2U2 cEDFERDz9lpfRvslb0nWc6Xq8rBioGaHXOHi1HvOQ2fj/X4ieuilPKKI34mjscuZ5T/Y8r wksYmlvewNwhEgzuME2MhN8gUZf7OBkDPsvHIeCJILHCmUit8y4BjMjpRZhYuCIPS8fPUg PSvNpc+Sf9EYQpugK/oOH0T4lY8Fln7VuBubo9jRI9Gr5nTuBvXIlFBjJ8TdpA== From: Antonin Godard Date: Mon, 02 Mar 2026 10:37:50 +0100 Subject: [PATCH 3/8] ref-manual/variables.rst: SPDX_PACKAGE_URL: add missing parenthesis MIME-Version: 1.0 Message-Id: <20260302-release-notes-6-0-v1-3-9662dee58591@bootlin.com> References: <20260302-release-notes-6-0-v1-0-9662dee58591@bootlin.com> In-Reply-To: <20260302-release-notes-6-0-v1-0-9662dee58591@bootlin.com> To: docs@lists.yoctoproject.org Cc: Thomas Petazzoni , Antonin Godard X-Mailer: b4 0.15-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=859; i=antonin.godard@bootlin.com; h=from:subject:message-id; bh=MF1/JbiL1JrcoONr00NG7AIaq9HBoDdF8XkHBFfrJ+4=; b=owEBbQKS/ZANAwAKAdGAQUApo6g2AcsmYgBppVp19hoT7ye0hmKaStAYNkxd1EuVrq8lGctRU +zmvxUYZq6JAjMEAAEKAB0WIQSGSHJRiN1AG7mg0//RgEFAKaOoNgUCaaVadQAKCRDRgEFAKaOo NpZJEACQ94L2Yzz9Ei2V4FYMsenxAK70ICSs6XH6iG8ivAgZyUhalu69OZipFt9M1nXgxMdZmJ8 A0BrapmVxJLYQpDawSajsHzeRq9L4fohEvWYuYlImpQcu+Fe+Ofcwrekc7F55VBq9QvtuZMs5QQ zIekfcd4kcc6CMbvDURE3CbLXPyaDZqhBahaZ6rm9A1hcY+1gyO1VvQE3sLVVJxmIKjB2JK+7PW ny8FU+jnzoCEhsuFacrmhyPmnUakYcZLI9dnBBO9pw6sjkcUqFpFIZBaiSnCPB6MgffXeoTDZv+ ZP+O2/4R7S9eb/V8Hw8AnwaiwwPFW62o4dPfhZJOgRrIwiJtbw/r2pkU1r3wbUK9MNUSziGzO60 +Eidvviqf/81CqntAMY+m+8NmLnUebin0scGJzVdtEyH8qbdaIQOQt8FNW6a3wGX1a3mjbCtSpb NEU1NywzcAoOMOzNKY5i//orlu21kUw7g/7S3JrI8/o7T0m6+amN1iyS9QgNtCYFIy0mH7ni1Oz Q4hgwznFTk8vIfCOT8ZYwwP+V70CUkLdzV6fSpTFngbOum6A5D90tvDQCIioKLQ4rkiEIqtjE4y bEBGWdwYWMM1gVo7jtGOykJ9m4PxLQGJfaV7E9cOFJT24fhmQUe//u4Ks4TSnv+hDbx1YVEkjBa GRZgUgetgzx8PlA== X-Developer-Key: i=antonin.godard@bootlin.com; a=openpgp; fpr=8648725188DD401BB9A0D3FFD180414029A3A836 X-Last-TLS-Session-Version: TLSv1.3 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 02 Mar 2026 09:38:13 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/9021 Signed-off-by: Antonin Godard --- documentation/ref-manual/variables.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index bf13b05c5..1fedb98d2 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst @@ -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. From patchwork Mon Mar 2 09:37:51 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonin Godard X-Patchwork-Id: 82245 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7290AFEE4CE for ; Mon, 2 Mar 2026 09:38:13 +0000 (UTC) Received: from smtpout-03.galae.net (smtpout-03.galae.net [185.246.85.4]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.157027.1772444284212918375 for ; Mon, 02 Mar 2026 01:38:04 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=dkim header.b=FF70puOA; spf=pass (domain: bootlin.com, ip: 185.246.85.4, mailfrom: antonin.godard@bootlin.com) Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-03.galae.net (Postfix) with ESMTPS id AA1724E424DD for ; Mon, 2 Mar 2026 09:38:02 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 785F25FF29 for ; Mon, 2 Mar 2026 09:38:02 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 91BFB10369536; Mon, 2 Mar 2026 10:38:01 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1772444281; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=tTjoLefNFNOIzJz7fy4eM8sOVMPs6AflOlUFE2YZKOs=; b=FF70puOA64RKzdP4syoqo0Rf5bRqhfqyiDEjnDYc4sc6L3w0HEbUpYU+djIszvvbjRSSt1 UQvyEaMAufz6/7pM0X321uXtYqzGKvCY9UbyX7fY9GYHM2u2s2IS4lHCouipjGu/fvm3aT ef9ip6XrVSeZnWzQ2rVEDjk+3LRBEaEM4+EVLZEJig8f0s7m4vAlsoEurrLCr0esSThWbf jsgJA2cJsGPu/pSQIESBsVSFuee3qnOPWe5kTpwP91TNs0wc3rBlnPHQQ6pQakUAbEI4q6 arCpwF56E0B8g2F3iu4E9GCFIKq1z7lnuqBKPeEMrVGdylwk6HYQI6+1LMpqgA== From: Antonin Godard Date: Mon, 02 Mar 2026 10:37:51 +0100 Subject: [PATCH 4/8] ref-manual/variables.rst: document the LTO variable MIME-Version: 1.0 Message-Id: <20260302-release-notes-6-0-v1-4-9662dee58591@bootlin.com> References: <20260302-release-notes-6-0-v1-0-9662dee58591@bootlin.com> In-Reply-To: <20260302-release-notes-6-0-v1-0-9662dee58591@bootlin.com> To: docs@lists.yoctoproject.org Cc: Thomas Petazzoni , Antonin Godard X-Mailer: b4 0.15-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=1179; i=antonin.godard@bootlin.com; h=from:subject:message-id; bh=pCii4XcYJyLdt1MfMRmkYWzDYOINklW5Kc0I469qjwQ=; b=owEBbQKS/ZANAwAKAdGAQUApo6g2AcsmYgBppVp1L3M65smoY8dwSLUbV/IjQn2N20W0pPPDq sJ6NgvFJ4+JAjMEAAEKAB0WIQSGSHJRiN1AG7mg0//RgEFAKaOoNgUCaaVadQAKCRDRgEFAKaOo NhtyEADDmS6/mz7AbQHcULLuzUF8aXSg0c5ANFTSjGIO/4i3MlxpX1bgOwa6Z3ZWIYKDoq6TBYz ULc3wmEInM11RQz271WsQ4WOps0sacWcdzpTzQEMtZL5jtgJJl4Etli1HskVhzISFqxlXxI38d5 HRkV0VR/QmPPh0Dur8Gf0Ubn4G3OjBpD0IERn8jvKNkmdBVKniak//kaScDDZh2NGlNksI8rUKM /VqMdKuAhwTFNuWvdezxT8KqTSnsoL/cmfxb4ZeJaxTIxsE6Vv7WUJ0Qrl0VY/tluK8nm5H2xI0 JgbQZq5JgvuPJLYyqbQkoy+oIvjY89KeF551GHNDnIyV5MZCbsN4OHlZqlYo/bx1StdSNHGue3I z25gBluHc8JwvXKLvE8GQLwUtXXeZd4xNo6VvEDtv04JKlHmC0FFbKXDYZ0KiM6Wc8HJBs9b+gZ tg70oTSg9L7ZdWigMaiVgRX+YPFLE+cEANwIFdVXADCR0t6g0VGT5FEVqiJH2nX0WMkEQAhlPeK eTMoNTTd4Z8WVkhEPCbA7R3OhjTcgBatbo8CaCqdvKDSIbRrtGhpvzqCykz/sRiQF6nbucHAwb0 zJkfXkLNNbuBGIzgqCcGp2/IcyeS/VeuyDSGSam0NrZwFcwEmX4Ty7Z4E8sUnyBQppV1MgS/NBX 5wt5U+DVG9kOw9A== X-Developer-Key: i=antonin.godard@bootlin.com; a=openpgp; fpr=8648725188DD401BB9A0D3FFD180414029A3A836 X-Last-TLS-Session-Version: TLSv1.3 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 02 Mar 2026 09:38:13 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/9020 Added by 228b5a91516c ("lto: Add global LTO distro policy file") in OE-Core. Signed-off-by: Antonin Godard --- documentation/ref-manual/variables.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index 1fedb98d2..579faf7be 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst @@ -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 `. The value of this variable is + appended to the :term:`TARGET_LDFLAGS` variable, adding `Link-Time + Optimisation `__ 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 From patchwork Mon Mar 2 09:37:52 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonin Godard X-Patchwork-Id: 82246 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id A5545E9B346 for ; Mon, 2 Mar 2026 09:38:13 +0000 (UTC) Received: from smtpout-03.galae.net (smtpout-03.galae.net [185.246.85.4]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.157029.1772444284611439870 for ; Mon, 02 Mar 2026 01:38:04 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=dkim header.b=bozijRFb; spf=pass (domain: bootlin.com, ip: 185.246.85.4, mailfrom: antonin.godard@bootlin.com) Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-03.galae.net (Postfix) with ESMTPS id 1B10E4E424D9 for ; Mon, 2 Mar 2026 09:38:03 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id E6ABE5FE89 for ; Mon, 2 Mar 2026 09:38:02 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 42B7C10369537; Mon, 2 Mar 2026 10:38:02 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1772444282; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=jSk5Esan4NaL/h3bW9zOmNZ3BK3V8Lappa876lPiPqA=; b=bozijRFb3YCMN9HOwWQPN+hrcYnS/pmQEvRtvaaXvFPW8bS3Fhq7vc3EWJyDilYJU0GeWa R2l4IZD1Ft1TEhgXZLb+XmGQrbNBcIebus0k1kbgYnl1Gx9jqCsGzWwDQVYq0PylMxkMNO 4ZOjI/ehbup5WPOTVdg1Q1VZf4YLiPRjWQ2zA2UfEeOf7Ltct6zK1c9OTJ+V8QD7dhyNGW MYNB+Ai3OWMu50mZfxMHF8qR7BeNuxv1tW9fuLo7UktnuZFK1YdXIhuB3HKHCi5OCJ3Q6n ucOR0CZYFlv3sf8u/19jP2Q/4BOVJlfk6GMdiqFgRO38mocDg0tQ5EB8qmYs0Q== From: Antonin Godard Date: Mon, 02 Mar 2026 10:37:52 +0100 Subject: [PATCH 5/8] ref-manual/variables.rst: document the SPDX_CONCLUDED_LICENSE variable MIME-Version: 1.0 Message-Id: <20260302-release-notes-6-0-v1-5-9662dee58591@bootlin.com> References: <20260302-release-notes-6-0-v1-0-9662dee58591@bootlin.com> In-Reply-To: <20260302-release-notes-6-0-v1-0-9662dee58591@bootlin.com> To: docs@lists.yoctoproject.org Cc: Thomas Petazzoni , Antonin Godard X-Mailer: b4 0.15-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=1549; i=antonin.godard@bootlin.com; h=from:subject:message-id; bh=L3x60NXLkqYbgw2lKVBbplX2o89uNTfLgRXCS59xJB0=; b=owEBbQKS/ZANAwAKAdGAQUApo6g2AcsmYgBppVp1VR3UijZ/wN5yvpUI9/+fKjo9yuwe2RWA6 SioM8i042yJAjMEAAEKAB0WIQSGSHJRiN1AG7mg0//RgEFAKaOoNgUCaaVadQAKCRDRgEFAKaOo NqH+EAC4oiqtBqbzPGjXkIP7zPyuq5idHEz1D3w9i4eGjzHjXNhf7yL7Ho8ZCECznCs6O+duf8Z aeJhZjeA02o3f2RaC2k0Iq7opu/caWtuLsRoRZR7RusYYyVZRHTeMglDvvf5iNIVpJ2T8CrcXPw 4vondmUemAA8ewg3F6aWh2beHan2w+s9fNZ3g3QJeEjXaBWQ/aSeOS8VxLNakWM6e7gb1lGfUzM r6nZHysLcZRtHJnh0QEZt/w/m3Hyx2yCVyrK3+nMqghFUQT0x/M8nnIFamHMEoHGNMDqa3SNWLX KIbGPw6WJlnjKQHldgSPthQmD7/sX9yZIr8BXv0jY94lbURyZmxeyLON9JJvdu4qHNbqzdp+LAp m1lW/+CnlCGYyQbq5MZKku1m1wxhsYQPx4k462bCobTxPB8yJ7VrapQCETTAy3DCuZ3EPIHX2kw gfItwfbIsUXf5kRjKqO6tvLEiCw40/WhJan0J9kyF9/x/4E2gmcujy9N8m07knPaTSrt6xbxwuU HtZhc5Y8KGGJ8x145xB2HLxnpKAgrxN/Fy/RYHJ0w/A6365o7xLL5tsKjMMxN8PGAFm9B7adBDq /aCVm5v8qIBhyH8x4SB/wF4t4Bc9rNV+WlGq65lfGfTWNia/7yS37uCmGxNfqguAN3YqOIW2dfj s10oXO8zy3JmIbA== X-Developer-Key: i=antonin.godard@bootlin.com; a=openpgp; fpr=8648725188DD401BB9A0D3FFD180414029A3A836 X-Last-TLS-Session-Version: TLSv1.3 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 02 Mar 2026 09:38:13 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/9022 Document the SPDX_CONCLUDED_LICENSE variable, added by commit bb21c6a429a2 ("spdx30_tasks: Add concluded license support with SPDX_CONCLUDED_LICENSE") in OE-Core. Signed-off-by: Antonin Godard --- documentation/ref-manual/variables.rst | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index 579faf7be..f8056b03d 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst @@ -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 `__ to a recipe, From patchwork Mon Mar 2 09:37:53 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonin Godard X-Patchwork-Id: 82247 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 872E5E9B342 for ; Mon, 2 Mar 2026 09:38:13 +0000 (UTC) Received: from smtpout-03.galae.net (smtpout-03.galae.net [185.246.85.4]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.156862.1772444285214085968 for ; Mon, 02 Mar 2026 01:38:05 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=dkim header.b=WEF/sLs+; spf=pass (domain: bootlin.com, ip: 185.246.85.4, mailfrom: antonin.godard@bootlin.com) Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-03.galae.net (Postfix) with ESMTPS id AEB674E424DA for ; Mon, 2 Mar 2026 09:38:03 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 830A25FE89 for ; Mon, 2 Mar 2026 09:38:03 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id C6D1310369408; Mon, 2 Mar 2026 10:38:02 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1772444283; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=hs/UHVDKdizFFUlTTNmh8fpNLlE6zWu5cjc/U+UmsvQ=; b=WEF/sLs+LTNYDmrgrxWe/Na2/AfGxqPwpSvDyyfIMH0crWV/nj+9UV8MTvlhp8nSkvIW16 BUEMixmMQ6QY6TBPJ0UiKhcB1M16LYMESEZtelPUEmRlyWTo7xW0VokF3I+SDkEmR4+0ci tOSe0riE627wmmuZc6RjFgc70s3FTGpxhZ5JhrFPsuUFO7+8H5VR4ieXqUJxxHmK9/J+dM Gt0wim4MHtlvqs0YgA04ThAlR+Bwpyx52cKWGnbyvv6cuNWS+GtFg/dLNRdwI9MFnKwwPG QM7UyfWCYlbaRzPpYkIjnsmmH43aciDRxjuQQEwcVNHHLzs3WmUHD69q17+sKg== From: Antonin Godard Date: Mon, 02 Mar 2026 10:37:53 +0100 Subject: [PATCH 6/8] migration-guides: update 6.0 (Wrynose) release notes MIME-Version: 1.0 Message-Id: <20260302-release-notes-6-0-v1-6-9662dee58591@bootlin.com> References: <20260302-release-notes-6-0-v1-0-9662dee58591@bootlin.com> In-Reply-To: <20260302-release-notes-6-0-v1-0-9662dee58591@bootlin.com> To: docs@lists.yoctoproject.org Cc: Thomas Petazzoni , Antonin Godard X-Mailer: b4 0.15-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=30826; i=antonin.godard@bootlin.com; h=from:subject:message-id; bh=Ujq+cPhncjkGNZqVPjdWdQ0Xmn9Hi/PDhyA1cks5ZHw=; b=owEBbQKS/ZANAwAKAdGAQUApo6g2AcsmYgBppVp27RIpm3BAMeY3AGDq80Vj3OzB1Xc9isCCm hE/GJt/vrSJAjMEAAEKAB0WIQSGSHJRiN1AG7mg0//RgEFAKaOoNgUCaaVadgAKCRDRgEFAKaOo NssED/9Wt0O8t9jwZkcHf6h9MtrbRB1TSpbnqnzHbDxv/JS1iBFEWvexIoRqaajTKMe2t/F9lEK fMNizDUiESn1GuYLd6gkiQRxSjw/YmTFpO77FMoAr/nE31Oo7FCO0LK4wI8thSH3QvqFbFcPJqX sgqnFECobOXNQFzNTO4NCwWeU1TOmuj176ohNzo0ewO2MNiH7J3dSBdSDLtCLKo1OUOQeDylzSR A7VgNMINBs2fB+0Yw08PmxNEKBWPO2mBO0EZ122AxDEzjassrx5NkFren+eSLdgljd4OPF7t5xq o8Zf5DYPvcZKosiXjDFNuY7HMKinGoIjeXM/dVQ55EhAnwqnZyPbRrraZxClNbygKoVsQBEvprn 30fUwbf881sdzalfyr/bGQKe9eOZ4hRtJjx23h9kCM6Kc0My0rL8SLjI3E4C4kGd6OWX9g4Y0mR 3s18cJFvTTpw5nvO1nbIB/io75TQiH4KuRJL50oXo3lBI/ay5+T+gXQ3DkKnXjCEYzbUO3wCwoZ sLnAySWBpvzBHIASOB2eOcfrThYR2byl8JB4PUk7JPNoQAHW0FnPjq4zAvkS94Ge+mxhGvIufCg cNtjoN/xKJTw1u1Onz8XWCsWvN+/CsR/xDm+wWBuuKdiDYt6UEjJ9zvBkto30Efb1prCtrMlNpj I9QW0DsaF/mxQPg== X-Developer-Key: i=antonin.godard@bootlin.com; a=openpgp; fpr=8648725188DD401BB9A0D3FFD180414029A3A836 X-Last-TLS-Session-Version: TLSv1.3 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 02 Mar 2026 09:38:13 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/9023 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 Signed-off-by: Antonin Godard --- documentation/migration-guides/migration-6.0.rst | 193 +++++++++- .../migration-guides/release-notes-6.0.rst | 414 ++++++++++++++++++++- 2 files changed, 588 insertions(+), 19 deletions(-) diff --git a/documentation/migration-guides/migration-6.0.rst b/documentation/migration-guides/migration-6.0.rst index b18206b21..bdd43096e 100644 --- a/documentation/migration-guides/migration-6.0.rst +++ b/documentation/migration-guides/migration-6.0.rst @@ -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 `. +BitBake fetcher removals +------------------------ + +The following :term:`BitBake` :ref:`fetchers ` have been +disabled or removed: + +- The ``npm`` and ``npmsw`` (:wikipedia:`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 ` fetcher was dropped + (:bitbake_rev:`8e057d54f09c`). + +- Support for the `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 +` 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 ` as the default init +manager. + +This does not change the default init manager of the :term:`Poky` distribution, +which remains :wikipedia:`SysVinit `. + +Reverting to :wikipedia:`SysVinit ` 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 +`: + +- ``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 `. + +- ``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 ` with the +:ref:`export ` 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 ` compatibility in +:wikipedia:`Systemd ` was dropped. + +This is due to `recent announcements +`__ in `Systemd` which +is planning to drop support for the `SysVinit` compatibility. + +This means that the ``systemd`` and ``sysvinit`` :term:`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 ` support in :wikipedia:`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`) diff --git a/documentation/migration-guides/release-notes-6.0.rst b/documentation/migration-guides/release-notes-6.0.rst index af72d1e93..0370903d7 100644 --- a/documentation/migration-guides/release-notes-6.0.rst +++ b/documentation/migration-guides/release-notes-6.0.rst @@ -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` + 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 - 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``. + - 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 + 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 + 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. + - 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`) + + - The :term:`FIT_CONF_MAPPINGS` variable allows mapping extra configurations + to existing ones or rename an existing configuration in FIT images + (:oecore_rev:`e30f809a50c2`) + + - The :term:`UBOOT_CONFIG_FRAGMENTS` and :term:`UBOOT_FRAGMENTS` allow + supplying additional configuration fragments to the existing U-boot + 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 + 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 + `, needed by the ``ukify`` tool of + systemd v258 (:oecore_rev:`88a27133c184`) + + - ``python3-uv-build``: This recipe add the ``uv`` Python build backend, + 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 `__ + (: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 `__ 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 + ` + 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 + ` + 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 + ` + 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 + /`` (: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", + "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`) + + - 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 + 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`) + + - 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`) + +- :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. + +- :ref:`ref-classes-cve-check`-related changes: + + - ``cve-update-nvd2-native``: Use maximum CVSS score when extracting it from + multiple sources (:oecore_rev:`4f6192f3165d`) - 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`` + - 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`) - 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 + (: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 + 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`) + + - ``mesa``: Add support for the ``virtio`` ``gfxstream``, ``hasvk`` Vulkan drivers + (:oecore_rev:`8e7ffdceded3`, :oecore_rev:`3b56f14b2019`) + + - ``mesa``: Drop :wikipedia:`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 ` (:oecore_rev:`267b651e875d`) + + - ``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 ` support + by default (:oecore_rev:`d16c66b4efad`) + - Build with :wikipedia:`802.11be ` 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`) + + - ``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 `, allowing existing to explicitly depend on + ``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 + :term:`COPY_LIC_DIRS` and/or :term:`COPY_LIC_MANIFEST`, for both host and + target sysroots (:oecore_rev:`f757ae4dadab`) + + - ``openssl``: Disable TLS 1.0/1.1 by default (:oecore_rev:`d5501e772088`) + + - ``python3-cryptography``: Disable ``legacy-openssl`` feature by default + (:oecore_rev:`1acd1998bbaf`) + + - ``openssl``: Add support for config snippet includes. This can be done by + installing extra configuration files in ``${sysconfdir}/ssl/openssl.cnf.d/`` + (:oecore_rev:`34bafcf3d8cd`) + + - ``busybox``: Enable SELinux support if :term:`DISTRO_FEATURES` contains + ``selinux`` (:oecore_rev:`c544f12073ea`) + + - ``coreutils``: ``kill`` and ``uptime`` are no longer provided by the + recipe (:oecore_rev:`cedeb958dfa8`) + Known Issues in |yocto-ver| --------------------------- From patchwork Mon Mar 2 09:37:54 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonin Godard X-Patchwork-Id: 82243 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7F4FBFEFB6B for ; Mon, 2 Mar 2026 09:38:13 +0000 (UTC) Received: from smtpout-03.galae.net (smtpout-03.galae.net [185.246.85.4]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.156863.1772444285837630228 for ; Mon, 02 Mar 2026 01:38:06 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=dkim header.b=nW3215CO; spf=pass (domain: bootlin.com, ip: 185.246.85.4, mailfrom: antonin.godard@bootlin.com) Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-03.galae.net (Postfix) with ESMTPS id 4F4894E424DB for ; Mon, 2 Mar 2026 09:38:04 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 208C35FE89 for ; Mon, 2 Mar 2026 09:38:04 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 64C6910369502; Mon, 2 Mar 2026 10:38:03 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1772444283; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=P7GiXGTnrGJIBYMzbXmqdLIALRB9e/XI9VGpBPE+qZs=; b=nW3215COm57mhOOTfTTsGzAvk9zzVcmLTcSL2xwVGjEm3ZPOzHv1Gc3sdaWcDwvgPH/TXC eRL/80+rtxPA0b/i+e19Aha5Oza5QiKUFxvrlvnak501F36kXSlvxV3DOci77Xa1ef/W4u QqWc5WG7ed1e3n9xtcUIyjzobw9PZ2Dr2RWBEuQFOq+Qo2p3AHVAZ/MPkOkS9DpP00+pW4 J5dakIr1Ou7nucMQFHH1sJfy/XQfIHFx98iEgLoj4L3oenNX4jHVMXQAN7bLIqhlRToiZ2 c4vqp7ePo2KNP3fgeEk3hFgjdJJ1U6rr09PRxQiPOxWifbaAdFTuQOVzFd2Amw== From: Antonin Godard Date: Mon, 02 Mar 2026 10:37:54 +0100 Subject: [PATCH 7/8] docs-wide: add warning on disabled NPM fetcher MIME-Version: 1.0 Message-Id: <20260302-release-notes-6-0-v1-7-9662dee58591@bootlin.com> References: <20260302-release-notes-6-0-v1-0-9662dee58591@bootlin.com> In-Reply-To: <20260302-release-notes-6-0-v1-0-9662dee58591@bootlin.com> To: docs@lists.yoctoproject.org Cc: Thomas Petazzoni , Antonin Godard X-Mailer: b4 0.15-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=3000; i=antonin.godard@bootlin.com; h=from:subject:message-id; bh=T2ajLSey6AXdaQt0tM0ewG4BU8NmP5qqZH63Igm3yqk=; b=owEBbQKS/ZANAwAKAdGAQUApo6g2AcsmYgBppVp2eBu4SRoDobJL9PFGfGWAoLl2n989DvhIx xhSvP0ipLqJAjMEAAEKAB0WIQSGSHJRiN1AG7mg0//RgEFAKaOoNgUCaaVadgAKCRDRgEFAKaOo Njm1D/9QmmJW53XCMgks/h+j3y2Tvlf5z7XAcYyuU/UHUbt+bqdBzWSJ4n/SO9zc6PP3yrchrKo fnynBh+zu9kmBWse1gGkbvcoVRQNIUNt1PR1FmqLu1KyY9d5eDqo9PQ2rNq5sbFl/yy57nSGrX/ R/AgmghRxG1w45qvzACmar1ngM1a3NIaOTsNbQmfG4VlmBVYEqHZuYGOJV0d7Av7zPLYLMeTU0y Ey4qkwHV7PokypDzVVCc8TYwCHYyE+CBqW8oscr0jlhLghAb5uUSjfXEPg3mGtj/bSNOtHl4doF FBDpsM6D9jLdmpxIginBc+H2wo9CuwQAGP3YSoUSjkBEWVj3UtN5XoZey7p+cy9TN4iraMBVjJo ZdDOr9b6HuJohAf6RXZUHFywRUztl2gGA/1Rj8KPqWI858lrQa3IM/LpmK9K+YjXXz6vRdB/iEE R/pF78HNCqm54+9zUZd7GErEcpqUl5rv0GM7v0WfkxJjul37ueKApn2GjjQBPqM1MxyNqLliBhP vunZPLUO+mTItR9sfp1Bxi4vXTf4tD+lpB/lUaqcruvs7gf7vXhdXWI17/MB2o0GdHPitHRBUGA QDWDiZACTwOAH9kd1cftfE2MEKr6ndXqbWDrQlqos+u5pa5WneendogW/mzURzEGLc4r5wHJcKH uqHLlAr/BgEIFnw== X-Developer-Key: i=antonin.godard@bootlin.com; a=openpgp; fpr=8648725188DD401BB9A0D3FFD180414029A3A836 X-Last-TLS-Session-Version: TLSv1.3 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 02 Mar 2026 09:38:13 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/9024 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. Signed-off-by: Antonin Godard --- 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(-) diff --git a/documentation/dev-manual/devtool.rst b/documentation/dev-manual/devtool.rst index c82dc9c33..08d4ffa9d 100644 --- a/documentation/dev-manual/devtool.rst +++ b/documentation/dev-manual/devtool.rst @@ -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. diff --git a/documentation/dev-manual/packages.rst b/documentation/dev-manual/packages.rst index 4c94ffd48..b3c9408b0 100644 --- a/documentation/dev-manual/packages.rst +++ b/documentation/dev-manual/packages.rst @@ -18,7 +18,7 @@ This section describes a few tasks that involve packages: - :ref:`Setting up and running package test (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 ` is a package manager for the JavaScript programming language. The Yocto Project supports the NPM :ref:`fetcher `. diff --git a/documentation/ref-manual/classes.rst b/documentation/ref-manual/classes.rst index dc131be9f..053e5dd11 100644 --- a/documentation/ref-manual/classes.rst +++ b/documentation/ref-manual/classes.rst @@ -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) `. From patchwork Mon Mar 2 09:37:55 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonin Godard X-Patchwork-Id: 82242 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6C883FD006E for ; Mon, 2 Mar 2026 09:38:13 +0000 (UTC) Received: from smtpout-03.galae.net (smtpout-03.galae.net [185.246.85.4]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.156864.1772444286248627107 for ; Mon, 02 Mar 2026 01:38:06 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=dkim header.b=raekYc+Q; spf=pass (domain: bootlin.com, ip: 185.246.85.4, mailfrom: antonin.godard@bootlin.com) Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-03.galae.net (Postfix) with ESMTPS id BB6CA4E424DD for ; Mon, 2 Mar 2026 09:38:04 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 92AEE5FE89 for ; Mon, 2 Mar 2026 09:38:04 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id F3A9110369511; Mon, 2 Mar 2026 10:38:03 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1772444284; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=Uex4qqngFS0syOed38abNL1EGU2XMki0g2T5BWH+llU=; b=raekYc+QEYz4LG+cIeB7WeP+QTU+ioH4IiGd0rflg4SYoZYUmSuIW+0QgkFGx8WVARbwbD uoEoBh3QRxUJtZBJ6kFMUkdpvpjRO/77YFQWBIhappan3DARfibGuMA4J0m8aVbpz/QcCw 1MMcsjpe8v8G6r64iJwQv/D0K5VuLcLPehawqbJmDNA+Mwux6V5jzrW3Y4kaYQpmFXBO3R RgI8c3CxlOc5EFj59JvI+jZanIOeiOGQqfCD8R9kW4X4iXjtr+8nVlCXv3PdoiLnkxjbP7 W7OcYoBM4IqhF24LySOH6O84j9z1R11JDWDoutcBHdEbAMXIcAWaxb4D5J9Ezw== From: Antonin Godard Date: Mon, 02 Mar 2026 10:37:55 +0100 Subject: [PATCH 8/8] ref-manual/faq.rst: remove the CVS proxy note MIME-Version: 1.0 Message-Id: <20260302-release-notes-6-0-v1-8-9662dee58591@bootlin.com> References: <20260302-release-notes-6-0-v1-0-9662dee58591@bootlin.com> In-Reply-To: <20260302-release-notes-6-0-v1-0-9662dee58591@bootlin.com> To: docs@lists.yoctoproject.org Cc: Thomas Petazzoni , Antonin Godard X-Mailer: b4 0.15-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=795; i=antonin.godard@bootlin.com; h=from:subject:message-id; bh=xc1AiHzjDjoN9WKVCbmYUMZWMLPGR1X14g/nrZLS73o=; b=owEBbQKS/ZANAwAKAdGAQUApo6g2AcsmYgBppVp2xEPTmXuTf6t7dOVfW4TaPdpYr+6/trB5Y dQ+LiHaKLCJAjMEAAEKAB0WIQSGSHJRiN1AG7mg0//RgEFAKaOoNgUCaaVadgAKCRDRgEFAKaOo NhAdD/9FRQMJyepZKhPQD4Dtwx0B1RQhX6oNVaO3ky4coBWqCJERag68rU+hIj22UYjzNxoq0+h Apqc2SlQ0hrDpWa66sXoGXC3gY35rq82Z72AHaGj+yYkr8BCHN9ciiOgSjkolQVR9uOaJn+bz8V w286M4BIJWvpp96sJdnwABFLN0RCQx+nOHSjZDk5EpgGrSRngWiV5GPwvtRS/Kfngk5uP9iRxxA FI+YQVT7mPVzpSd/RTbpcMLuS21VqWf8yhWTcnQzw8jZwfHsES1D3sL6aTAGldjq/sH+iKu1V+l dEqwQ+ONGIZ6OKNvnJbhZVVz77+IhApubyW1lIoW+m0FK4VuHrSyl/1hb8wJeGFbQln0ilm9qGb cPQDdrEMf0Y4Te/CARn4I4pmXG/so+maFuGR+nerALQC4DdLdzGrKruUAaCDj9eKZnibHoN5slj UIPJ4bRXEgexeuM5RQV+kniIc4DsX5Zs5NyY1WbozadAsYuctZC/vR+HkmE4jthnxOZLVZo2Ae+ u+NXCjOBK7NUgiSYN1G7zw3vshrS76M5HeFr4PuEKs0y/u9qlbhBogWWrm5czcGBMZHPbPUVmef zvmLDDzk/bicjjUnollruyF/iWtTaN/Iyr2mjD9LfBa6UE7QPfWcOKKsTMJDyrtd/aQ3MTy94bf mPYuuj1pEk1Jddg== X-Developer-Key: i=antonin.godard@bootlin.com; a=openpgp; fpr=8648725188DD401BB9A0D3FFD180414029A3A836 X-Last-TLS-Session-Version: TLSv1.3 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 02 Mar 2026 09:38:13 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/9025 Support for the CVS fetcher was removed with 5427500e4f23 ("fetch: Drop CVS fetcher module") in BitBake. Remove the CVS proxy mention. Signed-off-by: Antonin Godard --- documentation/ref-manual/faq.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documentation/ref-manual/faq.rst b/documentation/ref-manual/faq.rst index 152fbf7b2..248cf3d2d 100644 --- a/documentation/ref-manual/faq.rst +++ b/documentation/ref-manual/faq.rst @@ -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::