summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--documentation/yocto-project-qs/yocto-project-qs.xml30
1 files changed, 20 insertions, 10 deletions
diff --git a/documentation/yocto-project-qs/yocto-project-qs.xml b/documentation/yocto-project-qs/yocto-project-qs.xml
index f0d3dad138..a1c714e007 100644
--- a/documentation/yocto-project-qs/yocto-project-qs.xml
+++ b/documentation/yocto-project-qs/yocto-project-qs.xml
@@ -818,17 +818,19 @@
818 </para> 818 </para>
819 819
820 <para> 820 <para>
821 A good deal that goes into a Yocto Project build is simply downloading all of the source 821 A good deal that goes into a Yocto Project build is simply
822 tarballs. 822 downloading all of the source tarballs.
823 Maybe you have been working with another build system (OpenEmbedded or Angstrom) for which 823 Maybe you have been working with another build system
824 you've built up a sizable directory of source tarballs. 824 (OpenEmbedded or Angstrom) for which you have built up a sizable
825 Or perhaps someone else has such a directory for which you have read access. 825 directory of source tarballs.
826 If so, you can save time by adding the <filename>PREMIRRORS</filename> 826 Or, perhaps someone else has such a directory for which you have
827 statement to your configuration file so that the build process checks 827 read access.
828 local directories first for existing tarballs before checking the 828 If so, you can save time by adding statements to your
829 configuration file so that the build process checks local
830 directories first for existing tarballs before checking the
829 Internet. 831 Internet.
830 Here is an efficient way to set it up in your <filename>local.conf</filename> 832 Here is an efficient way to set it up in your
831 file: 833 <filename>local.conf</filename> file:
832 <literallayout class='monospaced'> 834 <literallayout class='monospaced'>
833 SOURCE_MIRROR_URL ?= "file:///home/you/your-download-dir/" 835 SOURCE_MIRROR_URL ?= "file:///home/you/your-download-dir/"
834 INHERIT += "own-mirrors" 836 INHERIT += "own-mirrors"
@@ -836,6 +838,14 @@
836 # BB_NO_NETWORK = "1" 838 # BB_NO_NETWORK = "1"
837 </literallayout> 839 </literallayout>
838 </para> 840 </para>
841
842 <para>
843 You can also use the
844 <ulink url='&YOCTO_DOCS_REF_URL;#var-PREMIRRORS'><filename>PREMIRRORS</filename></ulink>
845 variable.
846 For an example, see the variable's glossary entry in the
847 Yocto Project Reference Manual.
848 </para>
839 </section> 849 </section>
840 850
841 <section id='building-the-image'> 851 <section id='building-the-image'>