From patchwork Fri Apr 10 14:43: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: 85847 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 B3B57F459F3 for ; Fri, 10 Apr 2026 14:43:56 +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.157871.1775832226504946383 for ; Fri, 10 Apr 2026 07:43:47 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=dkim header.b=AfuIp6wS; 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 6F700C5C1A6 for ; Fri, 10 Apr 2026 14:44:19 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 97A8660404 for ; Fri, 10 Apr 2026 14:43:39 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id E5A7D10450026; Fri, 10 Apr 2026 16:43:38 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1775832219; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=YAANWQvRifTM9egpgcLo4IqpMU/HJp7s9E6AlEgml2w=; b=AfuIp6wSbEwBmDIOY+RpwNwo8q319vRdQ8WUKwoHNHbcXWruJsymzG+3+X+GJHptALzE/K o7aP80GpfFTVKCdX6wIvqD1NFbsVAmQYNKb9PZL1x4CdcbAxEg5bHlTmeHSoYw+s5d52+5 uJHexVQ9j/ugODhexHTNxES4WONrQjIcp14ibUy2Is81cQfP/zp8TrOtMUEt+V8/ozfVqG tMOcYaDYUExKTKpVinEDUocEewY6zsfviV6IGtb0H00LzJHSXsacRdidF7JuYiHZkneIM3 PbeBymSOqLVGU6WJj83IsegzvRnV4aj85LuJbRArkiqB8cxBS3jKo85nctacKw== From: Antonin Godard Date: Fri, 10 Apr 2026 16:43:25 +0200 Subject: [PATCH 01/18] conf.py: define new *_path roles MIME-Version: 1.0 Message-Id: <20260410-second-release-notes-6-0-v1-1-40213436c3ca@bootlin.com> References: <20260410-second-release-notes-6-0-v1-0-40213436c3ca@bootlin.com> In-Reply-To: <20260410-second-release-notes-6-0-v1-0-40213436c3ca@bootlin.com> To: docs@lists.yoctoproject.org Cc: Thomas Petazzoni , Antonin Godard X-Mailer: b4 0.16-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=1835; i=antonin.godard@bootlin.com; h=from:subject:message-id; bh=oKWZHEFZZjoQTF/f/jo2iN6Z20eS11HHu5FFpon0JEo=; b=owEBbQKS/ZANAwAKAdGAQUApo6g2AcsmYgBp2QyWpIKlZisyAl4/3dXe6LR5aGepfKn8LL0oC f3dwqyqGCeJAjMEAAEKAB0WIQSGSHJRiN1AG7mg0//RgEFAKaOoNgUCadkMlgAKCRDRgEFAKaOo NkrBD/9VN8zHQ9vdCVLUQe8sN9mwity9N76TuaCZsgXobdPH6CI1VmUxz4y9tnXlYowP2OzTjfn D0D6ummb/uAKvBqvOOjB/1o1e9+d5iw+H1yk28NHZdMm0IT1vRHTK5ILRpmWn4JkE1dPzZJZ36+ fJCO/5ncW7ClSxkndFUUhNU+57/DBPDNxOmZ5x7q+iekUzWAKUBK7vGVeyxPw9Jc8+OHSdPXaDm AkhXp6B0bfNffxoBW5CsB9SzA7l+6TwsaC8pdOizwfHY+exzXl5q6B7gXPqmHrpkDSGJG7qB8Et bqzm2HK9m0LMvdJ2XbnT7hmcGrFWXWCrtZ/Vbj/eZung3xZla+ULULlqA6rDBOUxgEfqG71ci4m fib/SqyR1h2l6OLLtZPG+lMd7krbm2SwSVfM7efvf1qurfARYFe4mBQuD17BlsBK595+CjJISTg ZnCjEntHMsN+59z+oi0em2KoZ1LUsIsdYhPRW2sNoDj+DkFIxdXlgc6AaVcf8S1Kx8s8qfMAPuR pyZwSX/uY8A5fwjffigmI6xbn8IXz3GoV5hngwnZTo2GomehIgF8ARHD4YTcDeq+rQ1qbdT3Nbx X2ekt3RFr4NNotFix60dYlXMj5Mz1J3iazpCQr+HID4l0u8rmEPSaxph29ujFKZ9kkjSpZxuqVm dtguxLPA1Nby+bQ== 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, 10 Apr 2026 14:43:56 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/9232 Defines three new bitbake_path, meta_yocto_path, and oecore_path roles that can be used to quickly reference a file or directory in one of those repositories and link to our web interface for the path, e.g. :oecore_path:`meta/conf/bitbake.conf`. Signed-off-by: Antonin Godard --- documentation/conf.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/documentation/conf.py b/documentation/conf.py index e5e3a8a89..58c6406f1 100644 --- a/documentation/conf.py +++ b/documentation/conf.py @@ -101,6 +101,7 @@ meta_yocto_git = f"{yocto_git_server}/meta-yocto" # external links and substitutions extlinks = { 'bitbake_git': (f'{bitbake_git}%s', None), + 'bitbake_path': (f'{bitbake_git}/tree/%s', '%s'), 'bitbake_rev': (f'{bitbake_git}/commit/?id=%s', '%.7s'), 'cve_mitre': ('https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-%s', 'CVE-%s'), 'cve_nist': ('https://nvd.nist.gov/vuln/detail/CVE-%s', 'CVE-%s'), @@ -112,11 +113,13 @@ extlinks = { 'yocto_ab': ('https://autobuilder.yoctoproject.org%s', None), 'yocto_docs': ('https://docs.yoctoproject.org%s', None), 'yocto_git': (f'{yocto_git_server}%s', None), + 'meta_yocto_path': (f'{meta_yocto_git}/tree/%s', '%s'), 'meta_yocto_rev': (f'{meta_yocto_git}/commit/?id=%s', '%.7s'), 'yocto_sstate': ('http://sstate.yoctoproject.org%s', None), 'oe_home': ('https://www.openembedded.org%s', None), 'oe_lists': ('https://lists.openembedded.org%s', None), 'oe_git': (f'{oe_git_server}%s', None), + 'oecore_path': (f'{oecore_git}/tree/%s', '%s'), 'oecore_rev': (f'{oecore_git}/commit/?id=%s', '%.7s'), 'oe_wiki': ('https://www.openembedded.org/wiki%s', None), 'oe_layerindex': ('https://layers.openembedded.org%s', None), From patchwork Fri Apr 10 14:43: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: 85844 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 0127BF459EB for ; Fri, 10 Apr 2026 14:43:56 +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.157873.1775832226505198299 for ; Fri, 10 Apr 2026 07:43:47 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=dkim header.b=ahfLQvMv; 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 71EDDC5C1A7 for ; Fri, 10 Apr 2026 14:44:19 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 0ECF660420 for ; Fri, 10 Apr 2026 14:43:40 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 7FE4D10450023; Fri, 10 Apr 2026 16:43:39 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1775832219; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=WHC+WG+wWMwSjpgqcOXWe9IJaTsrdj9E0GaYqucKF+8=; b=ahfLQvMvk/MrP8w3ueIkt2x3FI0gKhOLv9TvFtTxvXlmxreAlaa5Il4l+LypgdLb47u7ZY Z6GpEO9/dsvurpYAhZSLm4WE4M2JU17MKPwml72eOSTNL4rP72/Sc/XZvm9OjsXvgTC92h Qb7AhjoZNneSt6iPYxu67LGrTXSs2pl1Fni78WsOzaSQVY95bWjQ1E0UiE7SZacH6nSw4A 1aFOvgseW/heyKhXX2fuZM7Y3bzJoeLW5aRSFK8PY2OdM4X6mMKWl0yJcCW42wQb0g5S9s PyiVBX8917tVy9Tfs+9dFEK2EuvL+PYki9ZHBlwpMZ4JYyY9tQzMuRIyGHpM+w== From: Antonin Godard Date: Fri, 10 Apr 2026 16:43:26 +0200 Subject: [PATCH 02/18] ref-manual/classes.rst: document the kernel-yocto-rust class MIME-Version: 1.0 Message-Id: <20260410-second-release-notes-6-0-v1-2-40213436c3ca@bootlin.com> References: <20260410-second-release-notes-6-0-v1-0-40213436c3ca@bootlin.com> In-Reply-To: <20260410-second-release-notes-6-0-v1-0-40213436c3ca@bootlin.com> To: docs@lists.yoctoproject.org Cc: Thomas Petazzoni , Antonin Godard X-Mailer: b4 0.16-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=1099; i=antonin.godard@bootlin.com; h=from:subject:message-id; bh=/EsE6BLlC2gQSZjnY+ZVmmyXGrHYp/ob8Sm8lxoqlT8=; b=owEBbQKS/ZANAwAKAdGAQUApo6g2AcsmYgBp2QyWD4WU8ysuyChYMGaNGnlrIexdRD/BkBtss qEpBG+csnmJAjMEAAEKAB0WIQSGSHJRiN1AG7mg0//RgEFAKaOoNgUCadkMlgAKCRDRgEFAKaOo Nj8AD/9z6OulAfLRjmOryGqe/KI59UaUQGrCrmB1pus4lT/dRV4ginYB+xGKgWnWL4+2tM5suZO N7ynq6VDqZZMnUlMG4tljIQCEeJUNHJJe+6RaiUBMX7ghRCo7AXIiMG675i3oOSX5RASUgIg0/J PzwR9wyx5Fnyfjl8k6KdBdOXbpy+H9hkQznMi6kg6TnDXGa78Dmfn0B4LJ5tB5zhG8gbX2TtCv7 3EcB/MjM6jDR1yURHFSwEkp6bbDPcmC7O2UrixwZWxh2hr47p/zSPeofckQAa1IhgaT2RiUL7W1 xXJu/oorvGCUH9EbhEt+40MfOa36Fd4yuacHtg951loLo1KfPufRqsJLw607j/D4nYvvaTIm30V YTjOMIJbTjCUKYc3oH7UL7buZbZiQft2uwgqS+uO1vBYTmFQPRQEIqaM7NE/6ow22UimYBh0acS HATdc3ENqAeXJNK5Km2WmSqP3EO+TSwc51u9ltaDqISGb9nf8gp3nfw4jzPE3JuBq0TTsS3jSdh o4sBMZatXPG+VrmKA4vnRY0IrSPdhPJl5GSmuB7OepIf0VlGj3ZHwIRsyHEf2Zfdp+GiOG8gsu0 JsdrFiyXUm/kEKDsnUIpCwyH6rHKeXZRT/OjGAG0WXW3+JGdia+wDqDoXc6QRss+li13u1gD8MW G2yj1TqoMnr8N7w== 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, 10 Apr 2026 14:43:56 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/9230 Added by commit 6c90097bebef ("kernel-yocto-rust: enable Rust kernel support via 'make rustavailable'.") in OE-Core. Signed-off-by: Antonin Godard --- documentation/ref-manual/classes.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/documentation/ref-manual/classes.rst b/documentation/ref-manual/classes.rst index b23c680cb..bc46fc3f4 100644 --- a/documentation/ref-manual/classes.rst +++ b/documentation/ref-manual/classes.rst @@ -1619,6 +1619,15 @@ The :ref:`ref-classes-kernel-uimage` class provides support to pack uImage. The :ref:`ref-classes-kernel-yocto` class provides common functionality for building from linux-yocto style kernel source repositories. +.. _ref-classes-kernel-yocto-rust: + +``kernel-yocto-rust`` +===================== + +The :ref:`ref-classes-kernel-yocto-rust` class creates the necessary Rust +Linux kernel dependencies and ensures that they are available by running ``make +rustavailable`` from the Linux kernel source tree. + .. _ref-classes-kernelsrc: ``kernelsrc`` From patchwork Fri Apr 10 14:43:27 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonin Godard X-Patchwork-Id: 85841 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 BCDCBF459E4 for ; Fri, 10 Apr 2026 14:43:55 +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.157872.1775832226505113157 for ; Fri, 10 Apr 2026 07:43:47 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=dkim header.b=iP27hp8G; 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 6F1CFC5C1A5 for ; Fri, 10 Apr 2026 14:44:19 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 801E06042F for ; Fri, 10 Apr 2026 14:43:40 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id EC54810450070; Fri, 10 Apr 2026 16:43:39 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1775832220; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=pDInaUMof/aD8NygGUWWRDGbwzBAfSd4Hq4Yz0KRs2E=; b=iP27hp8G5oW3yU3AzpurDFjm5CZPy8klVfROrsPWw2HInHyst2dzx51HA6ylfL9pR3uCh8 78U0NieNGQ81P83Fzdg+Dl/zOmzzVZ3dtTFV3J7YewjZOBnLUvwYidBXoaBJf072iO6DHu udUL26zjrwrT6OkQ4DAkjnJ/bR2WJsrNeKnpKkxNymjozxcX1VOcRNmG89jrPudwxIREvE zldw8j3XXMayq4FPcd3TG8quIHgPGeU1micTYfr5H/tiTwmRkPLCC7yezs2+/zuw8S6+2G G/VIitusNb+xz4uo03l24Qh6/qRde3kxxhevGXZkiM6GgkD8qoAqrxHaOo5fTg== From: Antonin Godard Date: Fri, 10 Apr 2026 16:43:27 +0200 Subject: [PATCH 03/18] ref-manual/classes.rst: document the module-rust class MIME-Version: 1.0 Message-Id: <20260410-second-release-notes-6-0-v1-3-40213436c3ca@bootlin.com> References: <20260410-second-release-notes-6-0-v1-0-40213436c3ca@bootlin.com> In-Reply-To: <20260410-second-release-notes-6-0-v1-0-40213436c3ca@bootlin.com> To: docs@lists.yoctoproject.org Cc: Thomas Petazzoni , Antonin Godard X-Mailer: b4 0.16-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=1229; i=antonin.godard@bootlin.com; h=from:subject:message-id; bh=J5RMlWO/8OFq7Kj514WW7PL4XKqSfhZgLKriXr/u67k=; b=owEBbQKS/ZANAwAKAdGAQUApo6g2AcsmYgBp2QyXAil+Xh2rBfqYdwfqJAbxgEDrSY0MX24W+ pNbr8cEySSJAjMEAAEKAB0WIQSGSHJRiN1AG7mg0//RgEFAKaOoNgUCadkMlwAKCRDRgEFAKaOo NmeUEACeONSK/a+DvF3SwCbi397a1ExouMjX/N7kQNTOwNSsSEAzHpAZefi1qqnirPUUapP/VVs 6Kp9Z2PI11RmoFM3jto9WT1P0ivwYObDvk6SPD0WpSKB1LbQYT8PlHHq0+eqnaytkedqI34MdDm 8iRFQofqfOj4ZAhIEdkcvsrviRTkdxTAoXv6aehfv0eQwmnAIvKFBej0/MWT1kMY29sCCTJfp+C N1ZlghSglr9AuKQMtuqJnxvPWWXpQmzGUZaJe1Xr3M1Rg1rupa4j1MG+7vNrj73jyClrLytTKY4 Kp3CVUqmUs0v1RroRVc7A04sk8m9R8SBaF17KjekgdLkzdxDf8ksV2sShF2F4lCrGPdhl9ETYUq SVIwuDkjEzZM+3BYXu19tBjh4siA2B+jfPcwiDPJqg11e3A3/jp42YWy20eUQ3YtYzrQWJ/UI+4 j61omu0EL9Zcwf0vSTc+6+0T5XmP79a0JE0x6w58N2Z2wFOnzz6EGOFBrWkN9D8Rmbhu9HUWYbR WbWedm2MayXJJV7gbKQNvSM6Mv5RgUqQsj34ISiBr/HGNQz/pPLPBk2SLdIopS0+2cBZWDa5Jig knUPOkO9LFQZBBOKsxGY52tVX6JRV2IFPo9du+IxydCVvkusDUy2xFkBC7aDyf2WLfkrhJWJqsD cjv8w3OeskiCS9w== 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, 10 Apr 2026 14:43:55 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/9231 Added by commit 76fd22f09fab ("module-rust.bbclass: Prepare out-of-tree rust module compilation") in OE-Core. Signed-off-by: Antonin Godard --- documentation/ref-manual/classes.rst | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/documentation/ref-manual/classes.rst b/documentation/ref-manual/classes.rst index bc46fc3f4..2fa888e15 100644 --- a/documentation/ref-manual/classes.rst +++ b/documentation/ref-manual/classes.rst @@ -1793,6 +1793,19 @@ includes one or more kernel modules and has its own means of building the module inherits this class as opposed to inheriting the :ref:`ref-classes-module` class. +.. _ref-classes-module-rust: + +``module-rust`` +=============== + +The :ref:`ref-classes-module-rust` class provides support for building +out-of-tree Linux kernel modules written in the Rust programming language. The +class inherits the :ref:`ref-classes-module` class. + +For general information on out-of-tree Linux kernel modules, see the +":ref:`kernel-dev/common:incorporating out-of-tree modules`" +section in the Yocto Project Linux Kernel Development Manual. + .. _ref-classes-multilib*: ``multilib*`` From patchwork Fri Apr 10 14:43:28 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonin Godard X-Patchwork-Id: 85840 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 792F3F364CD for ; Fri, 10 Apr 2026 14:43:55 +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.157874.1775832226505252720 for ; Fri, 10 Apr 2026 07:43:47 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=dkim header.b=smWSLA1R; 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 75A16C5C1A8 for ; Fri, 10 Apr 2026 14:44:19 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 0614F60434 for ; Fri, 10 Apr 2026 14:43:41 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 6900210450072; Fri, 10 Apr 2026 16:43:40 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1775832220; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=iIXXCB8Gif2+bAjWlVcWP80LjEo96Zvvb1qSGmYMAZc=; b=smWSLA1RDjGrsVMgSNIpRlMInAcNoqNuchW8YFHyWIDPZOWWHPdaF1N0N8UH3jW5uv/K7T tv7EcFU9cLWgJz1tNsm9sZIcV0F/eh9mrQME11lMznGQiEUKop9kwkLx/IFOfsM4SVYVit Djd1Tz7d7rCgYTZxuOkhg+WoC/afEQ1W0VaAQc5fU8bA/i8zdNZU9crrye8xDoIIDCKZT4 TUEnZpXqccwGnnCmhpG1lxUI9XbNpONjcE9SMVyUBdc2FOKH2xKuPXEnLI8T6hIQF+Jm+U 2/mmz7suNpoHd7Hxdrz2Mdafigxw3Ymgsfk5nmj4BLUO3z9m14dgrEB4puOb+g== From: Antonin Godard Date: Fri, 10 Apr 2026 16:43:28 +0200 Subject: [PATCH 04/18] ref-manual/classes.rst: document the KCONFIG_CONFIG_ROOTDIR variable MIME-Version: 1.0 Message-Id: <20260410-second-release-notes-6-0-v1-4-40213436c3ca@bootlin.com> References: <20260410-second-release-notes-6-0-v1-0-40213436c3ca@bootlin.com> In-Reply-To: <20260410-second-release-notes-6-0-v1-0-40213436c3ca@bootlin.com> To: docs@lists.yoctoproject.org Cc: Thomas Petazzoni , Antonin Godard X-Mailer: b4 0.16-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=1878; i=antonin.godard@bootlin.com; h=from:subject:message-id; bh=0c4OD3GB5pdVUTPXYYlU4Ok4fzdhmyo8ZsVwfenjldU=; b=owEBbQKS/ZANAwAKAdGAQUApo6g2AcsmYgBp2QyXYhD+M6KCXL3o2+ZwNoLfo0mDCHoREdVZ0 39UNbOIo1iJAjMEAAEKAB0WIQSGSHJRiN1AG7mg0//RgEFAKaOoNgUCadkMlwAKCRDRgEFAKaOo NrlSD/wLNjtQ2kwlddL5qF3amYM0fUmGsYJShIWvK3dxdISPnijjZeaiUZE4kmZ5I+Dvxdx/GQT GYS3gFDHJW/lFAFy/JdMeZTmpEAlo9MBvfjgLBZGShBNkaO5i+2RBJDAyF0wtewEnlJEDvEFKNs /8/4RTCeTEhxmMVFTPKystmBeJmAmuWPd//WPm7kTGpzborZUa+L/3PA7Ot8LV7fseuwzj9I2NA XkXmdi0dAZTTz/n1z8gAExCj2Ajqfh14HZKFtrIIPhBCyNNEYDaPhwq7VCaiESo4lrKDha0CzR/ OJEvNiV2C2KGfYSntN6SquL8qOI+1KrnPEzc/IFb/xn5shi/M47Ao6kHNex9TDRx/WeDyeWnXf9 MCp+WhGUE1wl8qCGlhs3Eqgszyob4Mlr3Zw60gqXOLEvrdv2ZtijIXsU1AjbgSf4RAlNnit1Ryc eCg9ZM2ET5U10wAwjOGzncD1GBRpjPiKGLV+0s1cMtm3okCOuuZpsH+0nw8Uo5j1pCuQRQegYQ4 rt/UKg7yvrj4A05SwoY2fXsMUe5+s2c0/F977IP58CKrdp7/RGIcGox7+IC3WiOpdSWT3Smofqa o7Jp1tKvqYY9P7GBizz2/iCi29V+lDklZ/+z+ADg99gzLQTzI7TZnLITIs1uO5e6jz+gFrOf1U6 LVAQo4Rawe5PLdw== 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, 10 Apr 2026 14:43:55 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/9234 Added by commit f86282ad2c66 ("cml1: Add the option to choose the .config root dir") in OE-core. Signed-off-by: Antonin Godard --- documentation/ref-manual/classes.rst | 4 ++++ documentation/ref-manual/variables.rst | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/documentation/ref-manual/classes.rst b/documentation/ref-manual/classes.rst index 2fa888e15..acdbe9935 100644 --- a/documentation/ref-manual/classes.rst +++ b/documentation/ref-manual/classes.rst @@ -476,6 +476,10 @@ build configuration system. "cml" stands for "Configuration Menu Language", whic originates from the Linux kernel but is also used in other projects such as U-Boot and BusyBox. It could have been called "kconfig" too. +The CML configuration file location (``.config``) is by default expected to be +in the build directory (:term:`B`). This can be overridden with the +:term:`KCONFIG_CONFIG_ROOTDIR` variable. + .. _ref-classes-compress_doc: ``compress_doc`` diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index 60e608c0c..20e4893d6 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst @@ -5337,6 +5337,11 @@ system and gives an overview of their function and contents. :yocto_git:`symbol_why.py ` script in :yocto_git:`yocto-kernel-tools `. + :term:`KCONFIG_CONFIG_ROOTDIR` + The :term:`KCONFIG_CONFIG_ROOTDIR` variable allows overriding the default + location of the ``.config`` file for recipes using the + :ref:`ref-classes-cml1` class. + :term:`KCONFIG_MODE` When used with the :ref:`ref-classes-kernel-yocto` class, specifies the kernel configuration values to use for options From patchwork Fri Apr 10 14:43:29 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonin Godard X-Patchwork-Id: 85843 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 6CD07F459EF for ; Fri, 10 Apr 2026 14:43:56 +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.157878.1775832229401550064 for ; Fri, 10 Apr 2026 07:43:49 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=dkim header.b=I5sSOGVZ; 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 7ECF4C5C1AB for ; Fri, 10 Apr 2026 14:44:19 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id AA13860435 for ; Fri, 10 Apr 2026 14:43:41 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id E336D10450073; Fri, 10 Apr 2026 16:43:40 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1775832221; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=OqtC1HsUrDna8CY+VUo1kP6QBbG/uO3UflopJXwmx9k=; b=I5sSOGVZcXirJiRkwUBY+6drZBexWROm/GSkHXswVnLhO+8dftHYsPnUaaHaJ1aWKu/s2m 0SUuIJdoJVja9LJo2O3BIuANoX47hhkU63DOMpBeYKng26SHuxwVIltVxWGEZ20Bnl72BR Wl4sjhAbmhLrsMuvfFWCCKHFomZkcZ9SPBt3UFDVgUuKdneNE1F6FmMptpHn98TZgPbwb8 O93SdlEpb5ZsionRxO8m8LYQqV2YkPdL3o/ZRDwYqn82KoEgQhOlxEkJD5H9eRrkjS8Uck CICOVOhKUFQMRTOR5TQ6lubEf81R/n3rPeynl5fo062i+GIXAB+b/rZjvUIHqA== From: Antonin Godard Date: Fri, 10 Apr 2026 16:43:29 +0200 Subject: [PATCH 05/18] ref-manual/variables.rst: document the UKI_DEVICETREE variable MIME-Version: 1.0 Message-Id: <20260410-second-release-notes-6-0-v1-5-40213436c3ca@bootlin.com> References: <20260410-second-release-notes-6-0-v1-0-40213436c3ca@bootlin.com> In-Reply-To: <20260410-second-release-notes-6-0-v1-0-40213436c3ca@bootlin.com> To: docs@lists.yoctoproject.org Cc: Thomas Petazzoni , Antonin Godard X-Mailer: b4 0.16-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=1798; i=antonin.godard@bootlin.com; h=from:subject:message-id; bh=UM+7G0hiqQgbsVD67s0h4w8xdy9GQshKxawN7u+LWZQ=; b=owEBbQKS/ZANAwAKAdGAQUApo6g2AcsmYgBp2QyXj7ve/rJpFZuhja25o76VEmzNiHyZCG44O p622xnZhx2JAjMEAAEKAB0WIQSGSHJRiN1AG7mg0//RgEFAKaOoNgUCadkMlwAKCRDRgEFAKaOo NvjhD/9B0/yZUh+SFf1lnoY5t7wtYampsFD4FlX6kW+/wuJozgiay9BhLMEUOtuTkC6GhrEf1Zh z8VFrCWr3KhYR4pJEPYd8YcMYm3NEDlS+1/q6Rf4PPtde3VgK/YQyLPPL6/sMYPu4oNtSo5YEHM NpN3cmLle/YwrL7u2qBrbyfWuLScYddHM1gt9OUTdWOzfvxiHVu/38KjCgQe6cPFl8mipjgLQqL CPtpqTZxpT0scaEL406lJZxszxOHymx6Ijyo3+qCsxOCb4P6v6YlmZqhV9s2rz3p0nXfg/T/RiA aogvncTG1+ORb4u2BYAAOvjtoHN/gwAV4rQv1ghi+uHrcWbcVMu/4HciVsbGz0SiCbEcc7IqgFB +dwFYnkYetDNDpI0Zj4QM9jWWU3c3QIMT+3VzeSj3l5qDFXvKYhaiBwECWc0QmrCklwU0GrCTi7 40Mmdw+IbohAVw6ECjReIv3wTjqEd9vjX+NsIgp9nvdD6Pt1uI7uCxTir5Ge41jq2oUD6EiYrEv 2MkvNtC/ZRifqQ3VfUg+ZtzxKCpahnoNZ9sfCBgU3OK01IZmVn54k3d4MLp6WI1fVhFtvgY73uf UeHZITe4f+5V5o68k0bBveY3uSFYpBjEoYLVAtiNNrnYrlLKfWtKVUkgtNTtCOTG2lymlxrLkky QLtbjZchEvfepJA== 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, 10 Apr 2026 14:43:56 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/9236 Added by commit 56aeb7ff4e23 ("uki.bbclass: make DTB packaging optional") in OE-Core. Signed-off-by: Antonin Godard --- documentation/ref-manual/classes.rst | 1 + documentation/ref-manual/variables.rst | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/documentation/ref-manual/classes.rst b/documentation/ref-manual/classes.rst index acdbe9935..38b16c0f9 100644 --- a/documentation/ref-manual/classes.rst +++ b/documentation/ref-manual/classes.rst @@ -3559,6 +3559,7 @@ The variables used by this class are: - :term:`UKI_SB_CERT`: optional UEFI secureboot certificate matching the private key - :term:`UKI_SB_KEY`: optional UEFI secureboot private key to sign UKI with +- :term:`UKI_DEVICETREE`: list of device tree blobs to include to the UKI For examples on how to use this class see oeqa selftest :oe_git:`meta/lib/oeqa/selftest/cases/uki.py diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index 20e4893d6..7606d7a42 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst @@ -11899,6 +11899,11 @@ system and gives an overview of their function and contents. `__ command. + :term:`UKI_DEVICETREE` + When inheriting the :ref:`ref-classes-uki` class, the :term:`UKI_DEVICETREE` + variable holds the list of device tree blobs to include to the `Unified + Kernel Image (UKI) `__. + :term:`UKI_FILENAME` When inheriting the :ref:`ref-classes-uki` class, the output file name for the generated `Unified Kernel Image (UKI) From patchwork Fri Apr 10 14:43:30 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonin Godard X-Patchwork-Id: 85848 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 DCCD0F459E9 for ; Fri, 10 Apr 2026 14:43:55 +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.158223.1775832229404368534 for ; Fri, 10 Apr 2026 07:43:50 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=dkim header.b=GRIJgQMT; 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 7E5F1C5C1AA for ; Fri, 10 Apr 2026 14:44:19 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 4A84860439 for ; Fri, 10 Apr 2026 14:43:42 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 9807110450025; Fri, 10 Apr 2026 16:43:41 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1775832221; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=GtZsVHefQ2AXJKPaNipso0AZDtnYmdXyFmxOrl1isXo=; b=GRIJgQMTUtWsS2KgdTl816dMEyAElbpXZUmaEytV9UT/YTbzrnZyYebFkFtR0WlboCZm6z B9uAJbVhZBsAdBhBFFhMFhYzQjMFQRK19HPgsW2w2Za6YJJy0TsB0I14ovi9XkZ72bBzBG 5GcmRFzO8VGH6rzHrUW5U7BPhFqMlCKF2yhl0yRTx5K/MTJkcIX3XSUx7drel+RGsxBX7Z Ui0nStJKTmuTmnRUysRYJo8nBZtg5E+Gd2iH9BtAj/fCEDJXdAmVqC7UEdMdmI25zWxRTY 235SCsa4RwMHRnQUmiVwAV1mMWJWXPCurgWP8KA5HoATF7D6gMBBPleJgTzc5g== From: Antonin Godard Date: Fri, 10 Apr 2026 16:43:30 +0200 Subject: [PATCH 06/18] docs-wide: refresh SBOM documentation after SPDX2.2 removal MIME-Version: 1.0 Message-Id: <20260410-second-release-notes-6-0-v1-6-40213436c3ca@bootlin.com> References: <20260410-second-release-notes-6-0-v1-0-40213436c3ca@bootlin.com> In-Reply-To: <20260410-second-release-notes-6-0-v1-0-40213436c3ca@bootlin.com> To: docs@lists.yoctoproject.org Cc: Thomas Petazzoni , Antonin Godard X-Mailer: b4 0.16-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=7594; i=antonin.godard@bootlin.com; h=from:subject:message-id; bh=gpiwZXJuLI0cUOefJnTabTY9Tkd0Kg7n4eKfm1WmCTg=; b=owEBbQKS/ZANAwAKAdGAQUApo6g2AcsmYgBp2QyXH5wdVjBPuazJzkP7EosNkPd0VRVXc1Slw dXQ2UAl+ueJAjMEAAEKAB0WIQSGSHJRiN1AG7mg0//RgEFAKaOoNgUCadkMlwAKCRDRgEFAKaOo NlpSD/9PJvB6TmbLsLwF5FULavb7DoLuwzCegsONacs6BY7ILkFVPmiCZVyxWpdRLKG4xYocbFz Qq5rElKXzlSOVTq2NJPho5JAi+4omNhjxB/CQ5TzuE89F5N3wd5+qEFZ0SMfRD+97dHYgTYT5Zm DuXB/a+i3S4TACP4oMp11PFKS9bgiTFo9Nj0g8tGIRSSOlaB/hgAqikWltKlI4F5RektxZWAmsf FsmVdtRCwq41HMy83nvJt5pQ1l0E6kDFK4EQeP9kbu3t+jBfGbTZ30hXwu9RHmVSfE+Y+CSYEcn hQtbQfQnDszZWGCLrBAdJm+rQZVHsO6TNa/V2mPpdHroiCvoUmNP2f87vJQcFyyoQJLC34A+ZhY STkDGEMJCzqRcIrpPBEE9yFaTv3sGXAbmDRbAQmhcqJIN44T7qTuFDwv7PxTYysn2XKdZzrI1HU YeZh1fF7vavlioFYJK4cQsm0CC7o0ZOCVNKAztdKdfAn569VJ1tSEJ+96Tkxh5Q80gSQ31msIh5 YbPyt3DybWTJ7UDFbvZjuu/4UBMW9ihSZB0uCIdWB6AC8h/OHG7NrzLaPxwmBC/vb6HvPjJEziF q3YbwxrEriLsfqH1+Cp50GGllYZExxykjh97EuTlpskBJODJ96TQuDwwDHYmHEXjWEY1XXNra68 DmQdXq6/Nmf6JdQ== 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, 10 Apr 2026 14:43:55 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/9242 SPDX2.2 was removed in [1]. Refresh the documentation surrounding SDPX SBOMs to removed obsolete variables and output files. [1]: https://git.openembedded.org/openembedded-core/commit/?id=12abd0574c267bade0962ecb39d9e8da8c56842b Signed-off-by: Antonin Godard --- documentation/dev-manual/sbom.rst | 38 +++++--------------------- documentation/ref-manual/classes.rst | 4 +-- documentation/ref-manual/variables.rst | 50 ---------------------------------- 3 files changed, 9 insertions(+), 83 deletions(-) diff --git a/documentation/dev-manual/sbom.rst b/documentation/dev-manual/sbom.rst index e0c3ed6d1..819340a74 100644 --- a/documentation/dev-manual/sbom.rst +++ b/documentation/dev-manual/sbom.rst @@ -31,25 +31,15 @@ If needed, it can be disabled from a :term:`configuration file`:: INHERIT_DISTRO:remove = "create-spdx" -Upon building an image, you will then get: - -- :term:`SPDX` output in JSON format as an ``IMAGE-MACHINE.spdx.json`` file in - ``tmp/deploy/images/MACHINE/`` inside the :term:`Build Directory`. - -- This toplevel file is accompanied by an ``IMAGE-MACHINE.spdx.index.json`` - containing an index of JSON :term:`SPDX` files for individual recipes. - -- The compressed archive ``IMAGE-MACHINE.spdx.tar.zst`` contains the index - and the files for the single recipes. +Upon building an image, you will then get the :term:`SPDX` output in JSON format +as an ``IMAGE-MACHINE.spdx.json`` file in ``tmp/deploy/images/MACHINE/`` inside +the :term:`Build Directory`. The :ref:`ref-classes-create-spdx` class offers options to include more information in the output :term:`SPDX` data: - Make the json files more human readable by setting (:term:`SPDX_PRETTY`). -- Add compressed archives of the files in the generated target packages by - setting (:term:`SPDX_ARCHIVE_PACKAGED`). - - Add a description of the source files used to generate host tools and target packages (:term:`SPDX_INCLUDE_SOURCES`) @@ -62,8 +52,6 @@ more information in the output :term:`SPDX` data: - Export the recipe's ``PACKAGECONFIG`` features (enabled/disabled) into the SPDX document (:term:`SPDX_INCLUDE_PACKAGECONFIG`). -- Add archives of these source files themselves (:term:`SPDX_ARCHIVE_SOURCES`). - - Exclude specific files from the SPDX output using Python regular expressions (:term:`SPDX_FILE_EXCLUDE_PATTERNS`). @@ -82,28 +70,16 @@ more information in the output :term:`SPDX` data: (:term:`SPDX_INCLUDE_BITBAKE_PARENT_BUILD`, :term:`SPDX_INVOKED_BY`, :term:`SPDX_ON_BEHALF_OF`). -Though the toplevel :term:`SPDX` output is available in -``tmp/deploy/images/MACHINE/`` inside the :term:`Build Directory`, ancillary -generated files are available in ``tmp/deploy/spdx/MACHINE`` too, such as: - -- The individual :term:`SPDX` JSON files in the ``IMAGE-MACHINE.spdx.tar.zst`` - archive. - -- Compressed archives of the files in the generated target packages, - in ``packages/packagename.tar.zst`` (when :term:`SPDX_ARCHIVE_PACKAGED` - is set). - -- Compressed archives of the source files used to build the host tools - and the target packages in ``recipes/recipe-packagename.tar.zst`` - (when :term:`SPDX_ARCHIVE_SOURCES` is set). Those are needed to fulfill - "source code access" license requirements. - See also the :term:`SPDX_CUSTOM_ANNOTATION_VARS` variable which allows to associate custom notes to a recipe. See the `tools page `__ on the :term:`SPDX` project website for a list of tools to consume and transform the :term:`SPDX` data generated by the OpenEmbedded build system. +See the definition of the variables starting with ``SPDX_`` in the +:doc:`Yocto Project Reference Manual glossary ` for more +information. + See also Joshua Watt's presentations `Automated SBoM generation with OpenEmbedded and the Yocto Project `__ at FOSDEM 2023 and diff --git a/documentation/ref-manual/classes.rst b/documentation/ref-manual/classes.rst index 38b16c0f9..d29339491 100644 --- a/documentation/ref-manual/classes.rst +++ b/documentation/ref-manual/classes.rst @@ -559,8 +559,8 @@ The toplevel :term:`SPDX` output file is generated in JSON format as a as well as in ``tmp/deploy/spdx``. The exact behaviour of this class, and the amount of output can be controlled -by the :term:`SPDX_PRETTY`, :term:`SPDX_ARCHIVE_PACKAGED`, -:term:`SPDX_ARCHIVE_SOURCES` and :term:`SPDX_INCLUDE_SOURCES` variables. +by the :term:`SPDX_PRETTY`, :term:`SPDX_INCLUDE_SOURCES` and other variables +starting with with ``SPDX_``. See the description of these variables and the ":ref:`dev-manual/sbom:creating a software bill of materials`" diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index 7606d7a42..bb39ceaaf 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst @@ -9324,56 +9324,6 @@ system and gives an overview of their function and contents. SOURCE_MIRROR_URL = "http://example.com/my_source_mirror;user=;pswd=" - :term:`SPDX_ARCHIVE_PACKAGED` - This option allows to add to :term:`SPDX` output compressed archives - of the files in the generated target packages. - - Such archives are available in - ``tmp/deploy/spdx/MACHINE/packages/packagename.tar.zst`` - under the :term:`Build Directory`. - - Enable this option as follows:: - - SPDX_ARCHIVE_PACKAGED = "1" - - According to our tests on release 4.1 "langdale", building - ``core-image-minimal`` for the ``qemux86-64`` machine, enabling this - option multiplied the size of the ``tmp/deploy/spdx`` directory by a - factor of 13 (+1.6 GiB for this image), compared to just using the - :ref:`ref-classes-create-spdx` class with no option. - - Note that this option doesn't increase the size of :term:`SPDX` - files in ``tmp/deploy/images/MACHINE``. - - :term:`SPDX_ARCHIVE_SOURCES` - This option allows to add to :term:`SPDX` output compressed archives - of the sources for packages installed on the target. It currently - only works when :term:`SPDX_INCLUDE_SOURCES` is set. - - This is one way of fulfilling "source code access" license - requirements. - - Such source archives are available in - ``tmp/deploy/spdx/MACHINE/recipes/recipe-packagename.tar.zst`` - under the :term:`Build Directory`. - - Enable this option as follows:: - - SPDX_INCLUDE_SOURCES = "1" - SPDX_ARCHIVE_SOURCES = "1" - - According to our tests on release 4.1 "langdale", building - ``core-image-minimal`` for the ``qemux86-64`` machine, enabling - these options multiplied the size of the ``tmp/deploy/spdx`` - directory by a factor of 11 (+1.4 GiB for this image), - compared to just using the :ref:`ref-classes-create-spdx` - class with no option. - - Note that using this option only marginally increases the size - of the :term:`SPDX` output in ``tmp/deploy/images/MACHINE/`` - (+ 0.07\% with the tested image), compared to just enabling - :term:`SPDX_INCLUDE_SOURCES`. - :term:`SPDX_BUILD_HOST` The base variable name describing the build host on which the build is running. The value must name a key from ``SPDX_IMPORTS``, allowing From patchwork Fri Apr 10 14:43:31 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonin Godard X-Patchwork-Id: 85838 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 6114BF4487F for ; Fri, 10 Apr 2026 14:43:55 +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.157877.1775832229384677619 for ; Fri, 10 Apr 2026 07:43:49 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=dkim header.b=rAvCgn9T; 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 7FB7CC5C1AC for ; Fri, 10 Apr 2026 14:44:19 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id C17D26046F for ; Fri, 10 Apr 2026 14:43:42 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 3305B10450023; Fri, 10 Apr 2026 16:43:42 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1775832222; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=gxbiO+ph9VzFKQUOgeC+dJmrkAmdsypCeAjLaHvL0hQ=; b=rAvCgn9Th5h2WVuhXXo7eoH65Ri8595tNq8HqZFnaw3qN8R4m4wzUDIQG7LaT6oWUdZNGo wIXe7WnueIEiwh+KL/uM8QPYG/XwcrL6Kg5+MFatJCpi2c3dVk2b2BGJ6JCOEgUSnAjyzd qt6+L85aVxacKTpdNrw7muI4y/47BRd8ZxFYoxWS5DbyKUIkd+BDjmmI2FK2C9P9/J9D5G eOiqinWLbP7i7Jlw0sy3fkWQBlIpotY3ml2e+bbnTIFtpMOPbyvYlem1+051c6ZYrpOr/+ MDf+35G8cnvYCviQYwHJ7YxTrjY6vmq3o5spIU4Hz9tI4SSGBeSLhE6sxd8Mmw== From: Antonin Godard Date: Fri, 10 Apr 2026 16:43:31 +0200 Subject: [PATCH 07/18] dev-manual/sbom.rst: add bullet point on recipe SBOM MIME-Version: 1.0 Message-Id: <20260410-second-release-notes-6-0-v1-7-40213436c3ca@bootlin.com> References: <20260410-second-release-notes-6-0-v1-0-40213436c3ca@bootlin.com> In-Reply-To: <20260410-second-release-notes-6-0-v1-0-40213436c3ca@bootlin.com> To: docs@lists.yoctoproject.org Cc: Thomas Petazzoni , Antonin Godard X-Mailer: b4 0.16-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=1472; i=antonin.godard@bootlin.com; h=from:subject:message-id; bh=kJkxD1s5X9IcHES2ahrV1wLOZ41dadd9PrcVvgREmhQ=; b=owEBbQKS/ZANAwAKAdGAQUApo6g2AcsmYgBp2QyXVvPeowlPQ8CQ2/WpALcTwtBaCMzb8J5lA NkrFi9E0p2JAjMEAAEKAB0WIQSGSHJRiN1AG7mg0//RgEFAKaOoNgUCadkMlwAKCRDRgEFAKaOo NvpvD/9fQAu1LvADtwN5Q5K0r4c5/AHye50H0BF5OwM5s59UymlPYpXbyDk4ysrlYqQ7ynUY8aL A8W3BJ+Ars7GTHhobg0NP1LGpN8ytXMWkjy9XRYi73hKjh35YDNMdWA3UwVPHDGVvy81K+ZtjVD 9Eokzm79720f6za7iYLFindkG4BihWxCok3+Hcb4tAyVgaRdQ4RxESuiGc++87joiUlOtVtBYLv JSJk9qw/K8MfUYdoEjxTqwxQkaS1hjnJ7GN/ZmI/BJBmb+XbPnWByLi1y9TGw4Tvy6dFW10ikcd 9D03B0tpmydsrUg0jZUPawBXjAIO7qYIxz1qRR3M1g2TVj2V63m86jKX9ZX/fmThjW1L7X7RRyc SdIEGps2uBb4OM1gPuo8V3LPG+GDfZNFrvVD6SuHjGMqVn/Rb3MOUZC43G2GOpFx+FEJQNHDvJz roRlxVOieyR5CjeMP7sgyAwOQpb0wkJA+QorxKjBW3ahJiXmQRi0TEKIA4ARdqDCEs9X1qKMAGQ jQEf0vrewwWXuMdDy9fIAa5b1Kqe+ERTQ0EsZqUCbyBCRaOu6i8WVwY/pO+C/rTfbiZ1lxUaawF RF7YF/Vr7gtKYD3wg1fH1cIvEiWcEdfDS2TgFJZsbsoSB3dhN6wK7JymKvqIgxaXIRvdExVgyOV ZucE9fZ+w2i9TrQ== 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, 10 Apr 2026 14:43:55 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/9235 Added by commit d999ac407c86 ("spdx3: Add recipe SPDX data") in OE-Core. Signed-off-by: Antonin Godard --- documentation/dev-manual/sbom.rst | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/documentation/dev-manual/sbom.rst b/documentation/dev-manual/sbom.rst index 819340a74..45b63ed8e 100644 --- a/documentation/dev-manual/sbom.rst +++ b/documentation/dev-manual/sbom.rst @@ -31,9 +31,20 @@ If needed, it can be disabled from a :term:`configuration file`:: INHERIT_DISTRO:remove = "create-spdx" -Upon building an image, you will then get the :term:`SPDX` output in JSON format -as an ``IMAGE-MACHINE.spdx.json`` file in ``tmp/deploy/images/MACHINE/`` inside -the :term:`Build Directory`. +There are two ways to generate SBOM metadata: + +- By building an image, you will then get the :term:`SPDX` output in JSON format + as an ``IMAGE-MACHINE.spdx.json`` file in ``tmp/deploy/images/MACHINE/`` inside + the :term:`Build Directory`. + +- By generating the SBOM document using the recipe metadata only: + + .. code-block:: console + + $ bitbake -c create_recipe_sbom + + Note that recipe SBOM is also included in the image SBOM document (for the + recipes involved in the build of the image only). The :ref:`ref-classes-create-spdx` class offers options to include more information in the output :term:`SPDX` data: From patchwork Fri Apr 10 14:43:32 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonin Godard X-Patchwork-Id: 85836 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 303F6F4487B for ; Fri, 10 Apr 2026 14:43:54 +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.157879.1775832229407407361 for ; Fri, 10 Apr 2026 07:43:49 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=dkim header.b=FzE59woo; 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 7D57BC5C1A9 for ; Fri, 10 Apr 2026 14:44:19 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 4976A60495 for ; Fri, 10 Apr 2026 14:43:43 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id A9A0010450026; Fri, 10 Apr 2026 16:43:42 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1775832222; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=Xa/+fELT1Q/dhD+kGEQpXCYW1NEzMO/cJHNUk6LQtaQ=; b=FzE59wooDcmF00VsoHKaMlH5d9sLvy56fCDgQlKjAdiSgwhb0RNQ/P/6lnKv4rNQfyVOvR a/OpVS8Nc7iGxGCd3t46QRjOXsVjf83044sfLZUTuT24V3XYN3g7XUfhOLxNvtjLRfd+5j ny2z+CAgVKYIqfODsW5ub1h5bUzTsLDR4QLRE4BN7lC0qbNupK6KDDkZcctkMBxTWcI03t Fa+E5LKDdlr89CKuidKCM1DzzmAolsm2IFbzojqrUzN96C8gBLng+cRRBPxNi7hxwlGzfv EohJrprSmA25zAGV5wurWsg5caQFV79Ix0XBuf7grdaX9uVciNntB7bdUTUDAg== From: Antonin Godard Date: Fri, 10 Apr 2026 16:43:32 +0200 Subject: [PATCH 08/18] ref-manual/variables.rst: document the SPDX_PACKAGE_URLS variable MIME-Version: 1.0 Message-Id: <20260410-second-release-notes-6-0-v1-8-40213436c3ca@bootlin.com> References: <20260410-second-release-notes-6-0-v1-0-40213436c3ca@bootlin.com> In-Reply-To: <20260410-second-release-notes-6-0-v1-0-40213436c3ca@bootlin.com> To: docs@lists.yoctoproject.org Cc: Thomas Petazzoni , Antonin Godard X-Mailer: b4 0.16-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=1400; i=antonin.godard@bootlin.com; h=from:subject:message-id; bh=wVGiGIDlWTn35+OEGEGhiU8ImvINWX0dh4WM4KnGVS8=; b=owEBbQKS/ZANAwAKAdGAQUApo6g2AcsmYgBp2QyXM1l/fm+IUOG2Xjircqyst9kN655J/v98Q CAyZyA7atiJAjMEAAEKAB0WIQSGSHJRiN1AG7mg0//RgEFAKaOoNgUCadkMlwAKCRDRgEFAKaOo NgZREAC3NVpC6Dd7f6hgR4yW0njczPZJHwHOQXmkG2IGmglWe+ZhpbBSffHRNUjcMa0j+jdZAMT zjU8HYmcYT5RDbD+5FQF7nyxLVNP9DmVQ2Lexhdud/Q5pwR3DdehAxXlzEori4ZDq/hY4TzuNUH KUJCyLaPMuqCKdzkUsoAyZD926IKgyrzpYBiRU50m5gKB2ylYfzdQH3UYlPcU+LrKb6+MOfdMHw DvkuQj3CYA/S6mhfUAUl+u56w3l+NJdHzLUAmb89kJnYi5k8VVPIIQVVGNKI7JJaC+2KPJryFxU n/defA96PpDQzfL53o6/3lDD2TMc8+aZxGGQVwuBSM+ne+kG+7ZdCs8WuNKqL1AYBDu1rp1P5BI ERe+KucyBX8bC79v9AKx0cdJQGOnQloCgOUF1R1ptMHFCvm9JKJZ2E/nZOomjEXnkijQEKTkSXC 6HO2utqwE9TYRdfCAlMmbQmX39Z6f0FjYHwyOKkpQ3+/Q6adFywod3QUZVNen8h1Kg2i73V0AJK gLmsvj2xj+IIwvWUH3BF0eolNMXpZ/xJ+lqkb/TMptarbzEctj3DOaKgq2gO8YI/tTsL4vxXd9y Xz6YhHhtl9DNZYsY2u+az6IpdaTWDZaNCrEQIU5P+iZua8YXSwKeEae+a7dwLeD3O8FXIUmIqyG k4rzK4n4x6Vz4Sw== 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, 10 Apr 2026 14:43:54 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/9237 Added by commit 874b2d301d3c ("spdx: Add yocto PURLs") in OE-Core. Signed-off-by: Antonin Godard --- documentation/ref-manual/variables.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index bb39ceaaf..6c3f62d9f 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst @@ -9659,6 +9659,15 @@ system and gives an overview of their function and contents. specification) for a software Package. The default value of this variable is an empty string. + :term:`SPDX_PACKAGE_URLS` + A space separated list of Package URLs ("PURLs") for the software package. + The first item in this list will be listed as the ``packageUrl`` property + of the packages, and all PURLs (including the first one) will be listed as + external references. The default value is an auto generated ``pkg:yocto`` + PURL based on the recipe name, version, and layer name. Override this + variable to replace the default, otherwise append or prepend to add + additional PURLs. + :term:`SPDX_PACKAGE_VERSION` This variable controls the package version as seen in the SPDX 3.0 JSON output (``software_packageVersion``). The default value for this variable From patchwork Fri Apr 10 14:43:33 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonin Godard X-Patchwork-Id: 85846 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 A6408F459EE for ; Fri, 10 Apr 2026 14:43:56 +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.158224.1775832229405458385 for ; Fri, 10 Apr 2026 07:43:50 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=dkim header.b=XhRCN0Rq; 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 81204C5C1AD for ; Fri, 10 Apr 2026 14:44:19 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id CC4DE60497 for ; Fri, 10 Apr 2026 14:43:43 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 2CDC410450070; Fri, 10 Apr 2026 16:43:43 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1775832223; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=H7CS7oKv+1NmBZx8djrRp0h9RErt/tme0DQJT64cxCA=; b=XhRCN0RqvR6WU/EDk33pkDtB62Qh/NhiQwwftrVDb4tzpo4oQlJuExtVctuy7C/mXrG28X wJk08p6k5PIeaujIdlMRsPbAw8xc2nu8BV23JM6TlV4gobXlCm9lFOkBCt6fhDaCqPTcU0 3pwwqibfG59FK+iZ2hBtxaN1SZN3Q7TsuMxau9AcK+FvylGoRQ1YPTgi8Wgn3yrgXUpgps 0JUwPsUWTVcKJh9qpwrMBIYDGvX9rDCDavxUO8P2KzUMqwv6Owv7ryMRMpPElZ7Nt4Q32/ Tkmd3UGzd6l7+jcvu5epjH02ldS5a5/MPYJD4GVjSdNUKAxl5WbAbHpKdzms3w== From: Antonin Godard Date: Fri, 10 Apr 2026 16:43:33 +0200 Subject: [PATCH 09/18] ref-manual/variables.rst: document the SPDX_GIT_PURL_MAPPINGS variable MIME-Version: 1.0 Message-Id: <20260410-second-release-notes-6-0-v1-9-40213436c3ca@bootlin.com> References: <20260410-second-release-notes-6-0-v1-0-40213436c3ca@bootlin.com> In-Reply-To: <20260410-second-release-notes-6-0-v1-0-40213436c3ca@bootlin.com> To: docs@lists.yoctoproject.org Cc: Thomas Petazzoni , Antonin Godard X-Mailer: b4 0.16-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=1287; i=antonin.godard@bootlin.com; h=from:subject:message-id; bh=wri/3TafWqXO7625lttO5db/gfpHec1JwyNIuitx9L8=; b=owEBbQKS/ZANAwAKAdGAQUApo6g2AcsmYgBp2QyXIouqOkItKEdc1fYcDAKGcS9TTdGumGlSg LrdePlLQJmJAjMEAAEKAB0WIQSGSHJRiN1AG7mg0//RgEFAKaOoNgUCadkMlwAKCRDRgEFAKaOo NqVjD/9TTrNVLKyiqrYV7b8mCf8Jkpsq+CS1cmWmks7AVJCPtRoiKFccghOyxnrAigVr1SkwNYG BRWJwQV4hNLZv7lVBCHcT3Sn5BoUKBUOSTMqltFFGBuN/k2FRSJR4upQ4VF98XsJ5wI0BONPONw FQfbmxsGAlgPSk78eDDEVkars9xo2k5lKvpRtPgBI+VioCRDEeZJP4M0aOORx7QzEo/QNzrzgH4 3xiSFNZh2PnJQL7/tTe42unaqfLbpbUSNYDi5wHihX9GbMFNaMXstjTdmDw7RPESWMcyGAXr3aa pj/NN7HeFGANqEbdpanMXVoBmJUdMQP1cyubAtjGouBIa7VcP5T+/PTBLCVqdNTy4/PYyr5ktIA f+q88/IhPM+rMBJPORU/rdBqUAXGuD389aUBL+o/wqcyGEmNBI+G9YJ00BsBIVyi0PbfFdfqjbD Drcn3YkjbWIH36y91S+gQFiwtEBRgI6RJZ6FUm/kkIgK50PMwHJnddgCSL5yNpYAYaV2AVMSSkg PZoY+Q9B9wU98QDsaeWq5HtfcOaHDWokn8X/570ztHsTtq+7N3LeDvT8SoRkbaDkjsCML3uUBWG 1/cKN/ispk853/cs2MFJurXtEX0fFEwDlNXOkBEHh39Euao3emU3PWHpNCnQhkVJ8c35++ugEZA mgwPxpYlI5gB7yA== 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, 10 Apr 2026 14:43:56 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/9244 Added by commit 9f1825e74d0f ("spdx30: Add Git version and PURL to source downloads") in OE-Core. Signed-off-by: Antonin Godard --- documentation/ref-manual/variables.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index 6c3f62d9f..653bdb1b4 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst @@ -9396,6 +9396,17 @@ system and gives an overview of their function and contents. See also :term:`SPDX_INCLUDE_SOURCES`. + :term:`SPDX_GIT_PURL_MAPPINGS` + A space separated list of ``domain:purl_type`` mappings to configure PURL + (Package URLs) generation for Git source downloads. + + For example, adding ``gitlab.example.com:pkg:gitlab`` to this variable + will map repositories hosted on "gitlab.example.com" to the ``pkg:gitlab`` + PURL type. + + See also the :term:`SPDX_PACKAGE_URLS` variable for more information on + PURLs. + :term:`SPDX_IMAGE_SUPPLIER` The name of an agent variable prefix describing the organization or person who supplies the image SBOM. When set, the supplier is attached From patchwork Fri Apr 10 14:43:34 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonin Godard X-Patchwork-Id: 85835 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 071A2F44875 for ; Fri, 10 Apr 2026 14:43:54 +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.158225.1775832229432317902 for ; Fri, 10 Apr 2026 07:43:50 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=dkim header.b=X6uG++hQ; 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 87951C5C1AE for ; Fri, 10 Apr 2026 14:44:19 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 59E1C603F0 for ; Fri, 10 Apr 2026 14:43:44 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id ADA5D10450072; Fri, 10 Apr 2026 16:43:43 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1775832223; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=i/vtG0iIeh7cso4ta5qq1n9ZBIr0RT7cY+x+vMD5TU4=; b=X6uG++hQDPhUxaqfGGJQTe7BI+owhk81Ljk5Y1+45CSBb4a5bupyD+LpuI9jnHai8Xo8+1 IlaO2W0KlRHAQjLCX37hXB28y7u+hIdFVcnCDrI/txzgsCjxyD+JMTxjRMwhFp5tBzecbV tRS+lbwdirObXmbBFmeWzh3xLW5lfK7rVhR/lvk9tT6GINy6OnIbPTmzfKmk44Pgvd8SGk 5cEUTAxPA6sYltq8aiomid2MiLR1CRk7hmV3a2eQfy8IUQqgG2NBTUNSxr+LwHLTVEdW5G aUvDpA6trdm6UuvuLSezM50pSVJXDhc46p5zGW6f1kJjE3Q1BhjJUFjnxhlJJA== From: Antonin Godard Date: Fri, 10 Apr 2026 16:43:34 +0200 Subject: [PATCH 10/18] ref-manual/variables.rst: document the SPDX_INCLUDE_VEX variable MIME-Version: 1.0 Message-Id: <20260410-second-release-notes-6-0-v1-10-40213436c3ca@bootlin.com> References: <20260410-second-release-notes-6-0-v1-0-40213436c3ca@bootlin.com> In-Reply-To: <20260410-second-release-notes-6-0-v1-0-40213436c3ca@bootlin.com> To: docs@lists.yoctoproject.org Cc: Thomas Petazzoni , Antonin Godard X-Mailer: b4 0.16-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=1416; i=antonin.godard@bootlin.com; h=from:subject:message-id; bh=5iER5ZRDYHAqDvVEQaj9J8IaXqIgdx89L3VxR2wMbS4=; b=owEBbQKS/ZANAwAKAdGAQUApo6g2AcsmYgBp2QyYkuT3iLzFjZWQ96kwyhsvzwL5O88fUrTDB OVRSQOWcyKJAjMEAAEKAB0WIQSGSHJRiN1AG7mg0//RgEFAKaOoNgUCadkMmAAKCRDRgEFAKaOo NkCkD/wNZP0DfJgiJ/JwxYJB/aEwi2i1J/swK/y2HT0jaXCr+63mRqFr+zZaR4bbtnK4E+ndsk2 TO94UK7goGJq/EbS+rl/jq7SiCI4PjoSuRT7t5c+Yes2PAayIMbn27jwWZxoaWReAIElk0cVHgP tiCa+WIi4LgY9Y6MlP4MOJZZeeRU65lZC2Or4XOVloxpUIxhfNQ1/0SRfSKXng9IXLeRowtq1+k k3prcsB365or9djUIK5qpwUqA/WbvUQvjpqqz9GwyKxzFnX0Gmf4X0ocNrmEjf06g+BXMlfWb89 utwvIeOeFa+Slfgz1/P2qx5kRYf1Ej+JY3OZmRU0in2brJwYbmaLdk611szhD0BUDrBnga8F9Y/ qiEkKAkfhacqh6yQ16a43ok3xYy9R8jH7qR0pvoh/5Qjv+qc0zDIjO+IAk+FJzKuYJQ1XO13EKH m0ydhVRy0SgDCR0ZgxvVUtaOKpuj3ltX+KOrCTGo4vqa/H9pg+8QsfLsvxHaA5caPI3NcqEoyQM QQ0RAdFqV457X/h7JUXgoihQ1loX9EP+jDOJHntl1I+a9OcOF6lb7k1E6SoJsgvR1h+lXYGaojD LC4BamCzmKhw8eF7k7TeBJ7OTEh5RgYT4v3VXtiiHS6rgcKYpdub5X725pNnd15HhYO63PCETXu EJ9dPqFP1zTumaw== 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, 10 Apr 2026 14:43:53 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/9241 Added by commit b63f6f50458f ("classes/create-spdx-3.0: Add classes") in OE-Core. Signed-off-by: Antonin Godard --- documentation/ref-manual/variables.rst | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index 653bdb1b4..89a5e632b 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst @@ -9563,6 +9563,20 @@ system and gives an overview of their function and contents. increases the SBOM size (potentially by several gigabytes for typical images). + :term:`SPDX_INCLUDE_VEX` + This option controls what `VEX `__ + information will be present in the output SPDX documents. + + It can take three different values: + + - ``none``: disable all VEX data. + + - ``current`` (default): include VEX data for vulnerabilities not already + fixed in the upstream source code. + + - ``all``: get all known historical vulnerabilities, including those + already fixed upstream (warning: this can be large and slow). + :term:`SPDX_INVOKED_BY` The base variable name describing the agent that invoked the build. Each ``Build`` object in the SPDX output is linked to this agent with an From patchwork Fri Apr 10 14:43:35 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonin Godard X-Patchwork-Id: 85839 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 62422F4487D for ; Fri, 10 Apr 2026 14:43:55 +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.157880.1775832229464135756 for ; Fri, 10 Apr 2026 07:43:49 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=dkim header.b=qkI6Z9mW; 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 0B966C5C1AF for ; Fri, 10 Apr 2026 14:44:20 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id D2371603F0 for ; Fri, 10 Apr 2026 14:43:44 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 420FC10450025; Fri, 10 Apr 2026 16:43:44 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1775832224; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=uouaJxUfqsaEFwDvjftO91aKvkT1sMnidGMxbiWUBPA=; b=qkI6Z9mWubV5pSh3qckOHbuF1owSXdoEbZVNEUCxkStDmcN13MyNUwPqIgHU3EzRuGnHkT AJGg0EPUllj1R7yphf4k7HAz1f+refdcSPuJTJtbS1Pd2zadCqr4YZMxy/1CHlBQRFG+tW a8yqiMiTRyAYj95uglA2tY3T9c+yHm8BUJ2gh1ngPtihAKdZ13YtrFwqQoViNoHks/zGes TOflm6mNuoLk7839jldz7/s9i1mL2bpwwZfjRhVD6JymBbz7VEcM9LtamPXvF6H3i8FvSU WofQpnqcaOwsAx6/1KTePQE6284SL/69bZWLCwBX2TZ6oyJ4HVaEe5vhT0DOcQ== From: Antonin Godard Date: Fri, 10 Apr 2026 16:43:35 +0200 Subject: [PATCH 11/18] migration-guides/migration-6.0.rst: add note on WIC_SECTOR_SIZE MIME-Version: 1.0 Message-Id: <20260410-second-release-notes-6-0-v1-11-40213436c3ca@bootlin.com> References: <20260410-second-release-notes-6-0-v1-0-40213436c3ca@bootlin.com> In-Reply-To: <20260410-second-release-notes-6-0-v1-0-40213436c3ca@bootlin.com> To: docs@lists.yoctoproject.org Cc: Thomas Petazzoni , Antonin Godard X-Mailer: b4 0.16-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=2770; i=antonin.godard@bootlin.com; h=from:subject:message-id; bh=dVGr8E7/8KR3G9aCg5KKWeAXGZf66GFz1LAGIE49Sos=; b=owEBbQKS/ZANAwAKAdGAQUApo6g2AcsmYgBp2QyYd0XPiiU9Vls1bktuz1YLvLDNL196M3kY8 PsLIIT5tjGJAjMEAAEKAB0WIQSGSHJRiN1AG7mg0//RgEFAKaOoNgUCadkMmAAKCRDRgEFAKaOo NpxeD/wL0ODtTASOxNEVvgNWd3X+mKHOs5vp1BjHm6tQY+Hps4i7bSpzttqci0BS/7Mdda7SOcF ACQ3y9zK+uBKAUvjcp6tv7Lmnf00Gc61Ke5kFwwM7ix7qzL/c3inWbN9hrZUVhsPbwZaPLTQE7G AYghkBqg/3RVT1ppJdb6QcCwmNj1J6V+TfK1yrB5xD1JxEemOwQFx9+G4dySGPHO2/j2PGT7aqd XylRBWUClUd8BvzW6NCiehsHwzGq8BbaErS/leXkX3qy4A3kGvXuxlC7+TXG9yVMKEZ1xQ0C3ih HsTXBR08RDMB7soVIyPEPSGGeSdOYQZYpZXkwZbe/+8uNYfLr9JBGtzn4fkKRH/Nz8eLXzcEnq2 jkpWCMuyEydCI6dDbFlKUaefTYfgCEzC4wLHnCjnPkO64Zdqs/vF1lO3LGC1bOAUoNzD8M0h52X Wnmw6zG8wi+myqj0Ee77UDCnA1W4tVo8GKCFdWM3zCmPYwBh7of3fZyfoT05G9eFE5vSqdvZFJJ klh8ajEN6vIL/mqkabfpDjoN67dymON2fjX4Gxj2rmjdyTwrRALI3vz7IXjBcEYIgjprxJEyq4J yfiz16nnov6FLsE8005h7m3dUTJ0SgAJ77KLIFmNmwCh/b7yzPqUEgxTq/C/DBiuZTrQJ/V/Zxl amjtxBurrCJBgEQ== 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, 10 Apr 2026 14:43:55 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/9238 After b50d6debf7ba ("wic: re-implement sector-size support") in OE-Core, add a note on the WIC_SECTOR_SIZE variable. Signed-off-by: Antonin Godard --- documentation/migration-guides/migration-6.0.rst | 30 ++++++++++++++++++++++++ documentation/ref-manual/variables.rst | 7 ++++++ 2 files changed, 37 insertions(+) diff --git a/documentation/migration-guides/migration-6.0.rst b/documentation/migration-guides/migration-6.0.rst index 15dbd08a0..16046dad8 100644 --- a/documentation/migration-guides/migration-6.0.rst +++ b/documentation/migration-guides/migration-6.0.rst @@ -189,6 +189,36 @@ class, meaning recipes using these variables that not yet inheriting the See commit :oecore_rev:`68d2d38483efada7bc2409e10508b03a7431caff` for more information. + +.. _ref-migration-6-0-wic-sector-size-change: + +:term:`WIC_SECTOR_SIZE` should be replaced by ``--sector-size`` +--------------------------------------------------------------- + +The :term:`WIC_SECTOR_SIZE` variable was previously used to define the sector +size of the partitions generated by the :doc:`WIC ` tool. The +``wic`` command-line tool now supports a ``--sector-size`` argument that +replaces this variable. + +While this variable can still be used in recipes, a warning is now printed on +the console when used:: + + DEPRECATED: WIC_SECTOR_SIZE is deprecated, use the --sector-size command-line argument instead. + +Using the ``--sector-size`` command-line argument can be done through the +:term:`WIC_CREATE_EXTRA_ARGS` variable. + +For example, a previous assignment to :term:`WIC_SECTOR_SIZE`:: + + WIC_SECTOR_SIZE = "4096" + +Should be replaced by:: + + WIC_CREATE_EXTRA_ARGS += "--sector-size 4096" + +See commit :oecore_rev:`b50d6debf7baa555fbfb3521c4f952675bba2d37` for more +information. + Rust language changes --------------------- diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index 89a5e632b..b698e865f 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst @@ -12261,6 +12261,13 @@ system and gives an overview of their function and contents. Wic creation process. :term:`WIC_SECTOR_SIZE` + + .. warning:: + + This variable is deprecated in favor of the ``--sector-size`` wic + command-line argument. See :ref:`ref-migration-6-0-wic-sector-size-change` + for more information. + The variable :term:`WIC_SECTOR_SIZE` controls the sector size of Wic images. In the background, this controls the value of the ``PARTED_SECTOR_SIZE`` environment variable passed to the ``parted`` From patchwork Fri Apr 10 14:43:36 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonin Godard X-Patchwork-Id: 85845 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 566CAF459ED for ; Fri, 10 Apr 2026 14:43:56 +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.158226.1775832229481285589 for ; Fri, 10 Apr 2026 07:43:50 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=dkim header.b=HVi7wfIu; 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 A81A3C5C1B0 for ; Fri, 10 Apr 2026 14:44:20 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 7A62B603F0 for ; Fri, 10 Apr 2026 14:43:45 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id BDFE510450023; Fri, 10 Apr 2026 16:43:44 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1775832224; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=qmaclajVVbo7TqOiri6ukyJETnHi2YvdMz0AFzub17M=; b=HVi7wfIurxvoF/fDLAZY1txiFtTH1BhY8JuGRUqfRiH93TAMS07BBeLMkA7oLDN9QLk3D8 Fb0pBm6F5+6Mw2gFpqo8BwIW1dZLCD8LvrWbxrUgh7QCWhkl5Aiu1rEgcljmo3a489IQuY XoZi2tjzneXPMcRHeK0Bvfw7hAnjjPqJ1ReEMEDIF+HBDOTgnf8R7ogQjik44Kd+xRleDn mnVD0Wt2bUOnofxSlGpBVqwkwQ9En9KdQwYZmnYpDWUmjh+D2fnrTBCIRy0uqAPx5aiCXO bndr5NDNgRKtecE3mg/1uqHzI9Ji770DFLEdFheIMZonzNx9aAe7dlL8xfOKDQ== From: Antonin Godard Date: Fri, 10 Apr 2026 16:43:36 +0200 Subject: [PATCH 12/18] ref-manual: document the sbom-cve-check class, fragment, and variables MIME-Version: 1.0 Message-Id: <20260410-second-release-notes-6-0-v1-12-40213436c3ca@bootlin.com> References: <20260410-second-release-notes-6-0-v1-0-40213436c3ca@bootlin.com> In-Reply-To: <20260410-second-release-notes-6-0-v1-0-40213436c3ca@bootlin.com> To: docs@lists.yoctoproject.org Cc: Thomas Petazzoni , Antonin Godard X-Mailer: b4 0.16-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=6684; i=antonin.godard@bootlin.com; h=from:subject:message-id; bh=1BkXV85LRrwqEgqA3plYgwDGcRO2Ya3OrPZUfJvp8Yo=; b=owEBbQKS/ZANAwAKAdGAQUApo6g2AcsmYgBp2QyYT8Wknt38YHcFJzwifiIbw5qUjTopnm3zC pYGYbT0ibqJAjMEAAEKAB0WIQSGSHJRiN1AG7mg0//RgEFAKaOoNgUCadkMmAAKCRDRgEFAKaOo NhN4EAC+Y3VimySoDxbZn6Ro7qRvHI/MKAaRhfFV03j7PS4Vq5WiZhzwTQTyl0U0pTzFe69w/QW DFj5YNe1DSnv8/EO1PfhytLpI8tKONMGmgNXwx3kwMpSLb/+uSUWKGLfsLuyXnkfptdaunAUB/c zSntfNiY4b67QhD6r98plx5Nimso+JmfOmr5tFGIt6gs8dHmAiE/BSmvHcrt7xwQE0yXKwQ3AHt tDnhIGH6K/8PUuUNAnhXd9Y0uXtpkwl5rBypgELAE+X3XGCes9wFvkWmEP8TlLkqKKQID0sAw5x HQFfB6VD5EEviWQDUkh/Uo33gKiDGyKDzHyfbkeaE8gGDybWY3zjLkHHzWU+IN1PaY4V6peEKwH Vc3OtwBN+ZdSfNoRdm48wHZ0mZtjnEQrnNpBhZ9idFeUdrnfM8ATU5rFaMhTkZYYcKH7Fx20w1i sHem07oTJXu0f/30o4PpAoyuKMk+inm4bg0rYy1GpSTsRzVzPuH1YZYapSox00bq8bLAHxP3eUg guW8FbnIcaRAGiw9ktfbk+9rtn19HxOh4AcfIeiw5BlOB393eWVGbfrsOYJx262GJe2hR7VCKrV yg3r9fh/SojN3B3WB8CTsDWhNPL3mCYy7kAL7h5HqQjgs/m+lydks8++xpr2gZZZLg9TebNtEoS Rn5q81CIosyv2bA== 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, 10 Apr 2026 14:43:56 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/9243 Added by commit 8ef22ad9e302 ("sbom-cve-check: Add class for post-build CVE analysis") in OE-Core. Signed-off-by: Antonin Godard --- documentation/ref-manual/classes.rst | 55 ++++++++++++++++++++++++++++++++++ documentation/ref-manual/fragments.rst | 20 +++++++++++++ documentation/ref-manual/variables.rst | 38 +++++++++++++++++++++++ 3 files changed, 113 insertions(+) diff --git a/documentation/ref-manual/classes.rst b/documentation/ref-manual/classes.rst index d29339491..5a119da71 100644 --- a/documentation/ref-manual/classes.rst +++ b/documentation/ref-manual/classes.rst @@ -2760,6 +2760,61 @@ configuration checks from the ``local.conf`` configuration file to prevent common mistakes that cause build failures. Distribution policy usually determines whether to include this class. +.. _ref-classes-sbom-cve-check: + +``sbom-cve-check`` +================== + +The :ref:`ref-classes-sbom-cve-check` class uses the `sbom-cve-check +`__ command-line tool for post-build CVE +analysis. It relies on the :ref:`ref-classes-create-spdx` class as SPDX files +are the input of this tool. + +This class should be enabled through the :ref:`ref-fragments-core-yocto-sbom-cve-check` +fragment: + +.. code-block:: console + + $ bitbake-config-build enable-fragment core/yocto/sbom-cve-check + +After building an image, ``sbom-cve-check`` will generate one or more reports in +the :term:`DEPLOY_DIR_IMAGE` directory depending on the current value of +:term:`SBOM_CVE_CHECK_EXPORT_VARS`. + +See the variables starting with ``SBOM_CVE_CHECK_`` in the :doc:`Yocto Project +Reference Manual glossary ` to learn more on how to +configure the behavior of this class. + +.. _ref-classes-sbom-cve-check-recipe: + +``sbom-cve-check-recipe`` +========================= + +The :ref:`ref-classes-sbom-cve-check-recipe` class uses the `sbom-cve-check +`__ command-line tool for post-build CVE +analysis of a recipe. It relies on the :ref:`ref-classes-create-spdx` class as +SPDX files are the input of this tool. + +This class can be inherited in any recipe. Compared to the +:class:`ref-classes-sbom-cve-check` class, this class only uses the SBOM of the +recipe (after the ``create_recipe_sbom`` is run) to determine which is the +underlying software and do the analysis, meaning that building the recipe itself +isn't necessary. + +To use this class, inherit it in the recipe and run: + +.. code-block:: console + + $ bitbake -c sbom_cve_check_recipe + +After running the command, ``sbom-cve-check`` will generate one or more reports +in the :term:`DEPLOY_DIR_IMAGE` directory depending on the current value of +:term:`SBOM_CVE_CHECK_EXPORT_VARS`. + +See the variables starting with ``SBOM_CVE_CHECK_`` in the :doc:`Yocto Project +Reference Manual glossary ` to learn more on how to +configure the behavior of this class. + .. _ref-classes-scons: ``scons`` diff --git a/documentation/ref-manual/fragments.rst b/documentation/ref-manual/fragments.rst index 9449f4648..8da14a038 100644 --- a/documentation/ref-manual/fragments.rst +++ b/documentation/ref-manual/fragments.rst @@ -204,6 +204,26 @@ The ``core/yocto/root-login-with-empty-password`` :term:`configuration fragment` can be used to allow to login as the ``root`` user to login without a password on the serial console and over SSH. +.. _ref-fragments-core-yocto-sbom-cve-check: + +``core/yocto/sbom-cve-check`` +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +The ``core/yocto/sbom-cve-check`` :term:`configuration fragment` can be used +to set up the build to use the :ref:`ref-classes-sbom-cve-check` class . + +This configuration fragment does multiple things: + +- Add the :ref:`ref-classes-create-spdx` class to the list of globally + inherited classes, as it depends on it. + +- Sets the source revision (:term:`SRCREV`) of the input CVE databases to + :term:`AUTOREV`, so these databases are automatically fetched and updated + when starting a build. + +- Include the VEX statements to the input SPDX document using the + :term:`SPDX_INCLUDE_VEX` variable. + Yocto Project Autobuilder Fragments ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index b698e865f..d8cadef3e 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst @@ -8742,6 +8742,44 @@ system and gives an overview of their function and contents. list, then the build system reports a warning that indicates the current host distribution has not been tested as a build host. + :term:`SBOM_CVE_CHECK_EXPORT_VARS` + When inheriting the :ref:`ref-classes-sbom-cve-check` class, this variable + holds the list of variables that declare export files to generate. + + Each variable must have a ``type`` and an ``ext`` flag set: + + - The ``type`` flag contains the value that is passed to the + ``--export-type`` command line argument of ``sbom-cve-check``. + + - The ``ext`` flag contains the filename extension (suffix). The output + filename is going will be ``${IMAGE_NAME}${ext}``. + + For example:: + + SBOM_CVE_CHECK_EXPORT_VARS = "SBOM_CVE_CHECK_EXPORT_SPDX3" + SBOM_CVE_CHECK_EXPORT_SPDX3[type] = "spdx3" + SBOM_CVE_CHECK_EXPORT_SPDX3[ext] = ".sbom-cve-check.spdx.json" + + :term:`SBOM_CVE_CHECK_EXTRA_ARGS` + When inheriting the :ref:`ref-classes-sbom-cve-check` class, this variable + can be used to pass extra arguments to the ``sbom-cve-check`` command-line + tool. + + See the `documentation `__ + of ``sbom-cve-check`` for more information. + + :term:`SBOM_CVE_CHECK_SCAN_SCOPE` + When inheriting the :ref:`ref-classes-sbom-cve-check` class, this + variable controls whether to scan target and native, just target, or just + native recipes. + + Valid values are: + + - ``target`` (default): recipes are scanned in their target context + - ``native``: recipes are scanned in their :ref:`ref-classes-native` context + - ``both``: recipes are scanned in both their target and + :ref:`ref-classes-native` context + :term:`SDK_ARCH` The target architecture for the SDK. Typically, you do not directly set this variable. Instead, use :term:`SDKMACHINE`. From patchwork Fri Apr 10 14:43:37 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonin Godard X-Patchwork-Id: 85850 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 BDC4BF459E5 for ; Fri, 10 Apr 2026 14:43:55 +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.157881.1775832229521382016 for ; Fri, 10 Apr 2026 07:43:49 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=dkim header.b=NZy5eqFz; 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 40CDAC5C1B1 for ; Fri, 10 Apr 2026 14:44:21 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 12C0C603F0 for ; Fri, 10 Apr 2026 14:43:46 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 62AA710450026; Fri, 10 Apr 2026 16:43:45 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1775832225; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=517tpXbmt0dmf8yBaG/6zSfRDK8obDhUgXkkXevwROA=; b=NZy5eqFzxWwnlsbD6MjlpfInlguPk9zm0ltiWeq2bH8kQ/NVlmEcAMWz2QEJP3LfyYXkrG 7C3PBicpcp+WMuUYoKcr1sSyUUbD0s2enKuIU1Q+TVAGz9MXmmukvis+GgIJMurhACuc88 ruWPUHisaxklDI5NrYfZO8cwNTZzuSizTwrzFOoVntUoaOaFkkuHrWMOPOGRCxHPPuaukH vX/OIm+uCxF6z9idFlTeJC4wwpWBqRp+MnvHEmx1oEr7ZK66acjTHtNOcDDoUxDS92CUYf /Sb7c5jp/ERAGtBGBE2QZJzOauQC6kpVIa3vEE8dsXQ/3YOnNnmjIxhwmxvnYw== From: Antonin Godard Date: Fri, 10 Apr 2026 16:43:37 +0200 Subject: [PATCH 13/18] docs-wide: adapt to the new {DISTRO,MACHINE}_FEATURES mechanism MIME-Version: 1.0 Message-Id: <20260410-second-release-notes-6-0-v1-13-40213436c3ca@bootlin.com> References: <20260410-second-release-notes-6-0-v1-0-40213436c3ca@bootlin.com> In-Reply-To: <20260410-second-release-notes-6-0-v1-0-40213436c3ca@bootlin.com> To: docs@lists.yoctoproject.org Cc: Thomas Petazzoni , Antonin Godard X-Mailer: b4 0.16-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=18977; i=antonin.godard@bootlin.com; h=from:subject:message-id; bh=9NsRIiqqxOoTuM7s8k2CklXEK/HbD/P1t+H1Fd63cZE=; b=owEBbQKS/ZANAwAKAdGAQUApo6g2AcsmYgBp2QyYRvfXUVcsplxysndHDtaXsv2AKYG3aCZcQ gWdasDq2dSJAjMEAAEKAB0WIQSGSHJRiN1AG7mg0//RgEFAKaOoNgUCadkMmAAKCRDRgEFAKaOo Nlv5D/9kRqmefwMJNCmgvwMNWptoxUEZ8Y4gVrvpbFD/VrYl3LOqv+nuN/is+z1UuOrb9huZHJ1 UPDFRYAIFcRYZ1HCcJ4zcKpMyH6E1hZlkNgED18jUbYhWRoeJLZq9S8whxp4fAv+DH5u6BjCiHD itb685cXCAzpCDGsfEVvLhAww3Cx001rayo6tHcITvJCF7Va3ESXeahtME8R0hAyzVPwNJ+OS7t PBawzm/cNCik5DcoEF69vJiEhtunh3nIb+BAxwELiANtjvks0afa0LDBJyGf3PxfwpF463OT5TC TF4gN+bbDUSwJFCasR8pK8TO6F9HLNJz+S7H91hLSHjV1lkXsUImZEaI5r5rlrTi81wWALiMK1L tSlFbuPUCjeE0imS2z+WrPUI5+4DVv9SHg4P6wPZClsjqZYdRo2lDYzGObHUM+f5m+zOIrjrOsL CA9xTGmCuWEZ/lCJvffb754iUaKmXKJPAHBwojjW0pDTVrRenp3/vpLOql9bI6oCirvMmFF3tWw HZLadyknDqtGuQPtH9eTAwWfk6BQvHWYKni+a0JGqf1k/P7L2fRFLpCKUn5BUlqlcwZtq22C/l0 GiGJML3WZB2JbBn81lR5dnIfuOM3cToFxg/hZw+dwS4B+RFRvV7euLhPtL1OODSvBV19nWn3bVj abN06mNOYW6IlLA== 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, 10 Apr 2026 14:43:55 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/9240 The way DISTRO_FEATURES and MACHINE_FEATURES defaults are provided and the way you can opt out of it has changed in OE-Core. Adapt the documentation to these changes, which includes remove some previous definitions (all the *BACKFILL* variables) and documenting the new variables. Note that DISTRO_FEATURES_DEFAULT was also removed. There is a new DISTRO_FEATURES_DEFAULTS variable and MACHINE_FEATURES_DEFAULTS, however. Signed-off-by: Antonin Godard --- documentation/dev-manual/gobject-introspection.rst | 12 +-- documentation/migration-guides/migration-6.0.rst | 51 +++++++++++ documentation/ref-manual/classes.rst | 8 +- documentation/ref-manual/features.rst | 101 +++++++++++---------- documentation/ref-manual/variables.rst | 91 +++++++------------ 5 files changed, 150 insertions(+), 113 deletions(-) diff --git a/documentation/dev-manual/gobject-introspection.rst b/documentation/dev-manual/gobject-introspection.rst index f7206e6fa..8203f17f0 100644 --- a/documentation/dev-manual/gobject-introspection.rst +++ b/documentation/dev-manual/gobject-introspection.rst @@ -44,9 +44,9 @@ library package involves the following: #. Make sure introspection is not disabled anywhere in the recipe or from anything the recipe includes. Also, make sure that "gobject-introspection-data" is not in - :term:`DISTRO_FEATURES_BACKFILL_CONSIDERED` + :term:`DISTRO_FEATURES_OPTED_OUT` and that "qemu-usermode" is not in - :term:`MACHINE_FEATURES_BACKFILL_CONSIDERED`. + :term:`MACHINE_FEATURES_OPTED_OUT`. In either of these conditions, nothing will happen. #. Try to build the recipe. If you encounter build errors that look like @@ -84,7 +84,7 @@ disable GIR file generations: - Add the following to your distro configuration:: - DISTRO_FEATURES_BACKFILL_CONSIDERED = "gobject-introspection-data" + DISTRO_FEATURES_OPTED_OUT = "gobject-introspection-data" Adding this statement disables generating introspection data using QEMU but will still enable building introspection tools and libraries @@ -92,7 +92,7 @@ disable GIR file generations: - Add the following to your machine configuration:: - MACHINE_FEATURES_BACKFILL_CONSIDERED = "qemu-usermode" + MACHINE_FEATURES_OPTED_OUT = "qemu-usermode" Adding this statement disables the use of QEMU when building packages for your machine. Currently, this feature is used only by introspection @@ -115,9 +115,9 @@ Use the following procedure to test if generating introspection data is working in an image: #. Make sure that "gobject-introspection-data" is not in - :term:`DISTRO_FEATURES_BACKFILL_CONSIDERED` + :term:`DISTRO_FEATURES_OPTED_OUT` and that "qemu-usermode" is not in - :term:`MACHINE_FEATURES_BACKFILL_CONSIDERED`. + :term:`MACHINE_FEATURES_OPTED_OUT`. #. Build ``core-image-sato``. diff --git a/documentation/migration-guides/migration-6.0.rst b/documentation/migration-guides/migration-6.0.rst index 16046dad8..18cb62f1d 100644 --- a/documentation/migration-guides/migration-6.0.rst +++ b/documentation/migration-guides/migration-6.0.rst @@ -89,6 +89,57 @@ Reverting to :wikipedia:`SysVinit ` can be done by specifying the See commit :oecore_rev:`0b4061c5d50261f826d0edb4b478d2d305274b7c` for more information. +Changes in how default :term:`DISTRO_FEATURES` and :term:`MACHINE_FEATURES` are provided +---------------------------------------------------------------------------------------- + +The way default :term:`DISTRO_FEATURES` and :term:`MACHINE_FEATURES` are +provided by the :term:`OpenEmbedded Build System` has changed. + +The ``DISTRO_FEATURES_BACKFILL``, ``DISTRO_FEATURES_BACKFILL_CONSIDERED``, +``DISTRO_FEATURES_DEFAULT``, ``MACHINE_FEATURES_BACKFILL`` and +``MACHINE_FEATURES_BACKFILL_CONSIDERED`` variables are now obsolete. + +Instead, these are replaced by the :term:`DISTRO_FEATURES_DEFAULTS`, +:term:`DISTRO_FEATURES_OPTED_OUT`, :term:`MACHINE_FEATURES_DEFAULTS` and +:term:`MACHINE_FEATURES_OPTED_OUT` variables. + +Users are advised to migrate to these variables the following way: + +- For :term:`DISTRO_FEATURES`: + + - If you have previously assigned :term:`DISTRO_FEATURES` without using + ``DISTRO_FEATURES_DEFAULT``, you will now get the default features added + automatically (from :term:`DISTRO_FEATURES_DEFAULTS`). You will need to + review these and add any features you do not want to use to + :term:`DISTRO_FEATURES_OPTED_OUT`. + + - ``DISTRO_FEATURES_DEFAULT`` is now unused, the new variable name is + slightly different (:term:`DISTRO_FEATURES_DEFAULTS`) to ensure that it is + not accidentally used if a layer hasn't been modified to adapt to the new + naming. + + - If you previously set ``DISTRO_FEATURES_BACKFILL_CONSIDERED``, use the new + :term:`DISTRO_FEATURES_OPTED_OUT` variable instead. + + - If you previously modified ``DISTRO_FEATURES_BACKFILL``, remove these + assignments and follow the above instructions. + +- For :term:`MACHINE_FEATURES`: + + - :term:`MACHINE_FEATURES` will now get the default features added + automatically (from :term:`MACHINE_FEATURES_DEFAULTS`). You will need to + review these and add any features you do not want to use to + :term:`MACHINE_FEATURES_OPTED_OUT`. + + - If you previously set ``MACHINE_FEATURES_BACKFILL_CONSIDERED``, use the new + :term:`MACHINE_FEATURES_OPTED_OUT` variable instead. + + - If you previously modified ``MACHINE_FEATURES_BACKFILL``, remove these + assignments and follow the above instructions. + +See commit :oecore_rev:`159148f4de2595556fef6e8678578df83383857b` and +:oecore_rev:`3194d6868dd14e40ae670db089e5bf6f862d3044` for more information. + Changes to the list of :term:`DISTRO_FEATURES` enabled by default ----------------------------------------------------------------- diff --git a/documentation/ref-manual/classes.rst b/documentation/ref-manual/classes.rst index 5a119da71..d66c9c68b 100644 --- a/documentation/ref-manual/classes.rst +++ b/documentation/ref-manual/classes.rst @@ -1071,10 +1071,10 @@ introspection. This functionality is only enabled if the .. note:: - This functionality is :ref:`backfilled ` by default - and, if not applicable, should be disabled through - :term:`DISTRO_FEATURES_BACKFILL_CONSIDERED` or - :term:`MACHINE_FEATURES_BACKFILL_CONSIDERED`, respectively. + This functionality is :ref:`enabled ` + by default and, if not applicable, should be disabled through + :term:`DISTRO_FEATURES_OPTED_OUT` or + :term:`MACHINE_FEATURES_OPTED_OUT`, respectively. .. _ref-classes-grub-efi: diff --git a/documentation/ref-manual/features.rst b/documentation/ref-manual/features.rst index be67bc0ea..5fda7ac9a 100644 --- a/documentation/ref-manual/features.rst +++ b/documentation/ref-manual/features.rst @@ -6,7 +6,7 @@ Features This chapter provides a reference of shipped machine and distro features you can include as part of your image, a reference on image features you -can select, and a reference on :ref:`ref-features-backfill`. +can select, and a reference on :ref:`ref-manual/Features:Default Features`. Features provide a mechanism for working out which packages should be included in the generated images. Distributions can select which @@ -419,55 +419,62 @@ these valid features is as follows: - *x11-sato:* Installs the OpenedHand Sato environment. -.. _ref-features-backfill: - -Feature Backfilling -=================== +Default Features +================ -Sometimes it is necessary in the OpenEmbedded build system to +Sometimes it is necessary in the :term:`OpenEmbedded Build System` to add new functionality to :term:`MACHINE_FEATURES` or :term:`DISTRO_FEATURES`, but at the same time, allow existing distributions or machine definitions to opt out of such new features, to retain the same overall level of functionality. -To make this possible, the OpenEmbedded build system has a mechanism to -automatically "backfill" features into existing distro or machine -configurations. You can see the list of features for which this is done -by checking the :term:`DISTRO_FEATURES_BACKFILL` and -:term:`MACHINE_FEATURES_BACKFILL` variables in the -``meta/conf/bitbake.conf`` file. - -These two variables are paired with the -:term:`DISTRO_FEATURES_BACKFILL_CONSIDERED` -and :term:`MACHINE_FEATURES_BACKFILL_CONSIDERED` variables -which allow distro or machine configuration maintainers to `consider` any -added feature, and decide when they wish to keep or exclude such feature, -thus preventing the backfilling from happening. - -Here are two examples to illustrate feature backfilling: - -- *The "pulseaudio" distro feature option*: Previously, PulseAudio support was - enabled within the Qt and GStreamer frameworks. Because of this, the feature - is now backfilled and thus enabled for all distros through the - :term:`DISTRO_FEATURES_BACKFILL` variable in the ``meta/conf/bitbake.conf`` - file. However, if your distro needs to disable the feature, you can do so - without affecting other existing distro configurations that need PulseAudio - support. You do this by adding "pulseaudio" to - :term:`DISTRO_FEATURES_BACKFILL_CONSIDERED` in your distro's ``.conf`` - file. So, adding the feature to this variable when it also exists in the - :term:`DISTRO_FEATURES_BACKFILL` variable prevents the build system from - adding the feature to your configuration's :term:`DISTRO_FEATURES`, - effectively disabling the feature for that particular distro. - -- *The "rtc" machine feature option*: Previously, real time clock (RTC) - support was enabled for all target devices. Because of this, the - feature is backfilled and thus enabled for all machines through the - :term:`MACHINE_FEATURES_BACKFILL` variable in the ``meta/conf/bitbake.conf`` - file. However, if your target device does not have this capability, you can - disable RTC support for your device without affecting other machines - that need RTC support. You do this by adding the "rtc" feature to the - :term:`MACHINE_FEATURES_BACKFILL_CONSIDERED` list in your machine's ``.conf`` - file. So, adding the feature to this variable when it also exists in the - :term:`MACHINE_FEATURES_BACKFILL` variable prevents the build system from - adding the feature to your configuration's :term:`MACHINE_FEATURES`, - effectively disabling RTC support for that particular machine. +To make this possible, the OpenEmbedded build system provides a default list of +features through the :term:`DISTRO_FEATURES_DEFAULTS` and +:term:`MACHINE_FEATURES_DEFAULTS` variables. You can see the default definition +of these variable in the :oecore_path:`meta/conf/distro/include/default-distrovars.inc` +and :oecore_path:`meta/conf/bitbake.conf` files. + +.. note:: + + This does not apply to image features (there is no + ``IMAGE_FEATURES_DEFAULTS`` definition). + +The :term:`DISTRO_FEATURES_OPTED_OUT` and :term:`MACHINE_FEATURES_OPTED_OUT` +variables can be used to remove a feature provided by one of the +:term:`DISTRO_FEATURES_DEFAULTS` of :term:`MACHINE_FEATURES_DEFAULTS` variables. + +For example, the two following assignments:: + + DISTRO_FEATURES_DEFAULTS = "a b c" + DISTRO_FEATURES_OPTED_OUT = "b" + +Would result in feature ``a`` and feature ``c`` making it to the final value of +:term:`DISTRO_FEATURES`, but not feature ``b``. This also applies for +:term:`MACHINE_FEATURES_DEFAULTS` and :term:`MACHINE_FEATURES_OPTED_OUT`. + +You can also opt out of all default features by setting +:term:`DISTRO_FEATURES_OPTED_OUT` or :term:`MACHINE_FEATURES_OPTED_OUT` to +``*``:: + + DISTRO_FEATURES_OPTED_OUT = "*" + +.. tip:: + + You can verify the value of :term:`DISTRO_FEATURES` or + :term:`MACHINE_FEATURES` with the following commands: + + .. code-block:: console + + $ bitbake-getvar DISTRO_FEATURES + NOTE: Starting bitbake server... + [...] + DISTRO_FEATURES=" sysvinit acl alsa bluetooth debuginfod ext2 ipv4 ipv6 wifi xattr nfs zero + conf pci 3g nfc x11 vfat seccomp pulseaudio gobject-introspection-data ldconfig opengl ptest mul + tiarch wayland vulkan " + + .. code-block:: console + + $ bitbake-getvar MACHINE_FEATURES + NOTE: Starting bitbake server... + [...] + MACHINE_FEATURES="alsa bluetooth usbgadget screen vfat rtc qemu-usermode" diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index d8cadef3e..9ce2803b3 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst @@ -2481,41 +2481,13 @@ system and gives an overview of their function and contents. list of features that ships with the Yocto Project and that you can provide with this variable, see the ":ref:`ref-features-distro`" section. - :term:`DISTRO_FEATURES_BACKFILL` - A space-separated list of features to be added to :term:`DISTRO_FEATURES` - if not also present in :term:`DISTRO_FEATURES_BACKFILL_CONSIDERED`. - - This variable is set in the ``meta/conf/bitbake.conf`` file. It is - not intended to be user-configurable. It is best to just reference - the variable to see which distro features are being - :ref:`backfilled ` for all distro configurations. - - :term:`DISTRO_FEATURES_BACKFILL_CONSIDERED` - A space-separated list of features from :term:`DISTRO_FEATURES_BACKFILL` - that should not be :ref:`backfilled ` (i.e. added - to :term:`DISTRO_FEATURES`) during the build. - - This corresponds to an opt-out mechanism. When new default distro - features are introduced, distribution maintainers can review (`consider`) - them and decide to exclude them from the - :ref:`backfilled ` features. Therefore, the - combination of :term:`DISTRO_FEATURES_BACKFILL` and - :term:`DISTRO_FEATURES_BACKFILL_CONSIDERED` makes it possible to - add new default features without breaking existing distributions. + :term:`DISTRO_FEATURES_DEFAULTS` + Specifies a space-separated list of default distro features provided by + the :term:`OpenEmbedded Build System`. This list should not be modified + directly, but instead :term:`DISTRO_FEATURES_OPTED_OUT` should be used to + prevent default distro features from being enabled. - - :term:`DISTRO_FEATURES_DEFAULT` - A convenience variable that gives you the default list of distro - features with the exception of any features specific to the C library - (``libc``). - - When creating a custom distribution, you might find it useful to be - able to reuse the default - :term:`DISTRO_FEATURES` options without the - need to write out the full set. Here is an example that uses - :term:`DISTRO_FEATURES_DEFAULT` from a custom distro configuration file:: - - DISTRO_FEATURES ?= "${DISTRO_FEATURES_DEFAULT} myfeature" + See :ref:`ref-manual/features:Default Features` for more information. :term:`DISTRO_FEATURES_FILTER_NATIVE` Specifies a list of features that if present in the target @@ -2547,6 +2519,17 @@ system and gives an overview of their function and contents. in addition to the features filtered using the :term:`DISTRO_FEATURES_FILTER_NATIVESDK` variable. + :term:`DISTRO_FEATURES_OPTED_OUT` + Specifies a space-separated list of distro features to opt out from + when they are provided by the :term:`DISTRO_FEATURES_DEFAULTS` variable. + + You can also opt out of all default features by setting + :term:`DISTRO_FEATURES_OPTED_OUT` to ``*``:: + + DISTRO_FEATURES_OPTED_OUT = "*" + + See :ref:`ref-manual/features:Default Features` for more information. + :term:`DISTRO_NAME` The long name of the distribution. For information on the short name of the distribution, see the :term:`DISTRO` variable. @@ -6250,28 +6233,24 @@ system and gives an overview of their function and contents. For a list of hardware features supported by the Yocto Project as shipped, see the ":ref:`ref-features-machine`" section. - :term:`MACHINE_FEATURES_BACKFILL` - A list of space-separated features to be added to - :term:`MACHINE_FEATURES` if not also present in - :term:`MACHINE_FEATURES_BACKFILL_CONSIDERED`. - - This variable is set in the ``meta/conf/bitbake.conf`` file. It is not - intended to be user-configurable. It is best to just reference the - variable to see which machine features are being - :ref:`backfilled ` for all machine configurations. - - :term:`MACHINE_FEATURES_BACKFILL_CONSIDERED` - A list of space-separated features from :term:`MACHINE_FEATURES_BACKFILL` - that should not be :ref:`backfilled ` (i.e. added - to :term:`MACHINE_FEATURES`) during the build. - - This corresponds to an opt-out mechanism. When new default machine - features are introduced, machine definition maintainers can review - (`consider`) them and decide to exclude them from the - :ref:`backfilled ` features. Therefore, the - combination of :term:`MACHINE_FEATURES_BACKFILL` and - :term:`MACHINE_FEATURES_BACKFILL_CONSIDERED` makes it possible to - add new default features without breaking existing machine definitions. + :term:`MACHINE_FEATURES_DEFAULTS` + Specifies a space-separated list of default machine features provided by + the :term:`OpenEmbedded Build System`. This list should not be modified + directly, but instead :term:`MACHINE_FEATURES_OPTED_OUT` should be used to + prevent default machine features from being enabled. + + See :ref:`ref-manual/features:Default Features` for more information. + + :term:`MACHINE_FEATURES_OPTED_OUT` + Specifies a space-separated list of machine features to opt out from + when they are provided by the :term:`MACHINE_FEATURES_DEFAULTS` variable. + + You can also opt out of all default features by setting + :term:`MACHINE_FEATURES_OPTED_OUT` to ``*``:: + + MACHINE_FEATURES_OPTED_OUT = "*" + + See :ref:`ref-manual/features:Default Features` for more information. :term:`MACHINEOVERRIDES` A colon-separated list of overrides that apply to the current From patchwork Fri Apr 10 14:43:38 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonin Godard X-Patchwork-Id: 85834 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 14127F44872 for ; Fri, 10 Apr 2026 14:43:54 +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.157882.1775832229580862187 for ; Fri, 10 Apr 2026 07:43:49 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=dkim header.b=ZqnLFuoS; 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 CC3B3C5C1B2 for ; Fri, 10 Apr 2026 14:44:21 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 9E525603F0 for ; Fri, 10 Apr 2026 14:43:46 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id F2D4610450070; Fri, 10 Apr 2026 16:43:45 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1775832226; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=bN3sDV9Pbzr3OgciYa4naYhSYgFLUmPqPHzi0vdfs9o=; b=ZqnLFuoSaUc9ReQ8oY3C45YYYFo0A36q8gaVUSvF98VxY6KRDfXwrdL9SI5R55TgupFa0J mqKAfvDPO9ZsYdbZlY0I5Km1eglkb+nKcFDUY9DxEZjnG74TnFd1osuN36dzO9i2/jO/we RFb5ud4Lnvsso+K+iYR7Rgm9n1q0Q4KYnsdO+bhMqQ4DBWhkCwei7oZgJP0eYzlyhF7gLg syzx34VHKqvxI3JIaoWrths3Bnz1HKr/LrV5Dgx5e26fDTOlNVFhOgUGXY/cJulDyrEJ8O 4WlRYOdcD1BI1mmwPlx0cNw/36GJMXmssdzIJRVVfkFoxB3ZhBbWOdSrKmT6oQ== From: Antonin Godard Date: Fri, 10 Apr 2026 16:43:38 +0200 Subject: [PATCH 14/18] ref-manual/features.rst: drop pcmcia from DISTRO_FEATURES MIME-Version: 1.0 Message-Id: <20260410-second-release-notes-6-0-v1-14-40213436c3ca@bootlin.com> References: <20260410-second-release-notes-6-0-v1-0-40213436c3ca@bootlin.com> In-Reply-To: <20260410-second-release-notes-6-0-v1-0-40213436c3ca@bootlin.com> To: docs@lists.yoctoproject.org Cc: Thomas Petazzoni , Antonin Godard X-Mailer: b4 0.16-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=862; i=antonin.godard@bootlin.com; h=from:subject:message-id; bh=UNmVsgejAAcCKSLXFFG+1hJAkQF7PhsjlfMX3/NM1ko=; b=owEBbQKS/ZANAwAKAdGAQUApo6g2AcsmYgBp2QyYz3pKDo8Q05kDljitrWXgK66FyKb0+9Ga8 Rezks0Keo+JAjMEAAEKAB0WIQSGSHJRiN1AG7mg0//RgEFAKaOoNgUCadkMmAAKCRDRgEFAKaOo Nk0BD/9bPEM6Ax9DtJlFMbEXW7rV5k9o7h14CwVy46mLsy2oJZjbRXo1prU60JzR4f7+fzfgnld 2rnJ/JBVlZ5t8wgEuq+DUjFBGe8HmoEry6fJmCGIRHNdynvGknrZOng08MxMOgVlUkajC7LmQQJ IvXhMRpnxfUwrkqQf17FpgE4yy6o/li+RwoZ1wI5i4kgGmDGfqAG6O2Ec9/neC5XEmD/Z1duyR0 zrLWPt9giaLd72Hgvpo+3GWxx70AGZYennO146OUxE5XszaP0ySjlbcuvqLWuNCpSGnsoT4+4w/ /0mJwuNtUWyZlrC+hYLbfkLTMDqQr78za0mclpc0SVlI+lc1nlFMFdV72q9LWYit0eCZIesgK+M AYsp1pIG+idyW8jYOwNJhtVblgu1QMLBm1xZriO+R5gYciYMLdG+Khn0tmNzFKRDV0zycl4/Nj6 BulXJfsRb4oj2XATaZp6qW6Yq6EbjW5eyA0JTFWNNQr1yO1RWmT8yGU5vs2/gcJQcCWABYvEq0r 9L6fXkv076ju0o/lO1TpIKxVnk0foPbpYHccqRs3oeIVB3U54T6ROon2RKAUDT4hgaDh8LsUMIp VZkbSofJNttsP+NYjKWgk7mFpH6gSUNwmTqVWkUQGjoI7baQTg40vGycrhCjjFZ1LHt93kxw/iB 9IRvmxI9gy0xA2A== 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, 10 Apr 2026 14:43:54 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/9239 After commit ec0a7650a4fd ("conf/packagegroups: Drop pcmcia from DISTRO_FEATURES to MACHINE_FEATURES") in OE-Core. Signed-off-by: Antonin Godard --- documentation/ref-manual/features.rst | 2 -- 1 file changed, 2 deletions(-) diff --git a/documentation/ref-manual/features.rst b/documentation/ref-manual/features.rst index 5fda7ac9a..9173b9553 100644 --- a/documentation/ref-manual/features.rst +++ b/documentation/ref-manual/features.rst @@ -200,8 +200,6 @@ metadata, as extra layers can define their own: - *pci:* Include PCI bus support. -- *pcmcia:* Include PCMCIA/CompactFlash support. - - *pni-names:* Enable generation of persistent network interface names, i.e. the system tries hard to have the same but unique names for the network interfaces even after a reinstall. From patchwork Fri Apr 10 14:43:39 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonin Godard X-Patchwork-Id: 85851 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 D4AC6F459F5 for ; Fri, 10 Apr 2026 14:43:56 +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.158227.1775832231273724070 for ; Fri, 10 Apr 2026 07:43:51 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=dkim header.b=jg5y59pN; 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 47731C5C1B3 for ; Fri, 10 Apr 2026 14:44:22 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 18A3D603F0 for ; Fri, 10 Apr 2026 14:43:47 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 86F8F10450073; Fri, 10 Apr 2026 16:43:46 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1775832226; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=C7bhyd8k2vhKLIIZgvDKuXkzNFGG9SqZ7K2+1USzW8g=; b=jg5y59pN+IpyALMi9hOZ0e6y+mutWPYAVSlWsclJGuUVJmGCxXiqa/bx5SSeRXiUmDB5Xn pOq8v/iYx9T5Qyza0v1lok4djmcRDmQDWpNaz5h1vjcVDIpSxWuEAA8kMP7zsKF0hL+52B cfE//C5Xx2xwBAZNg1ErKj9JbyVK8ziDsi1UtysKKii2kscXwHCWmmlHcLuNytdOpAgYng c8eXUWi/N7w+geQ4Ozhr9J7tIKHcJXH0wkjG8vE6jO2YyFNJ9PYquhfNYtMnahsE4lUR1Q JyD5rvn+rI5gWQiFRzZzPBCgk+znvrhMb2v/80khus1aS16rRTc/JkdIXlEoGw== From: Antonin Godard Date: Fri, 10 Apr 2026 16:43:39 +0200 Subject: [PATCH 15/18] ref-manual/features.rst: drop usbhost/usbgadget from DISTRO_FEATURES MIME-Version: 1.0 Message-Id: <20260410-second-release-notes-6-0-v1-15-40213436c3ca@bootlin.com> References: <20260410-second-release-notes-6-0-v1-0-40213436c3ca@bootlin.com> In-Reply-To: <20260410-second-release-notes-6-0-v1-0-40213436c3ca@bootlin.com> To: docs@lists.yoctoproject.org Cc: Thomas Petazzoni , Antonin Godard X-Mailer: b4 0.16-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=1129; i=antonin.godard@bootlin.com; h=from:subject:message-id; bh=Qs994izA0I0FMHpIIeBxh7827tb+jvApb0aQhH9ax/4=; b=owEBbQKS/ZANAwAKAdGAQUApo6g2AcsmYgBp2QyYHEk11i5ii77Uk/nl2U7Fgtpo8olR1FKVF RyjgUMsErWJAjMEAAEKAB0WIQSGSHJRiN1AG7mg0//RgEFAKaOoNgUCadkMmAAKCRDRgEFAKaOo NsNwD/0e+E7W4T8IeCurlttbQ2WidU7ppQQYkb0ZuCWQsTQqZEoQO9rkSsc2OhH5SlLLMbeVSeJ pct3ROHMRpFo/UGVDCVQs4cR72VG/LjzFsFoZeUhNrr7MMi0f2iRVkmWf/zipkrBHqvlSo7Bw5Z 5lWrxRUx7ocx0JBHmCY0s2zifGULV1GTOpSXpyCBqdbbKxMtiTMxpmWlkudcnciZYS+x78oef3x SJS7UYBL4QB15PCZnD8R4R/7LULRKKFFtbLjfDcw0Syr8Ec1EnU4RZGJti1FWnC3F65yekmeTEw LamJNRe7+bn/rOPj7l+mCwFqg0vrY+VrBJO8sIvmWVonXlHGSNW48uwMTsUl29VSx6iVP4b7RYP Wxq9P/OJKSuh+jGpDmLbHgHkuXF8gkVyE7TwFNTYBSlVijA527GqjLc+0HZCyROYtrrtiRiN/P4 fv3PwdS9ki+10XqfYtaHRVjhJtoYROz6mot3wJxD6JlahhZ5ozNwgicJDqSj8vvIKSwqhUenKZz zUbOyNP+yKiOoHcRQUGOwtk1eAYJvoi19s7Hi/6q9kBnMNhxlBFKensLjstJPiLAuMO7R5ZmONI pxJS+eAMHZ1NagFNvq1I7q8h2LFzcn9NZJ3QZCdU4sHnNeSAyVi/AoVqseItU5K7jyGQ72xd2RE xZrRWoHzUbMQMMA== 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, 10 Apr 2026 14:43:56 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/9245 After commit a791ca692d08 ("conf/packagegroups: Drop usbhost/usbgadget from DISTRO_FEATURES to MACHINE_FEATURES") in OE-Core. Signed-off-by: Antonin Godard --- documentation/ref-manual/features.rst | 6 ------ 1 file changed, 6 deletions(-) diff --git a/documentation/ref-manual/features.rst b/documentation/ref-manual/features.rst index 9173b9553..77d034f0c 100644 --- a/documentation/ref-manual/features.rst +++ b/documentation/ref-manual/features.rst @@ -237,12 +237,6 @@ metadata, as extra layers can define their own: main DNS name resolver in ``glibc`` Name Service Switch. This is a DNS resolver daemon from ``systemd``. -- *usbgadget:* Include USB Gadget Device support (for USB - networking/serial/storage). - -- *usbhost:* Include USB Host support (allows to connect external - keyboard, mouse, storage, network etc). - - *usrmerge:* Merges the ``/bin``, ``/sbin``, ``/lib``, and ``/lib64`` directories into their respective counterparts in the ``/usr`` directory to provide better package and application compatibility. From patchwork Fri Apr 10 14:43:40 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonin Godard X-Patchwork-Id: 85842 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 9509CF459E0 for ; Fri, 10 Apr 2026 14:43:55 +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.158228.1775832231298698189 for ; Fri, 10 Apr 2026 07:43:51 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=dkim header.b=i9Khl1RJ; 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 CF48DC5C1B4 for ; Fri, 10 Apr 2026 14:44:22 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id A2475603F0 for ; Fri, 10 Apr 2026 14:43:47 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 0331C10450075; Fri, 10 Apr 2026 16:43:46 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1775832227; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=J/Wp3tVBrgNMzVko3+SXZkugZw2KbnudAFxt+AuC9e0=; b=i9Khl1RJnknVwaij9yLAtpezr4cwFUwKFY0Sc6O6c+ANslt9KaEh31PUgFeCX0IPS13D0D ACYfMvQG9OXaEXBoEu39E8Arg2sbqJJV9m45KpmH/RVeBR1IY2xnZ7tiIZwjd8YJi6E/DR sZLx5nDWpkwa48a1jcqnhJBFgxV5msVaKBUf52VqKDGyzZaNwKqLvS4uXmYIABx9BaEJID 4FAqalRO/cioDcUavCPkdLEJFWSxWSdzzcKokxAvuHWsZJ0BSwAujhqyzcfCWDuMDc7H11 qgCLLJkViDBsxs9q6SlerHQx8Oj3/xlg3VBIaK/TURMNjD/tOfuXgckV/Muixg== From: Antonin Godard Date: Fri, 10 Apr 2026 16:43:40 +0200 Subject: [PATCH 16/18] docs-wide: replace meta-poky/conf/templates/default by oecore's templates MIME-Version: 1.0 Message-Id: <20260410-second-release-notes-6-0-v1-16-40213436c3ca@bootlin.com> References: <20260410-second-release-notes-6-0-v1-0-40213436c3ca@bootlin.com> In-Reply-To: <20260410-second-release-notes-6-0-v1-0-40213436c3ca@bootlin.com> To: docs@lists.yoctoproject.org Cc: Thomas Petazzoni , Antonin Godard X-Mailer: b4 0.16-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=8660; i=antonin.godard@bootlin.com; h=from:subject:message-id; bh=vzyMSZYNceVNyBPBXqCepIPCBRTuBPtXqmx3jLe5HtQ=; b=owEBbQKS/ZANAwAKAdGAQUApo6g2AcsmYgBp2QyZ8d3Df1yvkWN/Gim7qmiViqISZ5w7XFD+X 6Cypsjw04SJAjMEAAEKAB0WIQSGSHJRiN1AG7mg0//RgEFAKaOoNgUCadkMmQAKCRDRgEFAKaOo NvZFD/9sO1F+qmSZqVDhQU4pyTcJeQ3XnIsAMKuvw9XpvkzdiROY8ffl4MQXts3zME2e1bXm5RD tgu8KfqRgePzQESahz6xD6h4Ro4LTXBhTbzijXqR4Dgb7kOr9kyxEltA55DtSJ+CEDrXkyuCo8s RhK4YGKYsMAutvkZu8PqKcsJoL5ZXjBvzGORYziJBivfO5fuZfzFsdQpRFz5ld2eojn4kOQscte zGTec0lQWug4eCTvt8cotX0IvqmDs86UOi3SVhxN1KaP180oqDvqWRqieCnWmYZJlEa9KgAG4j0 RCt+fJA1xqa9jeYAhkPDTJddHDpDZ3ttnLMJiLjZTqlwHOgpIAWdODQaUoR1CftE9x5iuQu5SYe PgpNf16v3laQgiLPb2/4cYe7e0Ng6cmeQpyLxW6ulXEOqmG+4kysG6a6m56oPzMZEzWdxZfyfFC vT1z6vY2aI1uzWMoqHxB4OcSc50jSSA/U2pztKc/A+ZAfvVgOoJDXP99h/7b5bb88jnsQRd/D4W dN0qyoOibzG8JBOph6EMzIPnwHtxm/GOT6OYp83djF30FWfwOkoFm3vcG9+wKtdq/fO1HsZJowl aepGemh42SbnqsAAw/FsYWL53xEY5p3VenKgNTJ2ocMNpx6wdqsyUGUi8hlA5RLMp4ncphHE0wW 1Xvn0qr4pziZYUA== 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, 10 Apr 2026 14:43:55 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/9247 The meta-poky's templates have been removed with [1]. They're intented to be replaced with the ones from OpenEmbedded-Core. Replace the occurences of these paths and replace accordingly. [1]: https://git.yoctoproject.org/meta-yocto/commit/meta-poky/conf?id=ac300baea7314ea3c80f2330b2a993f729f32150 Signed-off-by: Antonin Godard --- .../custom-template-configuration-directory.rst | 2 +- documentation/dev-manual/licenses.rst | 4 ++-- documentation/dev-manual/poky-manual-setup.rst | 2 +- documentation/overview-manual/concepts.rst | 5 ++--- documentation/ref-manual/faq.rst | 2 +- documentation/ref-manual/structure.rst | 18 ++++++------------ documentation/ref-manual/variables.rst | 2 +- 7 files changed, 14 insertions(+), 21 deletions(-) diff --git a/documentation/dev-manual/custom-template-configuration-directory.rst b/documentation/dev-manual/custom-template-configuration-directory.rst index 8bf763569..597772f7f 100644 --- a/documentation/dev-manual/custom-template-configuration-directory.rst +++ b/documentation/dev-manual/custom-template-configuration-directory.rst @@ -39,7 +39,7 @@ from ``.templateconf`` file that is read from the same directory as ``oe-init-build-env`` script. For the Poky reference distribution this would be:: - TEMPLATECONF=${TEMPLATECONF:-meta-poky/conf/templates/default} + TEMPLATECONF=${TEMPLATECONF:-meta/conf/templates/default} If you look at a configuration template directory, you will see the ``bblayers.conf.sample``, ``local.conf.sample``, ``conf-summary.txt`` and diff --git a/documentation/dev-manual/licenses.rst b/documentation/dev-manual/licenses.rst index 4bc1f7376..774b5db23 100644 --- a/documentation/dev-manual/licenses.rst +++ b/documentation/dev-manual/licenses.rst @@ -469,8 +469,8 @@ of the Yocto Project and layers used during your build. Archiving a Git repository can be done with the :manpage:`git-archive ` command. One thing a development organization might want to consider for end-user -convenience is to modify -``meta-poky/conf/templates/default/bblayers.conf.sample`` to ensure that when +convenience is to provide its own version of the +:oecore_path:`meta/conf/templates/default/bblayers.conf.sample` file to ensure that when the end user utilizes the released build system to build an image, the development organization's layers are included in the ``bblayers.conf`` file automatically:: diff --git a/documentation/dev-manual/poky-manual-setup.rst b/documentation/dev-manual/poky-manual-setup.rst index 2b1c3f63d..cade9e2b1 100644 --- a/documentation/dev-manual/poky-manual-setup.rst +++ b/documentation/dev-manual/poky-manual-setup.rst @@ -94,7 +94,7 @@ an entire Linux distribution, including the toolchain, from source. .. code-block:: shell - $ TEMPLATECONF=$PWD/layers/meta-yocto/meta-poky/conf/templates/default source ./layers/openembedded-core/oe-init-build-env + $ source ./layers/openembedded-core/oe-init-build-env Among other things, the script creates the :term:`Build Directory`, which is ``build`` in this case and is located in the :term:`Source Directory`. diff --git a/documentation/overview-manual/concepts.rst b/documentation/overview-manual/concepts.rst index ab723d7c3..1faa790f3 100644 --- a/documentation/overview-manual/concepts.rst +++ b/documentation/overview-manual/concepts.rst @@ -228,9 +228,8 @@ Directory` at the time you source the build environment setup script. :term:`Configuration files ` provide many basic variables that define a build environment. To show a list of possible variables to configure from :term:`configuration files `, see the -:yocto_git:`local.conf.sample -` in the -``meta-poky`` layer: +:oecore_path:`local.conf.sample ` +file in :term:`OpenEmbedded-Core (OE-Core)`: Here is a non-exhaustive list: diff --git a/documentation/ref-manual/faq.rst b/documentation/ref-manual/faq.rst index 248cf3d2d..adb5659b7 100644 --- a/documentation/ref-manual/faq.rst +++ b/documentation/ref-manual/faq.rst @@ -196,7 +196,7 @@ and ``all_proxy`` set as to standard shell environment variables to redirect requests through proxy servers. The Yocto Project also includes a -``meta-poky/conf/templates/default/site.conf.sample`` file that shows +:oecore_path:`meta/conf/templates/default/site.conf.sample` file that shows how to configure a Git proxy server if needed. .. note:: diff --git a/documentation/ref-manual/structure.rst b/documentation/ref-manual/structure.rst index 06cd2b770..ff84b250b 100644 --- a/documentation/ref-manual/structure.rst +++ b/documentation/ref-manual/structure.rst @@ -315,10 +315,10 @@ The :term:`OpenEmbedded Build System` can create the ``local.conf`` file from a setup script :ref:`structure-core-script`. The source ``local.conf.sample`` file used depends on the -:term:`TEMPLATECONF` script variable, which defaults to ``layers/meta-yocto/meta-poky/conf/templates/default`` -when you are building from the Yocto Project development environment, -and to ``layers/openembedded-core/meta/conf/templates/default`` when you are building from the OpenEmbedded-Core -environment. Because the script variable points to the source of the +:term:`TEMPLATECONF` script variable, which defaults to +:oecore_path:`meta/conf/templates/default` in :term:`OpenEmbedded-Core +(OE-Core)`. +Because the script variable points to the source of the ``local.conf.sample`` file, this implies that you can configure your build environment from any layer by setting the variable in the top-level build environment setup script as follows:: @@ -334,8 +334,6 @@ file, it uses ``sed`` to substitute final You can see how the :term:`TEMPLATECONF` variable is used by looking at the ``layers/openembedded-core/scripts/oe-setup-builddir`` script in :term:`OpenEmbedded-Core (OE-Core)`. - You can find the :term:`Poky` version of the ``local.conf.sample`` file in - the ``layers/meta-yocto/meta-poky/conf/templates/default`` directory. .. _structure-build-conf-bblayers.conf: @@ -354,9 +352,7 @@ when you ``source`` the top-level build environment setup script (i.e. As with the :ref:`structure-build-conf-local.conf` file, the source ``bblayers.conf.sample`` file used depends on the :term:`TEMPLATECONF` script variable, which -defaults to ``meta-poky/conf/templates/default`` when you are building using the -:term:`Poky` reference distro, and to ``meta/conf/templates/default`` when you are -building from the OpenEmbedded-Core environment (default). Because the script +defaults to :oecore_path:`meta/conf/templates/default` . Because the script variable points to the source of the ``bblayers.conf.sample`` file, this implies that you can base your build from any layer by setting the variable in the top-level build environment setup script as follows:: @@ -369,9 +365,7 @@ Once the build process gets the sample file, it uses ``sed`` to substitute final .. note:: You can see how the :term:`TEMPLATECONF` variable is defined by the ``scripts/oe-setup-builddir`` - script in :term:`OpenEmbedded-Core (OE-Core)`. You can find the :term:`Poky` - version of the ``bblayers.conf.sample`` file in the ``layers/meta-yocto/meta-poky/conf/templates/default`` - directory. + script in :term:`OpenEmbedded-Core (OE-Core)`. .. _structure-build-conf-site.conf: diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index 9ce2803b3..606466313 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst @@ -5050,7 +5050,7 @@ system and gives an overview of their function and contents. configuration file. You cannot set the variable in a recipe file. See the - :yocto_git:`local.conf.sample.extended ` + :oecore_path:`local.conf.sample.extended ` file for additional information. Also, for information on creating an :term:`Initramfs`, see the ":ref:`dev-manual/building:building an initial ram filesystem (Initramfs) image`" section in the Yocto Project Development Tasks Manual. From patchwork Fri Apr 10 14:43:41 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Antonin Godard X-Patchwork-Id: 85849 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 D09C2F459E7 for ; Fri, 10 Apr 2026 14:43:55 +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.158230.1775832231319811189 for ; Fri, 10 Apr 2026 07:43:51 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@bootlin.com header.s=dkim header.b=eEH/GY+Y; 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 643DAC5C1A4 for ; Fri, 10 Apr 2026 14:44:23 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 36D4E603F0 for ; Fri, 10 Apr 2026 14:43:48 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 8A9AB10450077; Fri, 10 Apr 2026 16:43:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1775832227; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=KgQ57R74jPK2thA1putXZ6+JcMtfBM0YVeNZO6dWxHA=; b=eEH/GY+YGst12bEnMSQJV6Iic/M8eEhXTZzN+lHwHYPK1ZAv7EQ055uyD87waFb5jrZuey XeyecePCx0fyzVP5t+JkSig+SU6qahpCZXpgS4cWmdTbO/F0E6TJDz6pGoDV7tL4BUzkh1 Uh8P2WPn/JOJHUGFDXAmkteSS8u1iqei+CjfMYnqnoweAWBdWYDSnlNKDr9m4GStX/ThvB gyRVI7KMLm/6K2ZgU40wW6+AyzwcDMDRa9R/bylc0EIcM+Xa9cgiPZYXPz1q+DYQK1vIIW 092KTx05iGmgENccSUYgGzcFrL++m4FPl5avtWIHERET4Rbnhk/NnhP1LFXS+A== From: Antonin Godard Date: Fri, 10 Apr 2026 16:43:41 +0200 Subject: [PATCH 17/18] migration-guides: update 6.0 (Wrynose) release notes MIME-Version: 1.0 Message-Id: <20260410-second-release-notes-6-0-v1-17-40213436c3ca@bootlin.com> References: <20260410-second-release-notes-6-0-v1-0-40213436c3ca@bootlin.com> In-Reply-To: <20260410-second-release-notes-6-0-v1-0-40213436c3ca@bootlin.com> To: docs@lists.yoctoproject.org Cc: Thomas Petazzoni , Antonin Godard X-Mailer: b4 0.16-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=26379; i=antonin.godard@bootlin.com; h=from:subject:message-id; bh=XcB0z+WXgOD4PEKn2AU8ond7Sl2kdmEWRfgyqHh9+Lc=; b=owEBbQKS/ZANAwAKAdGAQUApo6g2AcsmYgBp2QyZ/jvX9bZcNcbUynTWmobpiFqPdS5KPOM6H cc++4okpWmJAjMEAAEKAB0WIQSGSHJRiN1AG7mg0//RgEFAKaOoNgUCadkMmQAKCRDRgEFAKaOo NoicD/93bzANlekfwuUW8kCTG13NZSo1EMJ2YlrXeWvr5i2eRRX1oAzYtRUgLHvv7X/h2JN3Idx QQqr4TRk1DcYbby0PNKGv6wK39PQnI5JqXT2qvL/B4/KT7EyOFvCfueuMl78RTNz0CkqkdOTCJ1 IwIaoDKKWa+ID9Vc5GGYzrcFFXRkz+PIbzkemEmh/Ymgo1sglINdV87CIASOCiAYSYF/N+tFFdM iTivYGJub8oQGFP/lJTVCpemJWbhu8GRz0bWRveJIYn51AWfR1njkdHm+1CrmODjQJGu0o2b05M lnVWkuQzAKahA937eGYZjyXA1Qqx9WOHBLuvT3Q1Qe+ezxpA/I5cFr5blTAfY9UoL+IhY3O0uoP plRBPtqTBWPToll8U6gflwNg8yj/0PfwomApbZ27xh7VSKPnRCcbfKYRqS+8JM68t6FuFnSzYTF ml1AVYqpo5EQIIxAM2gX0Kyf4lWQvtfXxxWNuTHjL4usyIinT4iu5eb6v0k7P1t0Lq5gEvpTqb7 Xuh5Mu5lImNsw0dFAU3aIWibg67gDpXmDUmp2C2/xj6zw9hK0M3X8Akz4DmjIY6PGyg+N4nBVvd nmxo5vNKTbHrukO0iZU2Dzz9rrU1zBQOwl0YHQBD3KMcRGwbQqj46D4LmpPqlYkPhmyhSFh9t5Y O48dsNEomqGPmgw== 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, 10 Apr 2026 14:43:55 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/9248 Update documentation/migration-guides/migration-6.0.rst and documentation/migration-guides/release-notes-6.0.rst to include important changes between: - bitbake: a3ad577439d11 and 5d722b5d65e - openembedded-core: be8cdcf13a65 and 853baa702e3 - meta-yocto: 0a4ce9dd7fdd and 49cbb01d5252 Signed-off-by: Antonin Godard --- documentation/migration-guides/migration-6.0.rst | 98 ++++++++ .../migration-guides/release-notes-6.0.rst | 256 +++++++++++++++++++-- 2 files changed, 340 insertions(+), 14 deletions(-) diff --git a/documentation/migration-guides/migration-6.0.rst b/documentation/migration-guides/migration-6.0.rst index 18cb62f1d..8008c547d 100644 --- a/documentation/migration-guides/migration-6.0.rst +++ b/documentation/migration-guides/migration-6.0.rst @@ -165,6 +165,19 @@ The following :term:`DISTRO_FEATURES` are now enabled by default in See commit :oecore_rev:`2e1e7c86064ce36580953650b27cca9ae7c269c4` for more information. +Default configuration templates removed from :yocto_git:`meta-poky ` +------------------------------------------------------------------------------------------------ + +The configuration templates located in ``meta-poky/conf/templates/default`` have +been removed as they are now provided in a single location: +:term:`OpenEmbedded-Core (OE-Core)` :oecore_path:`meta/conf/templates/default`. + +These files were duplicating themselves but were mostly similar. + +See commit :meta_yocto_rev:`ac300baea7314ea3c80f2330b2a993f729f32150` for more +information on the differences there are between the two sets of default +templates. + :ref:`ref-classes-native` and :ref:`ref-classes-cross` classes :term:`DEBUG_BUILD` change ----------------------------------------------------------------------------------------- @@ -240,6 +253,38 @@ class, meaning recipes using these variables that not yet inheriting the See commit :oecore_rev:`68d2d38483efada7bc2409e10508b03a7431caff` for more information. +:ref:`ref-classes-vex` output JSON document extension change +------------------------------------------------------------ + +Image recipes that inherit the :ref:`ref-classes-vex` class have an extra JSON +document generated which was previous ending with the ``.json`` suffix. For +example, a build for the ``core-image-minimal`` image recipe with this class +would have resulted in a file named:: + + core-image-minimal-qemuarm64.rootfs.json + +The suffix of this file is now ``.vex.json``. Taking the above example, the same +file is now named:: + + core-image-minimal-qemuarm64.rootfs.vex.json + +Support for SPDX 2.2 removed +---------------------------- + +Support for generating SPDX 2.2 document through the ``create-spdx-2.2`` class +was removed: + +.. code-block:: + + Removes SPDX 2.2 support in favor of SPDX 3 support being the only + option. The SPDX 3 data is far superior to SPDX 2.2 and thus more useful + for SBoM uses cases. + +See commit :oecore_rev:`12abd0574c267bade0962ecb39d9e8da8c56842b` for more +information. + +Users are advised to transition to SDPX 3.0, which is provided by the +:ref:`ref-classes-create-spdx` class. .. _ref-migration-6-0-wic-sector-size-change: @@ -270,6 +315,39 @@ Should be replaced by:: See commit :oecore_rev:`b50d6debf7baa555fbfb3521c4f952675bba2d37` for more information. +:doc:`WIC ` files to be moved under ``files/wic`` +------------------------------------------------------------------ + +:doc:`WIC ` related files such as :doc:`WKS +` files or custom WIC plugins should be moved to the +``files/wic/`` directory of the layer containing them. + +If not done, the build will fail with errors indicating how to move these files, +for example:: + + wic/wks files at ../meta-custom/wic need to be moved to files/wic within the layer to be found/used + wic/wks files at ../meta-custom/scripts/lib/wic/canned-wks need to be moved to files/wic within the layer to be found/used + +For example, here is the content of the :term:`OpenEmbedded-Core (OE-Core)` +"meta" layer as of writing:: + + meta/files/wic + ├── common.wks.inc + ├── directdisk-bootloader-config.cfg + ├── directdisk-bootloader-config.wks + ├── directdisk-gpt.wks + ├── directdisk-multi-rootfs.wks + ├── directdisk.wks + ├── efi-bootdisk.wks.in + ├── efi-uki-bootdisk.wks.in + ├── mkefidisk.wks + ├── mkhybridiso.wks + ├── qemuloongarch.wks + ├── qemuriscv.wks + ├── qemux86-directdisk.wks + ├── sdimage-bootpart.wks + └── systemd-bootdisk.wks + Rust language changes --------------------- @@ -314,6 +392,18 @@ The following recipes have been removed in this release: - ``systemd-compat-units``: Dropped as a consequence of removing :wikipedia:`SysVinit ` support in :wikipedia:`systemd ` + (:oecore_rev:`d9ec9e20eebc062d084dd76b59d665994e0cb51b`) + +- ``gstreamer1.0-vaapi``: removed as it was already provided by the ``va`` + :term:`PACKAGECONFIG` item of ``gstreamer1.0-plugins-bad``. + (:oecore_rev:`9e2d2a5b0c9e062f13651093bb1e459f210618e6`) + +- ``pkgconfig``: replaced by the ``pkgconf`` recipe + (:oecore_rev:`e32bf38fab8b2ae417022a4dbd36f7e1ce52c206`) + +- ``python3-pyzstd``: there were no users of this in :term:`OpenEmbedded-Core + (OE-Core)` and Python 3.14 now has built-in support for zstd + (:oecore_rev:`55061de857657ea01babc5652caa062e8d292c44`) Removed :term:`PACKAGECONFIG` options ------------------------------------- @@ -321,6 +411,8 @@ Removed :term:`PACKAGECONFIG` options - ``mesa``: ``freedreno-fdperf`` (:oecore_rev:`293edd0d3d077d0fde7ba6671dc9a26d5b4cf5e4`) - ``libcxx``: ``no-atomics`` (:oecore_rev:`ccc585f94c51ebaef863f116bcd2b41b2d958666`) - ``systemd``: ``sysvinit`` (:oecore_rev:`e00d5d6eac65e2cd88e34c2790469c7325bfb37d`) +- ``gstreamer1.0-plugins-good``: ``soup2`` (:oecore_rev:`61d653562a5b3903aa4e79791b58a75e4dc74236`) +- ``webkitgtk``: ``soup2`` (:oecore_rev:`69af43387e809e595b992b3576dde89e700cc711`) Removed classes --------------- @@ -340,3 +432,9 @@ Miscellaneous changes - :ref:`ref-classes-meson`: drop ``meson_do_qa_configure`` as it was non-functional (:oecore_rev:`0514b451b5d96135c6d24e75e0afa8b5aea513dd`) + +- Drop VSCode setup support from the ``oe-init-build-env`` script. Users are + advised to use :doc:`bitbake-setup + ` + instead (:oecore_rev:`4e781c6618ae8ba1a3d2c1242a92017dbe44caaf`) + diff --git a/documentation/migration-guides/release-notes-6.0.rst b/documentation/migration-guides/release-notes-6.0.rst index 461a9bc95..a4fd7a169 100644 --- a/documentation/migration-guides/release-notes-6.0.rst +++ b/documentation/migration-guides/release-notes-6.0.rst @@ -30,10 +30,13 @@ See also the list of new features and enhancements of the previous releases: New Features / Enhancements in |yocto-ver| ------------------------------------------ -- Linux kernel XXX, gcc XXX, glibc XXX, LLVM XXX, and over XXX other +- Linux kernel 6.18, gcc 15.2, glibc 2.43, LLVM 22.1.2, and over 300 other recipe upgrades -- Minimum Python version required on the host: XXX. +.. + Found in meta/classes-global/sanity.bbclass:check_sanity_everybuild + +- Minimum Python version required on the host: 3.9. - New variables: @@ -61,6 +64,10 @@ New Features / Enhancements in |yocto-ver| :ref:`ref-classes-create-spdx` class (:oecore_rev:`874b2d301d3cac617b1028bc6ce91b1f916a6508`) + - The :term:`SPDX_GIT_PURL_MAPPINGS` variable allows mapping domain names to + PURLs (Package URLs) in SPDX documents + (:oecore_rev:`9f1825e74d0f70917676201286b148aea84cc660`) + - The :term:`SPDX_CONCLUDED_LICENSE` allows specifying the ``hasConcludedLicense`` object of individual SBOM packages when using the :ref:`ref-classes-create-spdx` class @@ -86,8 +93,26 @@ New Features / Enhancements in |yocto-ver| partition created with the ``extra_partition`` plugin (:oecore_rev:`e1526079d205dac6e3cff6d8e5cb37f68b631009`) + - The :term:`FIT_LOADABLES`, :term:`FIT_LOADABLE_FILENAME`, + :term:`FIT_LOADABLE_TYPE`, :term:`FIT_LOADABLE_ARCH`, + :term:`FIT_LOADABLE_OS` and :term:`FIT_LOADABLE_LOADADDRESS` variables can + be used to specify arbitrary ``loadables`` in a FIT image + (:oecore_rev:`2535427d8de07f6e432d08cbdc046bdfd8788911`) + - Kernel-related changes: + - :ref:`ref-classes-kernel-fit-image`: Support arbitrary loadables + (:oecore_rev:`2535427d8de07f6e432d08cbdc046bdfd8788911`) + + - :ref:`ref-classes-kernel-yocto`: Allow enabling Rust in the kernel by + adding ``rust`` to the :term:`KERNEL_FEATURES` (for Linux kernel recipes + inheriting this class) + (:oecore_rev:`6719ed4a34051cf3dcbb67984ee15613512c061a`) + + - Disable :ref:`ref-classes-ccache` support when Linux kernel Rust support + is enabled + (:oecore_rev:`d80d006ae85172eb5125b7e1b44d4dee48615c92`) + - New core recipes: - ``libconfig``: Import recipe from :oe_git:`/meta-openembedded/`, needed by @@ -106,8 +131,63 @@ New Features / Enhancements in |yocto-ver| - ``blueprint-compiler``: Add the recipe as it became a dependency of the ``epiphany`` recipe after its upgrade to 49.2 (:oecore_rev:`4212392ca7ebf890e1e192ddd0e7dbe1f8dabcf2`) + - ``python3-sbom-cve-check``: New recipe for building and using + `sbom-cve-check `__, a + lightweight SBOM CVE analysis tool + (:oecore_rev:`0fdacec2d7101d3fe638b430c43b1e14acd148ae`) + + - ``python3-shacl2code``, ``python3-hatch-build-scripts``, + ``python3-spdx-python-model``: Added as dependencies of + ``python3-sbom-cve-check`` + (:oecore_rev:`48622216cb1a80f9cc127ebb08e13cc455d09240`, + :oecore_rev:`41591afd51ddbdaf1779799f4258a81afcff238d`, + :oecore_rev:`a83eaca5d9f3e2eb76a5d3c6bb42cf3b3bfe92fb`) + + - ``libfyaml``: Added as a dependency of ``appstream`` + (:oecore_rev:`b8b7b5873fecef4040c5f35d5a0e857f8f9fc907`) + + - ``meta-world-recipe-sbom``: Building this recipe will produce SBOM + documents for each recipe present in the build environment, using the + :ref:`ref-classes-create-spdx` class. This is different from the image + SBOM which can also be generated using the :ref:`ref-classes-create-spdx` + class after building an image. See :doc:`/dev-manual/sbom` for more + information + (:oecore_rev:`d999ac407c86b462134008818d5863ecb577f3c6`) + + - ``python3-kirk``: The Kirk application is a fork of ``runltp-ng`` and + became the official `LTP `__ + tests executor + (:oecore_rev:`c33fd4e50a66ace990f3820f980876bfbfc07baa`) + + - ``wic``: This recipe builds the :doc:`WIC ` command-line + tool. This used to be part of :term:`OpenEmbedded-Core (OE-Core)` but is + now externally managed + (:oecore_rev:`25ca1cb46dd6d0c57f61f2dc3b649601dc81b50c`, + :oecore_rev:`b9e2a2f584376076c4552bef7309c81b9fe986c0`) + - New core classes: + - :ref:`ref-classes-kernel-yocto-rust`: Adds the required dependencies to + build the Rust components of the Linux kernel + (:oecore_rev:`6c90097bebeffe7c5be35fc56e61b1994f03d6a9`) + + - :ref:`ref-classes-module-rust`: Support for building out-of-tree Rust + kernel modules. An example recipe using this class can be found in + :oecore_path:`meta-skeleton/recipes-kernel/rust-out-of-tree-module` + (:oecore_rev:`76fd22f09fab6c1de339dac310f9b31cb5e4ad69`, + :oecore_rev:`76fd22f09fab6c1de339dac310f9b31cb5e4ad69`) + + - :ref:`ref-classes-sbom-cve-check`: Class for post-build CVE analysis of an + image, which uses the `sbom-cve-check `__ + tool internally + (:oecore_rev:`8ef22ad9e302f86b2da4fa81541a464e95b9ef3c`) + + - :ref:`ref-classes-sbom-cve-check-recipe`: Class for post-build CVE + analysis of recipes (using the recipe SBOM, meaning building the + software provided by the recipe is not needed), which uses the + `sbom-cve-check `__ tool internally + (:oecore_rev:`e2518b1eaabef13c9f8d44b52b8ec9d4dd4ed916`) + - Global configuration changes: - ``base-passwd``: Add a ``clock`` group as `systemd` version v258 introduces @@ -177,8 +257,17 @@ New Features / Enhancements in |yocto-ver| - ``runqemu``: Support ``.tar.zst``, ``.tar,xz``, ``.tar`` rootfs archive types (:oecore_rev:`3a6172fbb6d3866b84627bcbf13e0a96837a85b1`) + - ``runqemu``: Allow VNC to be used as a fallback when there is no + ``DISPLAY`` set + (:oecore_rev:`df9e9f382eb27f15cee4f3f77023646dcc1273fa`) + - Documentation changes: + - The documentation build now fetches the list of active and inactive + version of the documentation from the remote `releases.json + `__ file. This also applies to + the :term:`BitBake` documentation. + - Go changes: - :ref:`ref-classes-go`: Disable workspaces when building @@ -194,11 +283,20 @@ New Features / Enhancements in |yocto-ver| ``libLLVM.so`` instead of linking statically (:oecore_rev:`74ba238ff1ba1e9b612aece1989b828f3a8f8770`) + - Install Rust library sources for ``make rustavailable`` support + (:oecore_rev:`2912ca3b341a5c5f6a658cde332ccd87368bd39d`) + + - Enable dynamic LLVM linking by default + (:oecore_rev:`d0671c3dad87a063b3a41dd07cde89b5684e692c`) + - Wic Image Creator changes: - ``wic/engine``: Fix copying directories into wic image with ``ext*`` partitions (:oecore_rev:`1ed38aff5f810d064c87aff9cbd310906833b6ba`) + - Re-implement sector-size support + (:oecore_rev:`b50d6debf7baa555fbfb3521c4f952675bba2d37`) + - SDK-related changes: - Testing-related changes: @@ -211,6 +309,7 @@ New Features / Enhancements in |yocto-ver| - ``libconfig`` (:oecore_rev:`f3e9d1326bf37361ff94dc4eef52de13b64651b2`) - ``libksba`` (:oecore_rev:`f50a2005dda8cecf3a9db44edb131e7e332fa42d`) - ``libmd`` (:oecore_rev:`4c0a41389bdab30e3b349fef8df6ca0ef4893b89`) + - ``libpcre2`` (:oecore_rev:`a7b79bf6ab86cb3ca82234e80f31c5f0208cd92d`) - ``libsolv`` (:oecore_rev:`f5432d1c45f9eb47182049c6930cfc6d5b26bc8d`) - ``libyaml`` (:oecore_rev:`ed2a3459829bb3b6c10143cceaef0147a0cb2b98`) - ``utfcpp`` (:oecore_rev:`49314caa7eb8efd86577121337a0b0d7472eab1b`) @@ -233,7 +332,22 @@ New Features / Enhancements in |yocto-ver| - ``selftest``: Test installation of recipes with complex packaging (:oecore_rev:`6f3aab6bfa754ecaeee0acc013cb6be1f07c1ec0`) -- Utility script changes: + - Add ``test_sdk_runqemu`` to test the execution of ``runqemu`` from an SDK + (:oecore_rev:`7fbb281cc16b6a0071777df5a6ed988463dda263`) + + - Add tests for Rust support in the Linux kernel + (:oecore_rev:`01ea2b2add3c0e87a4a23c9d2dabee8a46b60702`, + :oecore_rev:`10dff9f0ed2a87512d96c9419f3b4b35db41dd8b`) + + - Replace ``runltp`` with ``kirk``, as it became the new official LTP test + executor + (:oecore_rev:`c1e5ed4133729212e6ce3e135a2e4d1d624de20b`) + + - :doc:`WIC ` related tests were updated after wic was + moved to its own repository and is externally managed + (:oecore_rev:`b9e2a2f584376076c4552bef7309c81b9fe986c0`) + +- Utility script changes:classes - ``bitbake-config-build``: It is now possible to disable all fragments starting with a prefix by issuing ``bitbake-config-build disable-fragment @@ -253,6 +367,14 @@ New Features / Enhancements in |yocto-ver| - ``yocto-check-layer``: Add messages in ``test_readme`` assertions (:oecore_rev:`9fe883ce4c6284f1b75031adafeeafb47e56958c`) + - ``improve_kernel_cve_report``: + + - Sort ``kernel_compiled_files`` (:oecore_rev:`682e5beb0ce100ddc8413296334dfdbe0426dd38`) + - Correct the description for fixed version (:oecore_rev:`b76da2048bf3d72708d0d26215b959d09de17da0`) + - Update data if CVE exists (:oecore_rev:`9ea6d9209b95f8d31975d71315fb52343e6aa729`) + - Validate that cve details field exists (:oecore_rev:`80ff4903ea1b839f9cd9393b314c3adfbb80b765`) + + - BitBake changes: - ``bitbake-layers``: @@ -305,6 +427,30 @@ New Features / Enhancements in |yocto-ver| :ref:`bitbake:ref-bbsetup-command-status` or :ref:`bitbake:ref-bbsetup-command-update` commands + - The :ref:`bitbake:ref-bbsetup-command-update` now behaves in a + non-destructive way: local commits and modifications to layers are + taken into account, and the tool will either stop or warn the user that + the update is possible or not + (:bitbake_rev:`2ee3a195bbe1b7458f44a712a271abd9686f90c7`) + + - Share :ref:`overview-manual/concepts:Shared State` by default between + builds, by adding a definition for :term:`SSTATE_DIR` and + :term:`BB_HASHSERVE_DB_DIR` in the ``site.conf`` file created by + :ref:`bitbake:ref-bbsetup-command-init` + (:bitbake_rev:`a70c336790a9188aae67975fac6ca13579ad1d3e`) + + - Generate config files for VSCode by default, unless + ``--no-init-vscode`` is passed to :ref:`bitbake:ref-bbsetup-command-init` + (:bitbake_rev:`92fd721941fd17d1febc7205739e9f9ce1bb3aee`) + + - The ``unpack()`` function (the one containing the logic of the + :ref:`ref-tasks-unpack` task), can now take an ``update`` argument to + allow updating a Git repository in-place rather than deleting it and + re-creating it. An alias function named ``unpack_update()`` was created + for this unpack mode. See :ref:`bitbake:bb-the-unpack-update` for more + information + (:bitbake_rev:`e7d5e156275782948d3346f299780389ab263ab6`) + - ``cooker``: Use :term:`bitbake:BB_HASHSERVE_DB_DIR` as hash server database location. If unset, the existing behavior is preserved (:bitbake_rev:`b339d05ad2b69a6518522ee4c46dd5f5a6e33f65`) @@ -312,6 +458,11 @@ New Features / Enhancements in |yocto-ver| - ``bitbake-getvar``: Show close matches when no providers are found (:bitbake_rev:`1f8fa7c25e71cd0f230a2f6bfd9d5153c694da81`) + - The ``GIT_CONFIG_GLOBAL`` environment variable will now be taken into + account by the Git fetcher, to allow passing a different set of Git + configuration options when fetching Git repositories + (:bitbake_rev:`4c378445969853d6aff4694d937b9af47c7f7300`) + - Packaging changes: - Clang/LLVM related changes: @@ -332,6 +483,9 @@ New Features / Enhancements in |yocto-ver| - SPDX-related changes: + - Output SBOM documents now include recipe metadata + (:oecore_rev:`d999ac407c86b462134008818d5863ecb577f3c6`) + - ``spdx30_tasks``: Fix :term:`SPDX_CUSTOM_ANNOTATION_VARS` implementation (:oecore_rev:`52ab3b640c6bb7ece34cb4ea6026fd6375f17af4`) @@ -348,17 +502,44 @@ New Features / Enhancements in |yocto-ver| to the list of fixed CVEs in the output SBOM (:oecore_rev:`f8525224cb825b1aad2be240731eabafdde7612d`) + - The :ref:`ref-classes-create-spdx` class used to include `VEX + `__ statements in the SPDX documents + tied to each packages. This is no longer the case, as these statements are + now found in the SPDX documents for recipes directly. This was done to + decrease the duplication of these statements for packages that were generated + by the same recipe. + + The output SPDX document for an image recipe will still include the VEX + statements, as the SPDX document for the image also include the recipe SPDX + metadata. + + The inclusion of VEX statements in SPDX documents can be controlled with the + :term:`SPDX_INCLUDE_VEX` variable + (:oecore_rev:`d999ac407c86b462134008818d5863ecb577f3c6`) + + - ``devtool`` changes: - - ``ide-sdk``: Find ``bitbake-setup``'s ``init-build-env`` - first, and ``oe-init-build-env`` if not found - (:oecore_rev:`6ab7e9e8e52fa123551438820c59b8c5e0c9c8a5`) + - ``ide-sdk``: + + - Find ``bitbake-setup``'s ``init-build-env`` first, and + ``oe-init-build-env`` if not found + (:oecore_rev:`6ab7e9e8e52fa123551438820c59b8c5e0c9c8a5`) + + - Add `gdbserver` attach mode support + (:oecore_rev:`119171087681bd47842865d6451868c1127f1149`) - - ``ide-sdk``: Add `gdbserver` attach mode support - (:oecore_rev:`119171087681bd47842865d6451868c1127f1149`) + - Support GDB pretty-printing for C++ STL types + (:oecore_rev:`a69e2baba81b0cd88d58b164433c72e1156424b1`) - - ``ide-sdk``: Support GDB pretty-printing for C++ STL types - (:oecore_rev:`a69e2baba81b0cd88d58b164433c72e1156424b1`) + - Support kernel module development + (:oecore_rev:`aaf15d656db0f83b440de3b22a817355dd8dfebb`) + + - Add new patches in correct order when running ``devtool finish`` + (:oecore_rev:`fa7877d25826f58a74909908148b6b963dfe6908`) + + - Prevent ``devtool modify -n`` from corrupting Linux kernel Git repos + (:oecore_rev:`d383ea37e4987ecabe011226f1a8e658a52ede12`) - Patchtest-related changes: @@ -374,6 +555,17 @@ New Features / Enhancements in |yocto-ver| - :ref:`ref-classes-insane` / :ref:`ref-classes-sanity` classes related changes: + - Reject :term:`TMPDIR` containing redundant slashes to avoid errors in + executions of :ref:`ref-tasks-populate_sysroot` + (:oecore_rev:`3e72ebe9ed4e2e5f34eb89cd460e75a9242e296f`) + + - :ref:`ref-classes-sanity`: Warn when the + :ref:`overview-manual/concepts:Shared State` cache directory + (:term:`SSTATE_DIR`) is outside of the build directory (:term:`BUILDDIR`), + but the :ref:`overview-manual/concepts:Hash Equivalence` database is + inside it + (:oecore_rev:`491de0db64a0decd616a9e1c035f105faa14cc3c`) + - Security changes: - A new document was added to the Yocto Project documentation: @@ -385,14 +577,21 @@ New Features / Enhancements in |yocto-ver| - ``cve-update-nvd2-native``: Use maximum CVSS score when extracting it from multiple sources (:oecore_rev:`4f6192f3165de0bc2499e045607c7e7ffd878a4b`) + - Escape special characters in CPE 2.3 strings + (:oecore_rev:`9dd9c0038907340ba08ff4c8ee06a8748c1ac00a`) + - New :term:`PACKAGECONFIG` options for individual recipes: - ``curl``: ``schannel`` - ``gstreamer1.0-plugins-good``: ``qt6`` - ``libinput``: ``lua``, ``libwacom``, ``mtdev`` + - ``librepo``: ``sequoia`` - ``mesa``: ``expat``, ``zlib`` - ``openssl``: ``legacy`` - ``opkg``: ``acl``, ``xattr`` + - ``orc``: ``hotdoc`` + - ``python3``: ``freethreading`` (experimental, see + :oecore_rev:`c56990178b31b893fbf695eaf6b67de501e9d2e9`) - ``python3-cryptography``: ``legacy-openssl`` - systemd related changes: @@ -476,8 +675,13 @@ New Features / Enhancements in |yocto-ver| remove ``keactrl`` from the recipe (:oecore_rev:`08c3877f4df8392ae347b03ac5334b170b1a4fec`) - - ``initramfs-framework``: Add handover of PID 1's arguments to modules - (:oecore_rev:`a0ab3d1c4f9ed34d1d17e6534f42d17b3387ebb3`) + - ``initramfs-framework``: + + - Add handover of PID 1's arguments to modules + (:oecore_rev:`a0ab3d1c4f9ed34d1d17e6534f42d17b3387ebb3`) + + - Fix Linux kernel command line parsing when passing in double quotes + (:oecore_rev:`f9acaf1c130220859150bb4c0a0635fca2ad8487`) - ``perl``: Provide ``pod2man`` (in the recipe's :term:`PROVIDES` definition). This is used by many other recipes to produce :wikipedia:`man @@ -502,12 +706,36 @@ New Features / Enhancements in |yocto-ver| installing extra configuration files in ``${sysconfdir}/ssl/openssl.cnf.d/`` (:oecore_rev:`34bafcf3d8cdaa87506df30ef554d18981454c5e`) - - ``busybox``: Enable SELinux support if :term:`DISTRO_FEATURES` contains - ``selinux`` (:oecore_rev:`c544f12073ea712c3d3ce08105d52640a7a322b9`) + - ``busybox``: + + - Enable SELinux support if :term:`DISTRO_FEATURES` contains + ``selinux`` (:oecore_rev:`c544f12073ea712c3d3ce08105d52640a7a322b9`) + + - Do not build SUID binary without an applet + (:oecore_rev:`1406f9523c104d5357ce9594737c3bd32625b068`) - ``coreutils``: ``kill`` and ``uptime`` are no longer provided by the recipe (:oecore_rev:`cedeb958dfa892e409bdce8525030c20b3400332`) + - ``tcl8``: Skip timing-sensitive :ref:`ptests ` + (:oecore_rev:`1b93479f7b5ae4e2a62f929386e516adabbce46b`) + + - ``license_image.bbclass``: Report all packages with incompatible license + (when using :term:`INCOMPATIBLE_LICENSE`) + (:oecore_rev:`57fe3e411faec8cc60853f2e499661f9ede4f453`) + + - ``python3``: Package all of the compression module into + ``python3-compression`` + (:oecore_rev:`5f346802198f14d4c315783dea6a55743e34a2e8`) + + - ``gobject-introspection``: Disable cache for the scanner during + the :ref:`ref-tasks-compile` task (``GI_SCANNER_DISABLE_CACHE=1``), to fix + an intermittent build failure + (:oecore_rev:`2b55dd12fc9593beba20d684c8b143483e212bc6`) + + - :ref:`ref-classes-archiver`: Don't try to preserve all attributes when + copying files (:oecore_rev:`6e8313688fa994c82e4c846993ed8da0d1f4db0e`) + Known Issues in |yocto-ver| --------------------------- From patchwork Fri Apr 10 14:43:42 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Antonin Godard X-Patchwork-Id: 85837 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 22801F44879 for ; Fri, 10 Apr 2026 14:43:54 +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.158229.1775832231305827240 for ; Fri, 10 Apr 2026 07:43:51 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@bootlin.com header.s=dkim header.b=12dB7nsz; 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 D6B09C5C1A5 for ; Fri, 10 Apr 2026 14:44:23 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id AA189603F0 for ; Fri, 10 Apr 2026 14:43:48 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 207FF10450078; Fri, 10 Apr 2026 16:43:48 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1775832228; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=mxMeFJAj5ukRv5w99mgSGFa2d3s/CJuFsdhW/YJX+7c=; b=12dB7nszBvxys9SEz01t5k19zmXUlDGj0JiRPxqGtE2Tbt0I2uv2LqPnCDFPQbeeYJWJfK VmQn1OrEaB5cwtNAb9Ins9VVIqMnf+7y3EIw9ZcoMVF/ACe5wCZmbZI/5e9qTqWdYYYinV oaxnDwYjzDh8lH1LBKQuzM57sqY+uoGIzB3K8ckHfnGNQPsJ1iPjcWg4IJPSAHw45THsu5 PNB4fhPmlenF3G00VRTRiWEQ8BXWsBPUK2hVNukVwsJorTumhvcMMsoXUeLtuTWo99NZno /jyQAoVL/9OgmZGSaElNVdjpTSKRZ49L9AEUkQTZ2BoiSQGce3uQo0MMqjUJ4Q== From: Antonin Godard Date: Fri, 10 Apr 2026 16:43:42 +0200 Subject: [PATCH 18/18] migration-guides/migration-6.0.rst: tidy up the file MIME-Version: 1.0 Message-Id: <20260410-second-release-notes-6-0-v1-18-40213436c3ca@bootlin.com> References: <20260410-second-release-notes-6-0-v1-0-40213436c3ca@bootlin.com> In-Reply-To: <20260410-second-release-notes-6-0-v1-0-40213436c3ca@bootlin.com> To: docs@lists.yoctoproject.org Cc: Thomas Petazzoni , Antonin Godard X-Mailer: b4 0.16-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=2869; i=antonin.godard@bootlin.com; h=from:subject:message-id; bh=V4TY6+TVC3kWkbvjnWvLl0MEjAzUe143LK52bAt5sQo=; b=kA0DAAoB0YBBQCmjqDYByyZiAGnZDJmjD81/Os0l3GVHuS2OzMiGLmQMpC+ODpxAlf0qGC4vx IkCMwQAAQoAHRYhBIZIclGI3UAbuaDT/9GAQUApo6g2BQJp2QyZAAoJENGAQUApo6g2+RsP/0gp H6aemlBlZmNOQGGSuIAXd+nqoSRXTnfyTao7lUYAULgQ6Z90O6Feqia62uHJNdlCWodfTRQWvSU 48IDqlX5kHaOJ4qS+XcLTIL5G3nKalmRbdPI0J/9hPMzPpzxIvL6o1CsRl0YBRWQi0gZDEFR1ZK n9Odly4kVPwa2q3q6dbj7DMqjyP+74gckMJ2F3YsrPrJHAcyj+qZRWeoBe4crIver4ZozM4tzTX XjmpL6OiBDTlJ4YLeFE9/1lAspR/jokQv4iHwYTUVuds2InGh31CGPCbBipoAJcJqwP53PZycer XHdVNPo71lFh86O+9E5EB7WYWpcHJkIIWmoZlqi5rOlNzY/nE8y9eI+SyGIRd7rdMaJX8v2Sslr iVXkLqudlAQSpUVO+SrOgxT43RZ5HjtyqrWBEigFtXmYfzwV4nrdymY8DfZM8ApWKxeVJPIBCi6 pj1Wq+Ihv0Yo65GSihMmP1k9UGtKh9akGFjiXAPjD0pq7OMM5TDublX1B27ojRPtcsCDZL3Wb82 emHZ/P5j1nTp7+BiY3Li0kBDLZNOM7bFPAyB+usJY5UJhXfQAMfc2iW7r3aGayX91r3lFP16Wbo gW+Zy1fLsYTKnbli4dn4tfZSAfkyRa31yHkn/hO8N9d5/Ncm8Bo/iZy2quvATDtywlGOgmK7VHx YpdPD 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, 10 Apr 2026 14:43:54 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/9246 Fill in the missing pieces of the file, remove empty sections, and make the "Support for SysVinit compatibility in systemd was dropped" its own section as it was alone in "systemd changes". Signed-off-by: Antonin Godard --- documentation/migration-guides/migration-6.0.rst | 32 +++++++----------------- 1 file changed, 9 insertions(+), 23 deletions(-) diff --git a/documentation/migration-guides/migration-6.0.rst b/documentation/migration-guides/migration-6.0.rst index 8008c547d..42c688a89 100644 --- a/documentation/migration-guides/migration-6.0.rst +++ b/documentation/migration-guides/migration-6.0.rst @@ -30,7 +30,7 @@ See also the list of new features and enhancements of the previous releases: Supported kernel versions ------------------------- -The :term:`OLDEST_KERNEL` setting is XXX in this release, meaning that +The :term:`OLDEST_KERNEL` setting is 5.15 in this release, meaning that out the box, older kernels are not supported. See :ref:`4.3 migration notes ` for details. @@ -40,11 +40,16 @@ Supported distributions Compared to the previous releases, running BitBake is supported on new GNU/Linux distributions: -- XXX +- Fedora 43 +- openSUSE Leap 16.0 +- Ubuntu 26.04 (LTS) On the other hand, some earlier distributions are no longer supported: -- XXX +- Fedora 39 +- Fedora 40 +- Fedora 41 +- openSUSE Leap 15.5 See :ref:`all supported distributions `. @@ -348,14 +353,8 @@ For example, here is the content of the :term:`OpenEmbedded-Core (OE-Core)` ├── sdimage-bootpart.wks └── systemd-bootdisk.wks -Rust language changes ---------------------- - -systemd changes ---------------- - Support for SysVinit compatibility in systemd was dropped -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +--------------------------------------------------------- Support for the :wikipedia:`SysVinit ` compatibility in :wikipedia:`systemd ` was dropped. @@ -371,14 +370,6 @@ Users are advised to switch to one init manager or the other entirely. See commit :oecore_rev:`d9ec9e20eebc062d084dd76b59d665994e0cb51b` for more information. -Recipe changes --------------- - -Removed variables ------------------ - -The following variables have been removed: - Removed recipes --------------- @@ -422,11 +413,6 @@ 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. -Removed features ----------------- - -The following features have been removed in this release: - Miscellaneous changes ---------------------