summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Rifenbark <scott.m.rifenbark@intel.com>2013-02-04 12:34:51 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-02-14 17:24:02 +0000
commit846a33ee7549d47ad93ae727daea8348af9342e8 (patch)
tree45a61365f102f9486370bbf52836a49f57c362d7
parentc6f133f50ed75e5232f55336ac00111baa610a53 (diff)
downloadpoky-846a33ee7549d47ad93ae727daea8348af9342e8.tar.gz
yocto-project-qs: Updates to how to use local directories for source
The section that describes an efficient way to set up the build system to look in local areas for tarballs needed updated so that PREMIRRORS was not the focus. The example used does not even employ PREMIRRORS. So I changed wording to support the example. I also added a mention of the PREMIRRORS variable and a linked reference to it for more information. (From yocto-docs rev: 7966942e2dfad85c2eb9480d7f706355871c40ab) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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'>