[poky] wanting to clarify some details about PREMIRRORS

Robert P. J. Day rpjday at crashcourse.ca
Tue Sep 6 07:20:33 PDT 2011


  after a short and educational chat with a couple people who should
know, i want to clarify what i understand about PREMIRRORS so i can
document it properly.  and it seems that the poky list, not the yocto
list, is the right place for that.  (correct me if i'm wrong.)

  i'm reading the poky reference manual:

http://www.yoctoproject.org/docs/poky-ref-manual/poky-ref-manual.html

and here's what i *think* i understand about the proper use of
PREMIRRORS.

  first, it's for identifying more quickly accessible and downloadable
source for a given build, and it reflects *only tarballs*, is that
correct?  as in, regardless of how you would *normally* get some
software component for your build (ftp, http, git, svn, ...), what
PREMIRRORS represents is ***only*** tarballs that match precisely the
software component your build needs.  is that correct?

  also, is there a list of acceptable archive suffixes that PREMIRRORS
can handle?  i've seen .tar.gz, .tar.bz2, .tgz and so on.  is there a
fetcher method that makes it clear what you can and can't have in
PREMIRRORS?

  next, as i read it, the PREMIRRORS entries for ftp, http and https
represent what are normally tarballs, anyway.  when you get into
SCM-based fetches, then the PREMIRRORS location would contain the
resulting tarball you would have ended up with.

  for instance, with my default yocto build, i need to "git" the
3.0... linux kernel.  what i end up with is the 500M tarball
git2_git.yoctoproject.org.linux-yocto-3.0.tar.gz.  so as long as i
copy that tarball into my PREMIRRORS local directory, as long as my
subsequent yocto builds require *precisely* that git clone of the
kernel, my local PREMIRRORS tarball will be used, correct?

  am i making sense so far?  i'm sure i'll be asking more.

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 poky mailing list