diff options
author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2012-11-27 09:50:38 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-12-03 13:53:00 +0000 |
commit | 518efae890f78f7f446b743c3860fb4f84fb6052 (patch) | |
tree | 0712a7ca1ae258b6bc7d5a22d34585b6d60dde00 /documentation | |
parent | 5b41087b3ecc0091a987a2c15658f839fa66a16f (diff) | |
download | poky-518efae890f78f7f446b743c3860fb4f84fb6052.tar.gz |
documentation: yocto-project-qs - Modified PREMIRRORS example
I updated the example to match the more elegant solution
provided in Robert P. J. Day's wiki.
Reported-by: Robert P. J. Day <rpjday@crashcourse.ca>
(From yocto-docs rev: 209d6205b4fc6a4010f440ba7e0e2018217a0a0b)
Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-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> |