[yocto] should yocto QS guide mention SOURCE_MIRROR_URL?

Robert P. J. Day rpjday at crashcourse.ca
Mon Jun 4 01:27:35 PDT 2012


  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.

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================



More information about the yocto mailing list