[yocto] possible update to yocto QS guide, "own-mirrors"

Robert P. J. Day rpjday at crashcourse.ca
Mon Nov 19 15:12:53 PST 2012


  i recall that the QS guide scarfed some of my wiki QS page (which is
fine, given that i was credited for it, :-).  if someone (scott?)
wants to tweak, the whole current section showing how to set up a
local mirror of tarballs using:

     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"

can be tossed and replaced by what's now at my wiki page,
http://www.crashcourse.ca/wiki/index.php/Yocto_Project_Quick_Start,
which is a much tidier solution:

     SOURCE_MIRROR_URL ?= "file:///home/rpjday/y/src/dl/"
     INHERIT += "own-mirrors"
     BB_GENERATE_MIRROR_TARBALLS = "1"
     # BB_NO_NETWORK = "1"

so help yourself.

rday

-- 

========================================================================
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