diff options
author | Michael Opdenacker <michael.opdenacker@bootlin.com> | 2021-11-22 09:17:14 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-12-13 23:31:34 +0000 |
commit | 99474e0d681cc9beb3604f214884054b3aec38a1 (patch) | |
tree | 13240e58109bb5c5aab3f0f48540e0d59f266afb /documentation/ref-manual | |
parent | d21c35bd81ffb806e5157a43231f8af92c0ba90a (diff) | |
download | poky-99474e0d681cc9beb3604f214884054b3aec38a1.tar.gz |
ref-manual: remove newline string in PREMIRRORS
According to the syntax simplification brought by
https://git.openembedded.org/bitbake/commit/?id=044fb04d
(From yocto-docs rev: 19090efa1268fcb1fcfd3a2dc637d10d8a50dfad)
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/ref-manual')
-rw-r--r-- | documentation/ref-manual/faq.rst | 16 | ||||
-rw-r--r-- | documentation/ref-manual/variables.rst | 8 |
2 files changed, 12 insertions, 12 deletions
diff --git a/documentation/ref-manual/faq.rst b/documentation/ref-manual/faq.rst index 6f2970df23..e06dfd972b 100644 --- a/documentation/ref-manual/faq.rst +++ b/documentation/ref-manual/faq.rst | |||
@@ -302,10 +302,10 @@ attempt before any others by adding something like the following to the | |||
302 | ``local.conf`` configuration file:: | 302 | ``local.conf`` configuration file:: |
303 | 303 | ||
304 | PREMIRRORS:prepend = "\ | 304 | PREMIRRORS:prepend = "\ |
305 | git://.*/.* &YOCTO_DL_URL;/mirror/sources/ \n \ | 305 | git://.*/.* &YOCTO_DL_URL;/mirror/sources/ \ |
306 | ftp://.*/.* &YOCTO_DL_URL;/mirror/sources/ \n \ | 306 | ftp://.*/.* &YOCTO_DL_URL;/mirror/sources/ \ |
307 | http://.*/.* &YOCTO_DL_URL;/mirror/sources/ \n \ | 307 | http://.*/.* &YOCTO_DL_URL;/mirror/sources/ \ |
308 | https://.*/.* &YOCTO_DL_URL;/mirror/sources/ \n" | 308 | https://.*/.* &YOCTO_DL_URL;/mirror/sources/" |
309 | 309 | ||
310 | These changes cause the build system to intercept Git, FTP, HTTP, and | 310 | These changes cause the build system to intercept Git, FTP, HTTP, and |
311 | HTTPS requests and direct them to the ``http://`` sources mirror. You | 311 | HTTPS requests and direct them to the ``http://`` sources mirror. You |
@@ -342,10 +342,10 @@ You could make the following changes to the ``local.conf`` configuration | |||
342 | file as long as the :term:`PREMIRRORS` server is current:: | 342 | file as long as the :term:`PREMIRRORS` server is current:: |
343 | 343 | ||
344 | PREMIRRORS:prepend = "\ | 344 | PREMIRRORS:prepend = "\ |
345 | git://.*/.* &YOCTO_DL_URL;/mirror/sources/ \n \ | 345 | git://.*/.* &YOCTO_DL_URL;/mirror/sources/ \ |
346 | ftp://.*/.* &YOCTO_DL_URL;/mirror/sources/ \n \ | 346 | ftp://.*/.* &YOCTO_DL_URL;/mirror/sources/ \ |
347 | http://.*/.* &YOCTO_DL_URL;/mirror/sources/ \n \ | 347 | http://.*/.* &YOCTO_DL_URL;/mirror/sources/ \ |
348 | https://.*/.* &YOCTO_DL_URL;/mirror/sources/ \n" | 348 | https://.*/.* &YOCTO_DL_URL;/mirror/sources/" |
349 | BB_FETCH_PREMIRRORONLY = "1" | 349 | BB_FETCH_PREMIRRORONLY = "1" |
350 | 350 | ||
351 | These changes would cause the build system to successfully fetch source | 351 | 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 c30110d916..83f39af2cf 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst | |||
@@ -5855,10 +5855,10 @@ system and gives an overview of their function and contents. | |||
5855 | :term:`Build Directory`:: | 5855 | :term:`Build Directory`:: |
5856 | 5856 | ||
5857 | PREMIRRORS:prepend = "\ | 5857 | PREMIRRORS:prepend = "\ |
5858 | git://.*/.* &YOCTO_DL_URL;/mirror/sources/ \n \ | 5858 | git://.*/.* &YOCTO_DL_URL;/mirror/sources/ \ |
5859 | ftp://.*/.* &YOCTO_DL_URL;/mirror/sources/ \n \ | 5859 | ftp://.*/.* &YOCTO_DL_URL;/mirror/sources/ \ |
5860 | http://.*/.* &YOCTO_DL_URL;/mirror/sources/ \n \ | 5860 | http://.*/.* &YOCTO_DL_URL;/mirror/sources/ \ |
5861 | https://.*/.* &YOCTO_DL_URL;/mirror/sources/ \n" | 5861 | https://.*/.* &YOCTO_DL_URL;/mirror/sources/" |
5862 | 5862 | ||
5863 | These changes cause the | 5863 | These changes cause the |
5864 | build system to intercept Git, FTP, HTTP, and HTTPS requests and | 5864 | build system to intercept Git, FTP, HTTP, and HTTPS requests and |