diff options
-rw-r--r-- | documentation/yocto-project-qs/yocto-project-qs.xml | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/documentation/yocto-project-qs/yocto-project-qs.xml b/documentation/yocto-project-qs/yocto-project-qs.xml index 30b93c7a03..b1e5df0ecd 100644 --- a/documentation/yocto-project-qs/yocto-project-qs.xml +++ b/documentation/yocto-project-qs/yocto-project-qs.xml | |||
@@ -812,20 +812,20 @@ | |||
812 | <para> | 812 | <para> |
813 | A good deal that goes into a Yocto Project build is simply downloading all of the source | 813 | A good deal that goes into a Yocto Project build is simply downloading all of the source |
814 | tarballs. | 814 | tarballs. |
815 | Maybe you have been working with another build system (OpenEmbedded, Angstrom, etc) for which | 815 | Maybe you have been working with another build system (OpenEmbedded or Angstrom) for which |
816 | you've built up a sizable directory of source tarballs. | 816 | you've built up a sizable directory of source tarballs. |
817 | Or perhaps someone else has such a directory for which you have read access. | 817 | Or perhaps someone else has such a directory for which you have read access. |
818 | If so, you can save time by adding the <filename>PREMIRRORS</filename> | 818 | If so, you can save time by adding the <filename>PREMIRRORS</filename> |
819 | statement to your configuration file so that local directories are first checked for existing | 819 | statement to your configuration file so that the build process checks |
820 | tarballs before running out to the net: | 820 | local directories first for existing tarballs before checking the |
821 | Internet. | ||
822 | Here is an efficient way to set it up in your <filename>local.conf</filename> | ||
823 | file: | ||
821 | <literallayout class='monospaced'> | 824 | <literallayout class='monospaced'> |
822 | PREMIRRORS_prepend = "\ | 825 | SOURCE_MIRROR_URL ?= "file:///home/you/your-download-dir/" |
823 | git://.*/.* file:///home/you/dl/ \n \ | 826 | INHERIT += "own-mirrors" |
824 | svn://.*/.* file:///home/you/dl/ \n \ | 827 | BB_GENERATE_MIRROR_TARBALLS = "1" |
825 | cvs://.*/.* file:///home/you/dl/ \n \ | 828 | # BB_NO_NETWORK = "1" |
826 | ftp://.*/.* file:///home/you/dl/ \n \ | ||
827 | http://.*/.* file:///home/you/dl/ \n \ | ||
828 | https://.*/.* file:///home/you/dl/ \n" | ||
829 | </literallayout> | 829 | </literallayout> |
830 | </para> | 830 | </para> |
831 | </section> | 831 | </section> |