summaryrefslogtreecommitdiff
path: root/poky/documentation/ref-manual/faq.rst
diff options
context:
space:
mode:
Diffstat (limited to 'poky/documentation/ref-manual/faq.rst')
-rw-r--r--poky/documentation/ref-manual/faq.rst17
1 files changed, 9 insertions, 8 deletions
diff --git a/poky/documentation/ref-manual/faq.rst b/poky/documentation/ref-manual/faq.rst
index d3a603d4a4..6f2970df23 100644
--- a/poky/documentation/ref-manual/faq.rst
+++ b/poky/documentation/ref-manual/faq.rst
@@ -143,7 +143,7 @@ various proxy types and configuring proxy servers, see the
":yocto_wiki:`Working Behind a Network Proxy </Working_Behind_a_Network_Proxy>`"
Wiki page.
-**Q:** What's the difference between target and target\ ``-native``?
+**Q:** What's the difference between ``target`` and ``target-native``?
**A:** The ``*-native`` targets are designed to run on the system being
used for the build. These are usually tools that are needed to assist
@@ -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://.*/.* &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,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://.*/.* &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