From patchwork Mon Jul 27 16:35:26 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: niko.mauno@iki.fi X-Patchwork-Id: 93593 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 AB9F6C54F4C for ; Mon, 27 Jul 2026 16:36:05 +0000 (UTC) Received: from mailtransmit04.runbox.com (mailtransmit04.runbox.com [185.226.149.37]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.35580.1785170156573439575 for ; Mon, 27 Jul 2026 09:35:57 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=neutral (domain: iki.fi, ip: 185.226.149.37, mailfrom: niko.mauno@iki.fi) Received: from mailtransmit03.runbox ([10.9.9.163] helo=aibo.runbox.com) by mailtransmit04.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1woOJ0-000Egn-5b; Mon, 27 Jul 2026 18:35:54 +0200 Received: from [10.9.9.74] (helo=submission03.runbox) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1woOIz-0000Cm-Pp; Mon, 27 Jul 2026 18:35:53 +0200 Received: by submission03.runbox with esmtpsa [Authenticated ID (1051538)] (TLS1.2:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.95) id 1woOIf-00H0lC-6l; Mon, 27 Jul 2026 18:35:33 +0200 From: niko.mauno@iki.fi To: docs@lists.yoctoproject.org Cc: Niko Mauno Subject: [PATCH 1/4] ref-manual: Fix occurrences of omitted space with :prepend Date: Mon, 27 Jul 2026 19:35:26 +0300 Message-ID: <20260727163529.30595-1-niko.mauno@iki.fi> X-Mailer: git-send-email 2.47.3 MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 27 Jul 2026 16:36:05 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/10143 From: Niko Mauno Add trailing space to value field in :prepend assignments, in order to avoid providing examples which could lead the users to risk inadvertent string concatenation. Signed-off-by: Niko Mauno Reviewed-by: Quentin Schulz --- documentation/ref-manual/faq.rst | 6 ++++-- documentation/ref-manual/variables.rst | 3 ++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/documentation/ref-manual/faq.rst b/documentation/ref-manual/faq.rst index 65d5db5d2..2ffacaf94 100644 --- a/documentation/ref-manual/faq.rst +++ b/documentation/ref-manual/faq.rst @@ -126,7 +126,8 @@ attempt before any others by adding something like the following to the git://.*/.* &YOCTO_DL_URL;/mirror/sources/ \ ftp://.*/.* &YOCTO_DL_URL;/mirror/sources/ \ http://.*/.* &YOCTO_DL_URL;/mirror/sources/ \ - https://.*/.* &YOCTO_DL_URL;/mirror/sources/" + https://.*/.* &YOCTO_DL_URL;/mirror/sources/ \ + " These changes cause the build system to intercept Git, FTP, HTTP, and HTTPS requests and direct them to the ``http://`` sources mirror. You @@ -165,7 +166,8 @@ file as long as the :term:`PREMIRRORS` server is current:: git://.*/.* &YOCTO_DL_URL;/mirror/sources/ \ ftp://.*/.* &YOCTO_DL_URL;/mirror/sources/ \ http://.*/.* &YOCTO_DL_URL;/mirror/sources/ \ - https://.*/.* &YOCTO_DL_URL;/mirror/sources/" + https://.*/.* &YOCTO_DL_URL;/mirror/sources/ \ + " BB_FETCH_PREMIRRORONLY = "1" These changes would cause the build system to successfully fetch source diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index 394797ca3..0066ede0f 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst @@ -7843,7 +7843,8 @@ system and gives an overview of their function and contents. git://.*/.* &YOCTO_DL_URL;/mirror/sources/ \ ftp://.*/.* &YOCTO_DL_URL;/mirror/sources/ \ http://.*/.* &YOCTO_DL_URL;/mirror/sources/ \ - https://.*/.* &YOCTO_DL_URL;/mirror/sources/" + https://.*/.* &YOCTO_DL_URL;/mirror/sources/ \ + " These changes cause the build system to intercept Git, FTP, HTTP, and HTTPS requests and From patchwork Mon Jul 27 16:35:27 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: niko.mauno@iki.fi X-Patchwork-Id: 93594 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 9C676C54F4D for ; Mon, 27 Jul 2026 16:36:05 +0000 (UTC) Received: from mailtransmit05.runbox.com (mailtransmit05.runbox.com [185.226.149.38]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.35418.1785170156948183111 for ; Mon, 27 Jul 2026 09:35:57 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=neutral (domain: iki.fi, ip: 185.226.149.38, mailfrom: niko.mauno@iki.fi) Received: from mailtransmit02.runbox ([10.9.9.162] helo=aibo.runbox.com) by mailtransmit05.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1woOJ0-001pHa-7n; Mon, 27 Jul 2026 18:35:54 +0200 Received: from [10.9.9.74] (helo=submission03.runbox) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1woOIz-0008DZ-Vk; Mon, 27 Jul 2026 18:35:54 +0200 Received: by submission03.runbox with esmtpsa [Authenticated ID (1051538)] (TLS1.2:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.95) id 1woOIf-00H0lC-E7; Mon, 27 Jul 2026 18:35:33 +0200 From: niko.mauno@iki.fi To: docs@lists.yoctoproject.org Cc: Niko Mauno Subject: [PATCH 2/4] ref-manual: Prune superfluous space with :append Date: Mon, 27 Jul 2026 19:35:27 +0300 Message-ID: <20260727163529.30595-2-niko.mauno@iki.fi> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260727163529.30595-1-niko.mauno@iki.fi> References: <20260727163529.30595-1-niko.mauno@iki.fi> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 27 Jul 2026 16:36:05 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/10145 From: Niko Mauno Remove occurrences of superfluous space characters in value field of :append assignments. Signed-off-by: Niko Mauno Reviewed-by: Quentin Schulz --- documentation/ref-manual/qa-checks.rst | 2 +- documentation/ref-manual/variables.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/documentation/ref-manual/qa-checks.rst b/documentation/ref-manual/qa-checks.rst index 9654cf08e..09b0f628a 100644 --- a/documentation/ref-manual/qa-checks.rst +++ b/documentation/ref-manual/qa-checks.rst @@ -889,7 +889,7 @@ or "-fpic" to the compiler command-line options. For example, given software that reads :term:`CFLAGS` when you build it, you could add the following to your recipe:: - CFLAGS:append = " -fPIC " + CFLAGS:append = " -fPIC" For more information on text relocations at runtime, see https://www.akkadia.org/drepper/textrelocs.html. diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index 0066ede0f..b124e9c30 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst @@ -5559,7 +5559,7 @@ system and gives an overview of their function and contents. KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc features/taskstats/taskstats.scc" KERNEL_FEATURES:append = " ${KERNEL_EXTRA_FEATURES}" KERNEL_FEATURES:append:qemuall = " cfg/virtio.scc" - KERNEL_FEATURES:append:qemux86 = " cfg/sound.scc cfg/paravirt_kvm.scc" + KERNEL_FEATURES:append:qemux86 = " cfg/sound.scc cfg/paravirt_kvm.scc" KERNEL_FEATURES:append:qemux86-64 = " cfg/sound.scc" :term:`KERNEL_FIT_LINK_NAME` From patchwork Mon Jul 27 16:35:28 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: niko.mauno@iki.fi X-Patchwork-Id: 93591 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 70E01C531D0 for ; Mon, 27 Jul 2026 16:36:05 +0000 (UTC) Received: from mailtransmit05.runbox.com (mailtransmit05.runbox.com [185.226.149.38]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.35417.1785170156948026599 for ; Mon, 27 Jul 2026 09:35:57 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=neutral (domain: iki.fi, ip: 185.226.149.38, mailfrom: niko.mauno@iki.fi) Received: from mailtransmit03.runbox ([10.9.9.163] helo=aibo.runbox.com) by mailtransmit05.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1woOJ0-001pHY-4Q; Mon, 27 Jul 2026 18:35:54 +0200 Received: from [10.9.9.74] (helo=submission03.runbox) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1woOIy-0000Cf-Da; Mon, 27 Jul 2026 18:35:53 +0200 Received: by submission03.runbox with esmtpsa [Authenticated ID (1051538)] (TLS1.2:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.95) id 1woOIf-00H0lC-KR; Mon, 27 Jul 2026 18:35:33 +0200 From: niko.mauno@iki.fi To: docs@lists.yoctoproject.org Cc: Niko Mauno Subject: [PATCH 3/4] dev-manual: Fix missing whitespace around '=' operator Date: Mon, 27 Jul 2026 19:35:28 +0300 Message-ID: <20260727163529.30595-3-niko.mauno@iki.fi> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260727163529.30595-1-niko.mauno@iki.fi> References: <20260727163529.30595-1-niko.mauno@iki.fi> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 27 Jul 2026 16:36:05 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/10146 From: Niko Mauno According to the Whinlatter (5.3) migration guide; A new warning is now printed when there are no whitespaces around an '=' assignment in recipes Fix occurrence of example verbatim applying of which would generate such warning. Signed-off-by: Niko Mauno Reviewed-by: Quentin Schulz --- documentation/dev-manual/layers.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documentation/dev-manual/layers.rst b/documentation/dev-manual/layers.rst index dc63478a3..d33eb136d 100644 --- a/documentation/dev-manual/layers.rst +++ b/documentation/dev-manual/layers.rst @@ -252,7 +252,7 @@ following list: KERNEL_CC:append:arc = " ${TOOLCHAIN_OPTIONS}" KERNEL_LD:append:arc = " ${TOOLCHAIN_OPTIONS}" - KERNEL_FEATURES:append:qemuall=" features/debug/printk.scc" + KERNEL_FEATURES:append:qemuall = " features/debug/printk.scc" - *Place Machine-Specific Files in Machine-Specific Locations:* When you have a base recipe, such as ``base-files.bb``, that contains a From patchwork Mon Jul 27 16:35:29 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: niko.mauno@iki.fi X-Patchwork-Id: 93592 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 9C35FC53209 for ; Mon, 27 Jul 2026 16:36:05 +0000 (UTC) Received: from mailtransmit04.runbox.com (mailtransmit04.runbox.com [185.226.149.37]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.35581.1785170156888314031 for ; Mon, 27 Jul 2026 09:35:57 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=neutral (domain: iki.fi, ip: 185.226.149.37, mailfrom: niko.mauno@iki.fi) Received: from mailtransmit02.runbox ([10.9.9.162] helo=aibo.runbox.com) by mailtransmit04.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1woOJ0-000Egq-FD; Mon, 27 Jul 2026 18:35:54 +0200 Received: from [10.9.9.74] (helo=submission03.runbox) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1woOJ0-0008De-5M; Mon, 27 Jul 2026 18:35:54 +0200 Received: by submission03.runbox with esmtpsa [Authenticated ID (1051538)] (TLS1.2:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.95) id 1woOIf-00H0lC-Qv; Mon, 27 Jul 2026 18:35:33 +0200 From: niko.mauno@iki.fi To: docs@lists.yoctoproject.org Cc: Niko Mauno Subject: [PATCH 4/4] recipe-style-guide: Prune unicode from code example Date: Mon, 27 Jul 2026 19:35:29 +0300 Message-ID: <20260727163529.30595-4-niko.mauno@iki.fi> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260727163529.30595-1-niko.mauno@iki.fi> References: <20260727163529.30595-1-niko.mauno@iki.fi> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 27 Jul 2026 16:36:05 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/10144 From: Niko Mauno Copy-pasting example segment containing unicode characters causes breakage like: ERROR: ParseError at .../foobar.bb:158: unparsed line: 'RDEPENDS:${PN} = “foo”' therefore replace the unicode characters in the example with regular ASCII characters. Signed-off-by: Niko Mauno Reviewed-by: Quentin Schulz --- documentation/contributor-guide/recipe-style-guide.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/documentation/contributor-guide/recipe-style-guide.rst b/documentation/contributor-guide/recipe-style-guide.rst index f81ffb2ab..84c6bb14e 100644 --- a/documentation/contributor-guide/recipe-style-guide.rst +++ b/documentation/contributor-guide/recipe-style-guide.rst @@ -192,11 +192,11 @@ Custom tasks should be sorted similarly. Package specific variables are typically grouped together, e.g.:: - RDEPENDS:${PN} = “foo” - RDEPENDS:${PN}-libs = “bar” + RDEPENDS:${PN} = "foo" + RDEPENDS:${PN}-libs = "bar" - RRECOMMENDS:${PN} = “one” - RRECOMMENDS:${PN}-libs = “two” + RRECOMMENDS:${PN} = "one" + RRECOMMENDS:${PN}-libs = "two" Recipe License Fields ---------------------