On Mon, Jun 4, 2012 at 1:27 AM, Robert P. J. Day <[email protected]> wrote: > > in the current QS guide, late section "Configuring the local.conf > File", is the advice: > > "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 > 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 PREMIRRORS statement to your > configuration file so that local directories are first checked for > existing tarballs before running out to the net: > > 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" " > > > should that be simplified to use SOURCE_MIRROR_URL, which is what i > use: > > SOURCE_MIRROR_URL ?= "file:///home/rpjday/dl/" > INHERIT += "own-mirrors" > BB_GENERATE_MIRROR_TARBALLS = "1" > # BB_NO_NETWORK = "1" > > rday > > p.s. does SOURCE_MIRROR_URL accept multiple URLs? i don't see that > mentioned anywhere, but maybe i just missed it.
I think it will. Since it becomes PREMIRRORS and fetcher code in bitbake checks for list of mirrors. > > -- > > ======================================================================== > Robert P. J. Day Ottawa, Ontario, CANADA > http://crashcourse.ca > > Twitter: http://twitter.com/rpjday > LinkedIn: http://ca.linkedin.com/in/rpjday > ======================================================================== > _______________________________________________ > yocto mailing list > [email protected] > https://lists.yoctoproject.org/listinfo/yocto _______________________________________________ yocto mailing list [email protected] https://lists.yoctoproject.org/listinfo/yocto
