1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-30 00:20:08 +00:00

documentation: use YOCTO_DL_URL

(From yocto-docs rev: e3ad609d9fce8d6729bf6cb553993bddba1785ae)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Jon Mason
2021-10-07 11:06:29 -04:00
committed by Richard Purdie
parent 58645b0586
commit 0638b77576
3 changed files with 26 additions and 26 deletions
+8 -8
View File
@@ -302,10 +302,10 @@ attempt before any others by adding something like the following to the
``local.conf`` configuration file::
PREMIRRORS:prepend = "\
git://.*/.* https://downloads.yoctoproject.org/mirror/sources/ \n \
ftp://.*/.* https://downloads.yoctoproject.org/mirror/sources/ \n \
http://.*/.* https://downloads.yoctoproject.org/mirror/sources/ \n \
https://.*/.* https://downloads.yoctoproject.org/mirror/sources/ \n"
git://.*/.* &YOCTO_DL_URL;/mirror/sources/ \n \
ftp://.*/.* &YOCTO_DL_URL;/mirror/sources/ \n \
http://.*/.* &YOCTO_DL_URL;/mirror/sources/ \n \
https://.*/.* &YOCTO_DL_URL;/mirror/sources/ \n"
These changes cause the build system to intercept Git, FTP, HTTP, and
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
file as long as the :term:`PREMIRRORS` server is current::
PREMIRRORS:prepend = "\
git://.*/.* https://downloads.yoctoproject.org/mirror/sources/ \n \
ftp://.*/.* https://downloads.yoctoproject.org/mirror/sources/ \n \
http://.*/.* https://downloads.yoctoproject.org/mirror/sources/ \n \
https://.*/.* https://downloads.yoctoproject.org/mirror/sources/ \n"
git://.*/.* &YOCTO_DL_URL;/mirror/sources/ \n \
ftp://.*/.* &YOCTO_DL_URL;/mirror/sources/ \n \
http://.*/.* &YOCTO_DL_URL;/mirror/sources/ \n \
https://.*/.* &YOCTO_DL_URL;/mirror/sources/ \n"
BB_FETCH_PREMIRRORONLY = "1"
These changes would cause the build system to successfully fetch source
+4 -4
View File
@@ -5855,10 +5855,10 @@ system and gives an overview of their function and contents.
:term:`Build Directory`::
PREMIRRORS:prepend = "\
git://.*/.* https://downloads.yoctoproject.org/mirror/sources/ \n \
ftp://.*/.* https://downloads.yoctoproject.org/mirror/sources/ \n \
http://.*/.* https://downloads.yoctoproject.org/mirror/sources/ \n \
https://.*/.* https://downloads.yoctoproject.org/mirror/sources/ \n"
git://.*/.* &YOCTO_DL_URL;/mirror/sources/ \n \
ftp://.*/.* &YOCTO_DL_URL;/mirror/sources/ \n \
http://.*/.* &YOCTO_DL_URL;/mirror/sources/ \n \
https://.*/.* &YOCTO_DL_URL;/mirror/sources/ \n"
These changes cause the
build system to intercept Git, FTP, HTTP, and HTTPS requests and