From 5de2230907ac20b7af344c73db4c7d5bde372d1e Mon Sep 17 00:00:00 2001 From: Niko Mauno Date: Tue, 28 Jul 2026 10:23:15 +0300 Subject: [PATCH] ref-manual: Fix occurrences of omitted space with :prepend 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. (From yocto-docs rev: 8496602a28b19fec9ee55dc45572b31a32c70443) Signed-off-by: Niko Mauno Reviewed-by: Quentin Schulz Signed-off-by: Antonin Godard (cherry picked from commit b2f611f498eb22ca42dc436e3cde0c60ad2ba72f) Signed-off-by: Antonin Godard Signed-off-by: Paul Barker --- 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 7dd37c7a5c..1b9ba2dfdd 100644 --- a/documentation/ref-manual/faq.rst +++ b/documentation/ref-manual/faq.rst @@ -105,7 +105,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 @@ -144,7 +145,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 94f2eeca2a..25a7ffae30 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst @@ -7179,7 +7179,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