From patchwork Fri Mar 20 10:46:19 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonin Godard X-Patchwork-Id: 83961 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 C981F108B8F9 for ; Fri, 20 Mar 2026 10:46:37 +0000 (UTC) Received: from smtpout-04.galae.net (smtpout-04.galae.net [185.171.202.116]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.9791.1774003590355412464 for ; Fri, 20 Mar 2026 03:46:30 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=dkim header.b=EoM9vlVT; spf=pass (domain: bootlin.com, ip: 185.171.202.116, mailfrom: antonin.godard@bootlin.com) Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-04.galae.net (Postfix) with ESMTPS id AD431C415B5 for ; Fri, 20 Mar 2026 10:46:53 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 51352600E0 for ; Fri, 20 Mar 2026 10:46:28 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 98F5710450B98; Fri, 20 Mar 2026 11:46:27 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1774003587; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=t5a6f9ojVkCrrz/82+mQLoYeTi/gksIkhVjHkV8xpFc=; b=EoM9vlVTPDFr4KixxvyRDYOrmylMcYlyJZ0HQiYf2YcYVob2U0VF/aFGDLmDg2sjkTPkYC jgI54n++pbifgyLC6Z4ZkcpvvIphYk+9xRk5g9PkF3miU0E7HO7u6gEBYokjQ0Vtw3bLIK EfiHCfS1JIS/NkNPcNm9Cgkz4ocpApoBCjSwW5U1DYbZsXAXyVsIQDIeK6Mptr7cxKF+5h 9DzCqNsMQK471RshU+s0OlZ6MksujECam9c4aZREJEifAMLkPCKEtTxq2dbjOv71/E77wR 9cxDyXEMlbSjPXJBk0g7raBdezmSx+TlinphiCyEiHVpYywlSkwOhnUcFW+3RQ== From: Antonin Godard Date: Fri, 20 Mar 2026 11:46:19 +0100 Subject: [PATCH v2 1/8] conf.py: define new {oecore,bitbake,meta_yocto}_rev roles MIME-Version: 1.0 Message-Id: <20260320-release-notes-6-0-v2-1-1bdb1eb142ae@bootlin.com> References: <20260320-release-notes-6-0-v2-0-1bdb1eb142ae@bootlin.com> In-Reply-To: <20260320-release-notes-6-0-v2-0-1bdb1eb142ae@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=2331; i=antonin.godard@bootlin.com; h=from:subject:message-id; bh=lav31AhcMq1mKaDGqlScRaB+YgdtUSs4i2I/SYUEDj4=; b=owEBbAKT/ZANAwAKAdGAQUApo6g2AcsmYgBpvSWBnoZ/1ArH8gTZAkeLLA3IScEYB1MWQDaJQ 7NGEBKpfb+JAjIEAAEKAB0WIQSGSHJRiN1AG7mg0//RgEFAKaOoNgUCab0lgQAKCRDRgEFAKaOo NrWvD/jia5IeDRLrDgTzwbZcLJmmwRTP7jjkCMIf0O5SS+y1R+964cviAWOqlgyq8mmlWWN7n+W M63R6E0va1ZAovsSC7gyw9xtyn2PrVbPkKe+BJKcGPIDvlenYHwiXHLWgcvseB8h4wbZhhW9vsT WiTaW5nFGm6VVr0Prhyi75Vl/9EYqJ5fgz/QiyKnuIMV4XRv8KkruIYywjaMn4y8d66Yihrbj/6 Vp07PPWHPaZl6VlNO+8WxldSXuyhPahg5rVDCAFAb+YOlEdeXC004PPMfthVBUPKW6IUp2ZKPm2 aBu9TObC50GplPFoa2hGWHM4OgYeiI7F8vUNInkR/wLFmyV+nA0qSYMxKGqc0qzpfeGF87viTqI WOU8GqEoU0gCVzkW8EXa6K7T6WbU81ubSeZ6rJqoTBjFo5BKHr6FUjEsl0rNB5eV2vsp36DLhT/ hrBWKjX/VM6gYCUtw3hraKK3fN4IjdJJaxiNUuZNCfG+GDHWFUcBd1OutOtjbOBvodgZPUFEdWX F5NgYxmO8Mzei/7v6yq4LjjMme973qtEjVjAruBvYKwHfdk7x+5vWHzUQhnP9ecE4nsCuM0hHEq vd9aSQtZi0B3KWzowZe6gZa16KWV/ASfES/Ad0b+AmH8Jd1VyDs82nOIs6QuBoM4k1Wl93XfwWu EmQrjiUG0PM6F 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 ; Fri, 20 Mar 2026 10:46:37 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/9102 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..2b9f6e568 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_server = "https://git.openembedded.org" +oecore_git = f"{oe_git_server}/openembedded-core" +bitbake_git = f"{oe_git_server}/bitbake" +yocto_git_server = "https://git.yoctoproject.org" +meta_yocto = f"{yocto_git_server}/meta-yocto" + # external links and substitutions extlinks = { - 'bitbake_git': ('https://git.openembedded.org/bitbake%s', None), + 'bitbake_git': (f'{bitbake_git}%s', None), + 'bitbake_rev': (f'{bitbake_git}/commit/?id=%s', '%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_server}%s', None), + 'meta_yocto_rev': (f'{meta_yocto}/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_server}%s', None), + 'oecore_rev': (f'{oecore_git}/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 Fri Mar 20 10:46:20 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonin Godard X-Patchwork-Id: 83963 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 E9C34108B8FB for ; Fri, 20 Mar 2026 10:46:38 +0000 (UTC) Received: from smtpout-04.galae.net (smtpout-04.galae.net [185.171.202.116]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.9823.1774003590521050179 for ; Fri, 20 Mar 2026 03:46:31 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=dkim header.b=xqMDJK0Q; spf=pass (domain: bootlin.com, ip: 185.171.202.116, mailfrom: antonin.godard@bootlin.com) Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-04.galae.net (Postfix) with ESMTPS id 483FBC415B6 for ; Fri, 20 Mar 2026 10:46:54 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id DFD38600E0 for ; Fri, 20 Mar 2026 10:46:28 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 4E27310450B99; Fri, 20 Mar 2026 11:46:28 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1774003588; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=JN5wi8lfd4UMyRGQd0AaLr59NIRv3amy4Rw7lOBFCaA=; b=xqMDJK0Qej7TYMP4mG2pv61C7CXpUAE/ZvUFMv23xKCIY12AM4Lj4xDJpMyy0YI8VdAUvJ 6vzltr//gG27VmEVl4Qo1gl2LoX1Fu8jw4h2yztEOUwuZ02yZ1jtUH8/30TCBFPwvhCi5E ALOTK4l+KfxuCKHBLTOljxGRf/2jmoh/uGrqBN2lJcjvOoEXpgNAwTyVr8vyjN8CdGhUUd YhcU7YHTEuG7xJ4B2OaXNFyNtYR2NL8dfRWh7zNyzxZC1TDCvLyfIO/inBKLPRGlv5Jpw/ Q/WjJbi9eq9al5yYZt0uvs0O4M78x6lmltHJJMmFk1zlrG5OB18r0uUVMeguBw== From: Antonin Godard Date: Fri, 20 Mar 2026 11:46:20 +0100 Subject: [PATCH v2 2/8] ref-manual/variables.rst: document qemuboot variables MIME-Version: 1.0 Message-Id: <20260320-release-notes-6-0-v2-2-1bdb1eb142ae@bootlin.com> References: <20260320-release-notes-6-0-v2-0-1bdb1eb142ae@bootlin.com> In-Reply-To: <20260320-release-notes-6-0-v2-0-1bdb1eb142ae@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=XPsuQ0KoNGzF2qNj1ddbHa1ktUAe4oFylRCKkBS7NGY=; b=owEBbQKS/ZANAwAKAdGAQUApo6g2AcsmYgBpvSWB1sL4b0BPx3CAilweCqwmVEF4PS8rhAiVD WjJWfQ8J/+JAjMEAAEKAB0WIQSGSHJRiN1AG7mg0//RgEFAKaOoNgUCab0lgQAKCRDRgEFAKaOo NibiEAC1x+Y7q4zua10+ZQEyuFcSGBMpz2UrPougdC7crKWmwx1/XCEMObgMQDPStYqGSrhHiiV lM+0Ao4PgBAdiBeJMo64F3x53VphfVTz8QpX0mGf9lmBmE5OnZIOSt8pPl8PuyUbfOUSzSAXGbR cJiaPHYTNuIgiKtRZcWnWLw1KOtl9Q65e9m8JstF79rJzyuExRO9s89GPiukRouo6h49FRe5u/w RY3jWL8xb3ecNjpxzj2xUPgRwfDX9dOYksTEKW8iyaTFmJotgAs9FDhipukZXkl2u7uitZ8lYF1 6keBroJVuAMffYxe3BDe3LJH+z6rgSAGN0RcJs1kqfoGBZRLjGEX0LejfcyEe3FiY0rZ1CT9kXO hw/HhxNvvrY7bN+eOOpybCMNSHG4NlHv9Ue7KXBiz68Vs8Mi3bLi6/RF1ZN+qbIvif1Hmzp1ByO Vo87cC/nfom37RWWr42NgVLYviICruRVBsj2Syrf3OhgKJfN32mIvMYR1ln0SOcwYULjj06xw4J nc0YPFOKfwouwxGmdMo36M+hpUJRCoD264wO+0IZxZEP2pK7tms1OFd+VLOGGjv3hoO/RQQ6gPZ tfKyVtx6zxQDZQyIKbi5g4y4OFy2gHyLsr0pIQBMfcFV4tp/jGrdfyrAO8rMMYW7RZH/oqvQ12s lBDc38Prs30tIRA== 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 ; Fri, 20 Mar 2026 10:46:38 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/9103 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 9e0c5b083..e24c4bbf8 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst @@ -7850,6 +7850,153 @@ system and gives an overview of their function and contents. QA_EMPTY_DIRS_RECOMMENDATION:/dev = "but all devices must be created at runtime" + :term:`QB_CMDLINE_IP_SLIRP` + + If :term:`QB_NETWORK_DEVICE` adds more than one network interface to QEMU, + usually the ``ip=`` Linux kernel command line argument needs to be changed + accordingly. The :term:`QB_CMDLINE_IP_SLIRP` variable allows controlling + this value. See the Linux kernel documentation for more details: + https://www.kernel.org/doc/Documentation/filesystems/nfs/nfsroot.txt. + + :term:`QB_CMDLINE_IP_TAP` + + This variable is similar to the :term:`QB_CMDLINE_IP_SLIRP` variable. + + Use as follows:: + + QB_CMDLINE_IP_TAP = "ip=192.168.7.@CLIENT@::192.168.7.@GATEWAY@:255.255.255.0::eth0" + + Since the tap interface requires static IP configuration, ``runqemu`` + replaces the ``@CLIENT@`` and ``@GATEWAY@`` place holders by the IP and + the gateway address of the QEMU guest. + + :term:`QB_DEFAULT_FSTYPE` + + The :term:`QB_DEFAULT_FSTYPE` variable controls the default filesystem + type to boot. It is represented as the file extension of one of the root + filesystem image extension found in :term:`DEPLOY_DIR_IMAGE`. For example: + ``ext4.zst``. + + :term:`QB_DEFAULT_KERNEL` + + When using ``runqemu``, the :term:`QB_DEFAULT_KERNEL` variable controls + the default Linux kernel image to boot, found in :term:`DEPLOY_DIR_IMAGE`. For + example: ``bzImage``. + + :term:`QB_DRIVE_TYPE` + + When using ``runqemu``, the :term:`QB_DRIVE_TYPE` variable specifies the + type of drive to emulate when starting the emulated machine. + Valid values are: + + - ``/dev/hd``: emulates an IDE drive. + - ``/dev/mmcblk``: emulates an SD Card. + - ``/dev/sd``: emulates an SCSI drive. + - ``/dev/vd``: emulates a VirtIO drive. + - ``/dev/vdb``: emulates a block VirtIO drive. + + :term:`QB_GRAPHICS` + + When using ``runqemu``, the :term:`QB_GRAPHICS` variable controls the QEMU + video card type to emulate. For example: ``-vga std``. + + This value is appended to the argument list when running ``qemu``. + + :term:`QB_KERNEL_CMDLINE_APPEND` + + The :term:`QB_KERNEL_CMDLINE_APPEND` variable controls the options passed + to the Linux kernel's ``-append`` QEMU options, which controls the Linux kernel + command-line. + + For example:: + + QB_KERNEL_CMDLINE_APPEND = "console=ttyS0" + + :term:`QB_MEM` + + The :term:`QB_MEM` variable controls the amount of memory allocated to the + emulated machine. Specify as follows:: + + QB_MEM = "-m 512" + + :term:`QB_NETWORK_DEVICE` + + When using ``runqemu``, the :term:`QB_NETWORK_DEVICE` variable controls + the network device instantiated by QEMU. This value needs to be compatible + with the :term:`QB_TAP_OPT` variable. + + Example:: + + QB_NETWORK_DEVICE = "-device virtio-net-pci,netdev=net0,mac=@MAC@" + + ``runqemu`` replaces ``@MAC@`` with a predefined mac address. + + :term:`QB_NFSROOTFS_EXTRA_OPT` + + When using ``runqemu``, the :term:`QB_NFSROOTFS_EXTRA_OPT` variable + controls extra options to be appended to the NFS rootfs options in the + Linux kernel command-line. + + For example:: + + QB_NFSROOTFS_EXTRA_OPT = "wsize=4096,rsize=4096" + + :term:`QB_OPT_APPEND` + + When using ``runqemu``, the :term:`QB_OPT_APPEND` variable controls + general options to append to QEMU when starting. + + :term:`QB_RNG` + + When using ``runqemu``, the :term:`QB_RNG` variable controls + pass-through for host random number generator, it can speedup boot + in system mode, where system is experiencing entropy starvation. + + For example:: + + QB_RNG = "-object rng-random,filename=/dev/urandom,id=rng0 -device virtio-rng-pci,rng=rng0" + + :term:`QB_ROOTFS_EXTRA_OPT` + + When using ``runqemu``, the :term:`QB_ROOTFS_EXTRA_OPT` variable controls + extra options to be appended to the rootfs device options. + + :term:`QB_SERIAL_OPT` + + When using ``runqemu``, the :term:`QB_SERIAL_OPT` variable controls the + serial port option. + + For example:: + + QB_SERIAL_OPT = "-serial mon:stdio" + + :term:`QB_SMP` + + When using ``runqemu``, the :term:`QB_SMP` variable controls + amount of CPU cores made availalble inside the QEMU guest, each mapped to + a thread on the host. + + For example:: + + QB_SMP = "-smp 8". + + :term:`QB_TAP_NAMESERVER` + + When using ``runqemu``, the :term:`QB_TAP_NAMESERVER` variable controls + the default :wikipedia:`name server ` 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 Fri Mar 20 10:46:21 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonin Godard X-Patchwork-Id: 83962 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 F255F108B8FA for ; Fri, 20 Mar 2026 10:46:38 +0000 (UTC) Received: from smtpout-04.galae.net (smtpout-04.galae.net [185.171.202.116]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.9792.1774003591259413655 for ; Fri, 20 Mar 2026 03:46:31 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=dkim header.b=0gaMY7OL; spf=pass (domain: bootlin.com, ip: 185.171.202.116, mailfrom: antonin.godard@bootlin.com) Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-04.galae.net (Postfix) with ESMTPS id 0377AC40405 for ; Fri, 20 Mar 2026 10:46:55 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 9B66A600E0; Fri, 20 Mar 2026 10:46:29 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id CF85C10450B9A; Fri, 20 Mar 2026 11:46:28 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1774003589; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=jglCvn/ToogYqBP0PUbipgu/rNXsrAu5PyvOdLUEAxE=; b=0gaMY7OLvgebsHRxcytRu8DFu6yWvpuHrC86DO5CVj+fZSVGVeQJjM5R2vxaY84JSbf/OJ oGDa5AS029Frd61xEHGxqPqvOaqDQT9zorH3X+mmZRhgLpB5HFkahYqXn7YV+qXWhfNo2T VnKDL1ZOB3h1e2Gxz1aXMbD6Jt7H7OixZH/JifBVOUPLyVWJREnRBpg7jCgE4DDN8Bhqn3 T60Tzdbwdf6SWerQuOGnV5xGKZXr9Vj3sQ5+CentHj0RleEFuFA9MkTRrs34S3Jsrfi5eS UeqtO5lq60IY9uck/GECED5SrYOClurE/4SDJ4VSwn1y9LEmMHh1C8H6xu9jJg== From: Antonin Godard Date: Fri, 20 Mar 2026 11:46:21 +0100 Subject: [PATCH v2 3/8] ref-manual/variables.rst: SPDX_PACKAGE_URL: add missing parenthesis MIME-Version: 1.0 Message-Id: <20260320-release-notes-6-0-v2-3-1bdb1eb142ae@bootlin.com> References: <20260320-release-notes-6-0-v2-0-1bdb1eb142ae@bootlin.com> In-Reply-To: <20260320-release-notes-6-0-v2-0-1bdb1eb142ae@bootlin.com> To: docs@lists.yoctoproject.org Cc: Thomas Petazzoni , Antonin Godard , Quentin Schulz X-Mailer: b4 0.15-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=992; i=antonin.godard@bootlin.com; h=from:subject:message-id; bh=FsfPs/CgoW2EE62+PXT/5Iv9wImlzuKPk8b8LcevD38=; b=owEBbQKS/ZANAwAKAdGAQUApo6g2AcsmYgBpvSWBUYkRqFbBCD4ZpKdo2SWJLLgEysUgdUmOO C2c9UshzdaJAjMEAAEKAB0WIQSGSHJRiN1AG7mg0//RgEFAKaOoNgUCab0lgQAKCRDRgEFAKaOo Ngu3D/9fYi+tZ62CJzE0XOHnzg9BvpxZQhs6RhS9CL5kMlxFrsgQYwlcaMSM1zPIvTW52Ui9WzF 4RNnYOLNAHOIQedlqO8GuKvx7Khe8XWU8IzNzR4rgHF4UoXhNNTDZhDCUt4sIwDe1AItsilezmd +V9bTwhTxZveV7pAXHMwwYZOn0nHD61tCFF3BaIaOuPM8NRAhIiHNoqSeqrRhxefSJUSubpWcFx xo1P5FloiuvF1+O+5GxVpzo2TYe27MrzqhdZizNB19N8AVit8znHmjTc/pFkNrAq+XMkIr02nKN ZlQgjBrsRJe9WTVbpQRcBHRd66kqA7XO9yaPIQULR7b+Yn4LclMU9EW5TYPHK6xv/bCSqN6Ka9Z LCG2ES0Ujcf60SpFtm+VslTRawgWkY8ycCHmxByC8TL8KCATYaE0Y9KghauhXNmWI4QHFUePZ1T Ty+SvzEcqCw1kzqGtuetTtUaEWjcdnvasj28daJxnJj8YmcCcTybpL7Dr1MbHDslMo+If8NPL8q rKi3NlyUCcM8LzdBi5+M+KlGhSpvBMkshizEVz8xzQtuN9EsXQdvd9cYy+FVa0PKI5pMZrBP1js nuF9zOa6it/eWODFd7cnU6p+RAbFS2tlXLYqG/VWrgXbAck3Y9amVufoU3eLnHyY73PQfdEM+TV Jmbuqjq7LUZnKYQ== 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 ; Fri, 20 Mar 2026 10:46:38 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/9104 Fixes: 108549dae76a ("ref-manual/variables.rst: document SPDX_PACKAGE_URL") Reviewed-by: Quentin Schulz 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 e24c4bbf8..45542d715 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst @@ -9338,7 +9338,7 @@ system and gives an overview of their function and contents. :term:`SPDX_PACKAGE_URL` Provides a place for the SPDX data creator to record the package URL - string (``software_packageUrl``, in accordance with the Package URL + string (``software_packageUrl``), in accordance with the Package URL specification) for a software Package. The default value of this variable is an empty string. From patchwork Fri Mar 20 10:46:22 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonin Godard X-Patchwork-Id: 83964 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 0A145108B8FF for ; Fri, 20 Mar 2026 10:46:39 +0000 (UTC) Received: from smtpout-04.galae.net (smtpout-04.galae.net [185.171.202.116]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.9824.1774003591728541477 for ; Fri, 20 Mar 2026 03:46:32 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=dkim header.b=VBYvHqKN; spf=pass (domain: bootlin.com, ip: 185.171.202.116, mailfrom: antonin.godard@bootlin.com) Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-04.galae.net (Postfix) with ESMTPS id 7FA25C4042D for ; Fri, 20 Mar 2026 10:46:55 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 244F7600E0 for ; Fri, 20 Mar 2026 10:46:30 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 808C010450B9B; Fri, 20 Mar 2026 11:46:29 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1774003589; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=aNGSuQlzwhJupM4BGQYpQG9MuOtFSihiwhnpyC6meS0=; b=VBYvHqKNv4JvWq2Kjy8Vyx0GzCiCEx2YxnW29FRxiiOZ2G0Y8BJ8oIeE/PnFUzARW5quhQ OrMe9SippOVlP+Aa8Qt3sFeHasq+y6wf/Q5kkj9TyAKxEXM0/DJ6SFAf7H9K7ghJ3Nzjts LCYajhK92Icj1G7LhuQkmixq37j+CpUtTAulOR30cHf/MZReg3n7/5fEiQts4sTFEOuFNk BBehOeAnI7iHZdN6pSnTnRme95ASCkveAj4eKvuGF9uI4Ep7SaTCsSWW9bNzvUZJBWUR69 4o7ABFOMEtM27B8M/G2GZOtBKd7+PdXVIR0t7U0fMLndjYg6ZRls53aWe1K4hA== From: Antonin Godard Date: Fri, 20 Mar 2026 11:46:22 +0100 Subject: [PATCH v2 4/8] ref-manual/variables.rst: document the LTO variable MIME-Version: 1.0 Message-Id: <20260320-release-notes-6-0-v2-4-1bdb1eb142ae@bootlin.com> References: <20260320-release-notes-6-0-v2-0-1bdb1eb142ae@bootlin.com> In-Reply-To: <20260320-release-notes-6-0-v2-0-1bdb1eb142ae@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=89Cb8rY5BYdYmebCuwDjgHr5FVPqETGjxWYdT3CrfdU=; b=owEBbQKS/ZANAwAKAdGAQUApo6g2AcsmYgBpvSWBvE1Dm/JpfpiGqndqVwd+bT/zaGAY3DpV6 Uco6LjhGb2JAjMEAAEKAB0WIQSGSHJRiN1AG7mg0//RgEFAKaOoNgUCab0lgQAKCRDRgEFAKaOo Np4zD/sFryuU+cl+QXjL2orRurUw0JKGm1YOMEAkEs/zVCLGDkSjC29aFtaBsZaWltTCsr4KU4o hbm0Z7mHYsK8AyDMP/XN3r+XzN4hBIlXpOlmWqSvKqlxyTuRgRqQfdo13+AZvcBWKfhtMKMbAIm 0ZMJNmBaurirK/6NLtRntzfQzDZ6J/Xbul98mQxwihGj/DK7xMIdZpABAG2m0iBziiqm90qbpuZ fht8JYg4WgzxnF0e8GyHWHhoM6ClG5gCfbYeQPNrgVxHdD7nyrF7T3bce2EM0+tlREbz+NHOByB cnpi2Q2/9nlD5kQj1s2o0NueDAZSjHyG8htPfpqmiJOCHwAUqvK3yBfo6NoEm76Juc39JNgiij7 4hprG3vEeh+pbRWVifa3e8PnJxPxRRkGbWxOOM2RlJ8QNyBgJ68JqsPWFGzXJyneqeozCVVNiEF 2AmkNy2eRKFuYMkj5TU0buPRhiYVT3SsLjjBl88ndAfQVbZ0fIRnukPlTyuloswDvg91hAEdTE1 N7JAjrPqbXi7N8fW0oj/ilaQGDJjCHTYBPSwUV7BnY9ORQKdVwKjaxFIjAJQi6PgRt2g4i1w5Va P38XxdrhxogR+mrmlPYIkP6pBZvO1KJ6W/30e9px+Wz/zPOVFA3MHyNaj+AIVKwnhDlK8Vkn0zl wV+4oY1VL1Ucgqg== 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 ; Fri, 20 Mar 2026 10:46:39 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/9105 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 45542d715..6c779e42d 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst @@ -5890,6 +5890,13 @@ system and gives an overview of their function and contents. For the directory containing logs specific to each task, see the :term:`T` variable. + :term:`LTO` + The :term:`LTO` variable define the flags specific to the ``lto`` + :term:`distro feature `. 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 Fri Mar 20 10:46:23 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonin Godard X-Patchwork-Id: 83960 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 BC6E4108B8F7 for ; Fri, 20 Mar 2026 10:46:37 +0000 (UTC) Received: from smtpout-04.galae.net (smtpout-04.galae.net [185.171.202.116]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.9825.1774003592349731728 for ; Fri, 20 Mar 2026 03:46:32 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=dkim header.b=T2QPUK9e; spf=pass (domain: bootlin.com, ip: 185.171.202.116, mailfrom: antonin.godard@bootlin.com) Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-04.galae.net (Postfix) with ESMTPS id 1E533C415B3 for ; Fri, 20 Mar 2026 10:46:56 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id B6B35600E0 for ; Fri, 20 Mar 2026 10:46:30 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 154BD10450B9C; Fri, 20 Mar 2026 11:46:29 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1774003590; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=jz1xTMFM/njhNHtB4IXO81BIVY7182CPpc51NMn3/Is=; b=T2QPUK9e9AghKmUpgscs1sV9A5Cs5zHsYmBKdtmMLyXh4/NKItJNGfdnp7OiktqIL/EVZr ILkIOVH7mkbOSqv1iXxL4Q66wvsg0xd/RnS/gYWZakaTAz9r9V8kFUJBZ8NP2sSIG+1C13 qr4QaG4fKeSwnDtxGGb2SKGuEhLqkcxINon5ZY400eqN4vVQSCbvL85ETgIj/0x/s6e/pH FbqqgKfmJWXjn6+UYC8BYlF2xmT65a8qvNIVo+OwgG0dLLfO128+dgtZDyR5iSqqvoREO0 zsdzwpr/YYaOpc80bTO7cU6wLHbuiy0iPuAYK2oyI7B/UdKbkC8///lkUjscLQ== From: Antonin Godard Date: Fri, 20 Mar 2026 11:46:23 +0100 Subject: [PATCH v2 5/8] ref-manual/variables.rst: document the SPDX_CONCLUDED_LICENSE variable MIME-Version: 1.0 Message-Id: <20260320-release-notes-6-0-v2-5-1bdb1eb142ae@bootlin.com> References: <20260320-release-notes-6-0-v2-0-1bdb1eb142ae@bootlin.com> In-Reply-To: <20260320-release-notes-6-0-v2-0-1bdb1eb142ae@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=1550; i=antonin.godard@bootlin.com; h=from:subject:message-id; bh=9flgFEj5tHqyRwWu10D982KLgJJRO4cCrUPqvV9JUHQ=; b=owEBbQKS/ZANAwAKAdGAQUApo6g2AcsmYgBpvSWBiIDsc1Q5WOD99SlZsTIkvOZIIBMtUBhdO QV9U7/fckmJAjMEAAEKAB0WIQSGSHJRiN1AG7mg0//RgEFAKaOoNgUCab0lgQAKCRDRgEFAKaOo Nj10D/9w4E+9pUthDCfvV9eV6I0pYb9p4IYArAedr6wvBoz1vu+sT1Fb0u3Xp89V+6czh0/qEH+ DJpjmQLynHjKfYuwO87BqcLEtTSX84RtFfvH5nX07A115rMKQpDYtVPZYa/esbLyKytjBDlJtNY C1f7oSQB7QdgUdEZcN3bfOJTxSaPm8lEm6jEXdtQb9YX9ZSnJohu1U0Q0m88WD7FDCeypw0AtXo jhe1W4SMWqZx7qBL85U87T0gK3P1PN7nitYCVqZF1KdD08i9l4B0rEhrsESXp5xDSwDRO6pIBYU t8ToZP0etuThxuSCewUjOTJ4v/niBGm9rYhnu+/RXo0iLcKOyHK7M5g2WrzUWUWimEWTXZ+iXp0 sW6Dn3CTHFAAYeZxNRkvexi8vXHRRsI71JP983WfVwOmPApf+M6RkYAw3mOuLFq+vnCHSw6whWC o+uCKAVhtUU4BQOef/I2EZPAIKOxqzqVBnkEAeC8PYCI/agK5Iet0XJn8MtEBZSgPW+/G70y3bg B2j1ow4bBWUuLt6hxnjXrhnNo03vXCF9Ehvxwj65G4lDORyZeTMrGvbtWC0W+2bUJD50WY+y8x/ RZ99zWaBmrQi5togGSVh7pfm/2KEzlvFFOtg0M4uLBR42mM8mgXtkEVgI2mg9E3g+lguXpmdLcn +4y9BEgkFThHYtg== 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 ; Fri, 20 Mar 2026 10:46:37 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/9106 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 6c779e42d..03154a866 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst @@ -9191,6 +9191,22 @@ system and gives an overview of their function and contents. (+ 0.07\% with the tested image), compared to just enabling :term:`SPDX_INCLUDE_SOURCES`. + :term:`SPDX_CONCLUDED_LICENSE` + The :term:`SPDX_CONCLUDED_LICENSE` variable allows overriding the + ``hasConcludedLicense`` object to individual SBOM packages. This can be + used when the license of a package was determined to be different than the + original license string value, after analysis. + + This variable can be set in two ways: + + - For the entire recipe:: + + SPDX_CONCLUDED_LICENSE = "MIT & Apache-2.0" + + - For an individual package produced by the recipe:: + + SPDX_CONCLUDED_LICENSE:${PN} = "MIT & Apache-2.0" + :term:`SPDX_CUSTOM_ANNOTATION_VARS` This option allows to associate `SPDX annotations `__ to a recipe, From patchwork Fri Mar 20 10:46:24 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonin Godard X-Patchwork-Id: 83965 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 29B00108B901 for ; Fri, 20 Mar 2026 10:46:39 +0000 (UTC) Received: from smtpout-04.galae.net (smtpout-04.galae.net [185.171.202.116]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.9826.1774003592973269662 for ; Fri, 20 Mar 2026 03:46:33 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=dkim header.b=aFTFVKtT; spf=pass (domain: bootlin.com, ip: 185.171.202.116, mailfrom: antonin.godard@bootlin.com) Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-04.galae.net (Postfix) with ESMTPS id B9C49C415B5 for ; Fri, 20 Mar 2026 10:46:56 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 5CDAA600E0 for ; Fri, 20 Mar 2026 10:46:31 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id A745E10450B9D; Fri, 20 Mar 2026 11:46:30 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1774003590; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=pcf00WiPkZ4GgKYNDu2uAvfkDeTxnUPuDKU0nJ/bBfw=; b=aFTFVKtTnfw6vogVn4VamjIei7wQfHB8rpeYoPPN5uyD9+P7l3eWyhr80gAAhtCgWlFdxh VwIcqI39W9B8fkufRfjLjHNHHcNhKUVld27AVd6vHDGadRK25x8evgbv31CzP7uRrPP1zG 9o+rzBqUCn29ieixwLj1XjI7TeN+ZiOKQysX+/EU+u1r6l0R1BeIbhPY4De6KS+3/4Kpp8 DajZYYdCMlyZSH9SDDMubwCvkje71wm5s9j9Z739Kj3+LLintgBxUO4pyVgvoxV/hgb6YG yOdFkA64FXjOD0tj0ORgbSQwSFhnG6PVvo6ak6y/WAChQgL9Rh4KKaEVrqCmMA== From: Antonin Godard Date: Fri, 20 Mar 2026 11:46:24 +0100 Subject: [PATCH v2 6/8] migration-guides: update 6.0 (Wrynose) release notes MIME-Version: 1.0 Message-Id: <20260320-release-notes-6-0-v2-6-1bdb1eb142ae@bootlin.com> References: <20260320-release-notes-6-0-v2-0-1bdb1eb142ae@bootlin.com> In-Reply-To: <20260320-release-notes-6-0-v2-0-1bdb1eb142ae@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=30607; i=antonin.godard@bootlin.com; h=from:subject:message-id; bh=rg8lU1GuOX7A+3t8dZzJwr4fZ4SBsaS3W09oCfaHrbg=; b=owEBbQKS/ZANAwAKAdGAQUApo6g2AcsmYgBpvSWBmZhbSGgmOZQIZEvUFhh1aySxFpbCcqTKi MT9SKLyDciJAjMEAAEKAB0WIQSGSHJRiN1AG7mg0//RgEFAKaOoNgUCab0lgQAKCRDRgEFAKaOo NurpD/9gviilxerrDmMQPC1+eL5Qfa8qVtEdZDM/zR6GAwQpKVyj5jhdNkfgcyvC/RLFV/Oekyw QL18KKcPT1vWXW2c0IRZ0rMopKwQHhFj3EVs9CN7fnI7a9yBVPT4D9uA6J75XmZa2RiqIkD5nXc /VR2Jzf3zIIuBe2EUibfC57c1F02iUnduI+QAD4mPLxd4lWFTsEjPtTT8Kn5CGtL7ivbQ1O+uas 1FZnCY6x9gZP91JVKvgQ91xbq6CndRYFHS0cCr/QktssHS9KffKLpbLJr7zetv6dNFfk0lAyGq1 IhTVPzRnn0Dovlw9nchDhs1nQMEYB0lBuxRMY7/AAsq83CZh5hoOt9lmF2m//fzV/B34Xy4Il2L 6OWctnD505drONfvlMw8eq6MRJbBTWD7sTrHyy26UuOjk/N5U6BIdob7p/fto7HZjTqMX6WyciT rUsvvpxiyDLFIXnfYn/KFg6DFV5UQqG7DReTCxyIojVUZo3v8z65cDC5ZmQFE/TQrnNcqeoWrLm hkBR+kI8OhYlEu5ZroUjyKmjqjYgKHDtsTOmyDAEBceGEA46Nzglw5eETVKxPRxYfgdbu+rE5Ny fEPmT2PKocTnGUbdwwB6T8v1GPkitVjkAF6SJdyvXTIRLadHfJx/+DWB0k5nZJBfH3ZB3RKiE2E /EMF3L1UAdG5FVA== 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 ; Fri, 20 Mar 2026 10:46:39 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/9107 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 | 191 +++++++++- .../migration-guides/release-notes-6.0.rst | 414 ++++++++++++++++++++- 2 files changed, 586 insertions(+), 19 deletions(-) diff --git a/documentation/migration-guides/migration-6.0.rst b/documentation/migration-guides/migration-6.0.rst index b18206b21..0810d28af 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 was dropped (: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``: Enable building the package tests where supported by + individual recipes. To add the built :ref:`ref-classes-ptest` packages to the + image, add ``ptest-pkgs`` to :term:`IMAGE_FEATURES` in your image recipe. + +- ``vulkan``: Include support for the :wikipedia:`Vulkan API `. + +- ``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`) +------------------------------------------------------------------- + +Declaring multiple U-Boot configurations used to be entirely defined by +one :term:`UBOOT_CONFIG` variable flag per configuration, e.g.:: + + UBOOT_CONFIG ??= "foo bar" + UBOOT_CONFIG[foo] = "config,images,binary" + UBOOT_CONFIG[bar] = "config2,images2,binary2" + +This has now been split into more variable flags, e.g.:: + + UBOOT_CONFIG ??= "foo bar" + UBOOT_CONFIG[foo] = "config" + UBOOT_CONFIG[bar] = "config2" + + UBOOT_CONFIG_IMAGE_FSTYPES[bar] = "fstype" + + UBOOT_CONFIG_BINARY[foo] = "binary" + + UBOOT_CONFIG_MAKE_OPTS[foo] = "FOO=1" + UBOOT_CONFIG_MAKE_OPTS[bar] = "BAR=1" + + UBOOT_CONFIG_FRAGMENTS[foo] = "foo.fragment" + +See the documentation of the :ref:`ref-classes-uboot-config` for full details. + +While the previous legacy approach is still supported, it will be removed in +for the next release. Users are advised to migrate to the new approach. + +See commit :oecore_rev:`cd9e7304481b2` for more information. + +.. note:: + + Single configuration builds have not changed and are still declared using the + following statements:: + + UBOOT_MACHINE = "config" + UBOOT_BINARY = "u-boot.bin" + +:ref:`ref-classes-pkgconfig`-related variables are no longer automatically exported +----------------------------------------------------------------------------------- + +All the :ref:`ref-classes-pkgconfig`-related variables, such as +:term:`PKG_CONFIG_PATH`, are no longer exported in +:oe_git:`meta/conf/bitbake.conf ` with the +:ref:`export ` directive. + +These ``export`` statements have been moved to the :ref:`ref-classes-pkgconfig` +class, meaning recipes using these variables that not yet inheriting the +:ref:`ref-classes-pkgconfig` class should now inherit it with:: + + inherit pkgconfig + +See commit :oecore_rev:`68d2d38483ef` for more information. + Rust language changes --------------------- systemd changes --------------- +Support for 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,6 +224,21 @@ Removed recipes The following recipes have been removed in this release: +- ``jquery``: The last users of this recipe were the reproducible tests, but + have been reworked to use the `jQuery` CDN instead with + :oecore_rev:`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 --------------- @@ -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..901bd60bc 100644 --- a/documentation/migration-guides/release-notes-6.0.rst +++ b/documentation/migration-guides/release-notes-6.0.rst @@ -13,86 +13,464 @@ 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. - 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" to 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 with the + :ref:`ref-classes-kernel-fit-image` class (:oecore_rev:`d925d67061ef`) + + - The :term:`FIT_CONF_MAPPINGS` variable allows mapping extra configurations + to existing ones or rename an existing configuration in FIT images created + with the :ref:`ref-classes-kernel-fit-image` class (: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 adds 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 + contain 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 (: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 how to report + 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: -- Systemd related changes: + - ``curl``: ``schannel`` + - ``gstreamer1.0-plugins-good``: ``qt6`` + - ``libinput``: ``lua``, ``libwacom``, ``mtdev`` + - ``mesa``: ``expat``, ``zlib`` + - ``openssl``: ``legacy`` + - ``opkg``: ``acl``, ``xattr`` + - ``python3-cryptography``: ``legacy-openssl`` -- :ref:`ref-classes-sanity` class changes: +- systemd related changes: -- U-boot related changes: + - Package ``ukify`` separately, with the ``systemd-ukify`` package name + (:oecore_rev:`e92427496210`) + +- 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``: Fix a bug 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 `. This allows existing recipes 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 manifests are now deployed in 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 Fri Mar 20 10:46:25 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonin Godard X-Patchwork-Id: 83958 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 7CE4C108B8F3 for ; Fri, 20 Mar 2026 10:46:37 +0000 (UTC) Received: from smtpout-02.galae.net (smtpout-02.galae.net [185.246.84.56]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.9793.1774003593740214232 for ; Fri, 20 Mar 2026 03:46:34 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=dkim header.b=BPMYzoWi; spf=pass (domain: bootlin.com, ip: 185.246.84.56, mailfrom: antonin.godard@bootlin.com) Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-02.galae.net (Postfix) with ESMTPS id 4141C1A2F12; Fri, 20 Mar 2026 10:46:32 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 11BB2600E0; Fri, 20 Mar 2026 10:46:32 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 4B6D710450B9F; Fri, 20 Mar 2026 11:46:31 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1774003591; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=wr3gKK8C3+3YMUgemRwWpA3mdWuXwrEjkhJjmhBHHXw=; b=BPMYzoWiWbMj6D9PosDtUPQfFXEKyssKhLB3ho9Je5ufUBMl6VR4pr5aN7UEJauDWBuv8+ VA0WtdaOmSbVqBIdLLK86RMQo5dzmAkD/DC9AcFP3PLsER6CUWBJa5oCvifdWuydjnjrdb 71OxECmgCbMLK8liVYnbLVracm5g44fqjT5VyjoyqLJtGEKkg2KXw99mTr9TdDY3+rH22u 3l7ACVVE1cLAbJwKGPYFO72EEOPMwv9LRM0PBTuebf6gsEvgj8U0nj1G/lPzKliYXYamgE U/sPL9QW2IHMfBo8GipaXzJLNy8u/mci+idFxmp6eyew4aD2GEhT2bU3uc65wQ== From: Antonin Godard Date: Fri, 20 Mar 2026 11:46:25 +0100 Subject: [PATCH v2 7/8] docs-wide: add warning on disabled NPM fetcher MIME-Version: 1.0 Message-Id: <20260320-release-notes-6-0-v2-7-1bdb1eb142ae@bootlin.com> References: <20260320-release-notes-6-0-v2-0-1bdb1eb142ae@bootlin.com> In-Reply-To: <20260320-release-notes-6-0-v2-0-1bdb1eb142ae@bootlin.com> To: docs@lists.yoctoproject.org Cc: Thomas Petazzoni , Antonin Godard , Quentin Schulz X-Mailer: b4 0.15-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=3056; i=antonin.godard@bootlin.com; h=from:subject:message-id; bh=u89cmIklot7jXPnbKRUQnaM+aqlPXg3XAgpug6MKFc0=; b=owEBbQKS/ZANAwAKAdGAQUApo6g2AcsmYgBpvSWBVgkWrzXfdzjWiGakhBw9ynm/98YhuA/Qn g6dBENCKm2JAjMEAAEKAB0WIQSGSHJRiN1AG7mg0//RgEFAKaOoNgUCab0lgQAKCRDRgEFAKaOo NubDD/9b6bcuffGmg5HoU8O53ps5fstRfh4ZKuFvf75dULlECSBChq/9FKCsfYdDzkKUascxvZ6 9TyeJS1b67SHAij0lysvMy7zT0HShgHcmipSdtUDLle+oowz3xzvRp6SG1aMt+1IQc/+PKVl5Hm oOnaXRn/DEpBjxATEc1Q8VjvqW/6DQUDZprR/tRzE8NrlEyx+M8Sw48Yf4g8a9yJ07zoQaVFlJe e/Brgy7jiy+XN7nMpaouhYdys7hm3bDSdA/mvC1R23PCmuOaiMYQnl0OmBcpWjaxZv38puUekiV YnibUqzfPzDFBSWFCoB6Iy3tqdfGa2MwGx1Gl5NwdBdBKXIPxVDvD8rNIKnoxCcVnPJoMiumNLF m0g6lq/U20x7yMHyl/bYsRttaBqUkWX+/qblA54VgNo3RAPfYOdSqS2iw1tonDSiS7Rq/78Qlde qF4wootXMNIcYJJAz8HZSx2LHu3l5OSbYjatKHEpuENKYtUmbPByhcG9D5SdGzpd+Jaqt0aTqs0 ghwY/JdO7192gkrvwWdqmY/lRGDruPQQ8tEwbH4zUvN3RJZEs5OS4sbjUzDg8TkW2nmO6v9MmZY nN+4qyWXgwo7xc1KXG4g2SkVL1SajAc6GC2cF+/C+hcXXbKZy8c+h2w2OqrX+8ArpPjeQhBw/JK gIFgxZbaAW617QA== 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 ; Fri, 20 Mar 2026 10:46:37 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/9108 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. Reviewed-by: Quentin Schulz 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 Fri Mar 20 10:46:26 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonin Godard X-Patchwork-Id: 83959 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 9824C108B8F5 for ; Fri, 20 Mar 2026 10:46:37 +0000 (UTC) Received: from smtpout-02.galae.net (smtpout-02.galae.net [185.246.84.56]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.9795.1774003594381776377 for ; Fri, 20 Mar 2026 03:46:34 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=dkim header.b=eXT7fxxO; spf=pass (domain: bootlin.com, ip: 185.246.84.56, mailfrom: antonin.godard@bootlin.com) Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-02.galae.net (Postfix) with ESMTPS id DEB8E1A2F11 for ; Fri, 20 Mar 2026 10:46:32 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id B6C3D600E0; Fri, 20 Mar 2026 10:46:32 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 05CCA10450BA0; Fri, 20 Mar 2026 11:46:31 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1774003592; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=u0LEas+ij7USQwSEf6Vjccqxf3oB/4MNJy9g3XmXjf4=; b=eXT7fxxOcuc8iG0zDBxPM/4N/KRTWoLjvmKlp1+O3JIeTdyfWc09uDDYYaVzzcBw2NQPXX qO1yywp7ch0TrOTSM+Et9FWOjHfUzuIdG5VKMwqgy3QGfAiMOcojbch7rT5q4MwFE55yrk cRhOOwVAEwvVOW25N172O/mD/O9RjV+29h6rlIweeP9+y7mHUMdK1ZBipLosb0pajBQ5Ls 7KT33V5iSdJlrcU9mdKLYCVhQDfst9DnvAr29q5URUwY4xRku4mpaGYAYs2I8l1HxOt8zp FilISwibPBr6enU0d9Ihx/0bE9kdu6KWhR2A1ifpBWNtU8YVkmV4bp9+QjSUmw== From: Antonin Godard Date: Fri, 20 Mar 2026 11:46:26 +0100 Subject: [PATCH v2 8/8] ref-manual/faq.rst: remove the CVS proxy note MIME-Version: 1.0 Message-Id: <20260320-release-notes-6-0-v2-8-1bdb1eb142ae@bootlin.com> References: <20260320-release-notes-6-0-v2-0-1bdb1eb142ae@bootlin.com> In-Reply-To: <20260320-release-notes-6-0-v2-0-1bdb1eb142ae@bootlin.com> To: docs@lists.yoctoproject.org Cc: Thomas Petazzoni , Antonin Godard , Quentin Schulz X-Mailer: b4 0.15-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=851; i=antonin.godard@bootlin.com; h=from:subject:message-id; bh=n7HOfOsNKbJEYC48yAS+EkaX6I72FBmpG8zS6PZQZ/k=; b=owEBbQKS/ZANAwAKAdGAQUApo6g2AcsmYgBpvSWC6yYRFrUOj46/CwqZR+AZVGii371QfjzK1 15LefllkH6JAjMEAAEKAB0WIQSGSHJRiN1AG7mg0//RgEFAKaOoNgUCab0lggAKCRDRgEFAKaOo Nq1oD/9JKwXVyYj7SEkwKmfsx0Fmcu7Bka0/7UIY2nroLU41DBuLYtaj5AFr+38rNed62X2Jyim aKK0Xjb1DBtQwWPkqqAmH7igcjgliR92LE+KcUvbwBXFchCbl+B73qMxBJV7Jj1Fgj67Tq6GLcT iKdniMj2JmUzLBEl9YZYzH8BvXuBYHYVjOY6w+bT1qIXoELsb15hzq6XHwJkVQ24vKjg3Xy2n5L 0Qo4pyZW2OaJW3xBTvCTUB8ODitBu1OvmKQudDSO+/tMAJayYZaPKKDTSBvs32RIyYGbIfk7MrB ggSGJWP0Tr4I6weIMmyU0jLfLLsWgkuUbkeETMDDgadvbkQJbAyL2LXdaaVHPNNYRt8QBudAD1u XTNpcSUhKuqMFr9NaemowGiDptS1744o2a0JkIshc9bBu4C+aqFtYwVPIA4W2N+HB/yxMpTuOYK 452X1oQkwdTUgE990OSQ33J3Fdl+xj75MH6rONioXlzMAEvSD0b7Yqa6FPiEjjMWD4XwKEOtZev X7MS9DXzNIgSHoxv0J8N3zWphSIryCsVR+JMUzXBMYoAV0VllqsBsYUw1sBM/O7ql2+hYexMPLu o8NT8OQwwAz7PHmaZ93JwFxNKmbGFvrajwVnlh5MFRgvesrWI2wMDbRMXWXJe0w6LqvF4zVtUYS QU8VfaMl+DBzQuw== 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 ; Fri, 20 Mar 2026 10:46:37 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/9109 Support for the CVS fetcher was removed with 5427500e4f23 ("fetch: Drop CVS fetcher module") in BitBake. Remove the CVS proxy mention. Reviewed-by: Quentin Schulz 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::