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/yocto-project-qs/yocto-project-qs.xml | |
parent | 5b41087b3ecc0091a987a2c15658f839fa66a16f (diff) | |
download | openembedded-core-contrib-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/yocto-project-qs/yocto-project-qs.xml')
-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 @@ <para> A good deal that goes into a Yocto Project build is simply downloading all of the source tarballs. - Maybe you have been working with another build system (OpenEmbedded, Angstrom, etc) for which + Maybe you have been working with another build system (OpenEmbedded or Angstrom) for which you've built up a sizable directory of source tarballs. Or perhaps someone else has such a directory for which you have read access. If so, you can save time by adding the <filename>PREMIRRORS</filename> - statement to your configuration file so that local directories are first checked for existing - tarballs before running out to the net: + statement to your configuration file so that the build process checks + local directories first for existing tarballs before checking the + Internet. + Here is an efficient way to set it up in your <filename>local.conf</filename> + file: <literallayout class='monospaced'> - PREMIRRORS_prepend = "\ - git://.*/.* file:///home/you/dl/ \n \ - svn://.*/.* file:///home/you/dl/ \n \ - cvs://.*/.* file:///home/you/dl/ \n \ - ftp://.*/.* file:///home/you/dl/ \n \ - http://.*/.* file:///home/you/dl/ \n \ - https://.*/.* file:///home/you/dl/ \n" + SOURCE_MIRROR_URL ?= "file:///home/you/your-download-dir/" + INHERIT += "own-mirrors" + BB_GENERATE_MIRROR_TARBALLS = "1" + # BB_NO_NETWORK = "1" </literallayout> </para> </section> |