From 4ca20be7fe65b752b424cfaacbb107edb06e3362 Mon Sep 17 00:00:00 2001 From: Jon Mason Date: Tue, 5 Oct 2021 18:45:12 -0400 Subject: [PATCH] documentation: update sources mirror URL The URL for the sources mirror no longer works. Update to the new location. (From yocto-docs rev: 616c326437c03d7f4530168c4c9d6ef50743952e) Signed-off-by: Jon Mason Reviewed-by: Michael Opdenacker Signed-off-by: Richard Purdie --- documentation/ref-manual/faq.rst | 15 ++++++++------- documentation/ref-manual/variables.rst | 8 ++++---- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/documentation/ref-manual/faq.rst b/documentation/ref-manual/faq.rst index f40367bd58..e4d3d3e963 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 ``local.conf`` configuration file:: PREMIRRORS:prepend = "\ - git://.*/.* http://www.yoctoproject.org/sources/ \n \ - ftp://.*/.* http://www.yoctoproject.org/sources/ \n \ - http://.*/.* http://www.yoctoproject.org/sources/ \n \ - https://.*/.* http://www.yoctoproject.org/sources/ \n" + git://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \ + ftp://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \ + http://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \ + https://.*/.* http://downloads.yoctoproject.org/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,9 +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 = "\ - ftp://.*/.* http://www.yoctoproject.org/sources/ \n \ - http://.*/.* http://www.yoctoproject.org/sources/ \n \ - https://.*/.* http://www.yoctoproject.org/sources/ \n" + git://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \ + ftp://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \ + http://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \ + https://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n" 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 5cb036c304..8bd7b08c6e 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. :term:`Build Directory`:: PREMIRRORS:prepend = "\ - git://.*/.* http://www.yoctoproject.org/sources/ \n \ - ftp://.*/.* http://www.yoctoproject.org/sources/ \n \ - http://.*/.* http://www.yoctoproject.org/sources/ \n \ - https://.*/.* http://www.yoctoproject.org/sources/ \n" + git://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \ + ftp://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \ + http://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \ + https://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n" These changes cause the build system to intercept Git, FTP, HTTP, and HTTPS requests and