Skip to contentSkip to conversation

any objection to adding a PREMIRRORS section to the QS guide?

DISCUSSION Robert P. J. Day 2 participants 3 messages Oct 30, 2011 – Oct 31, 2011

lore
Share & tools
lore
#0 lore raw

perhaps outside the scope of QS, but might it be worth adding a
short section on appending something like this to one's local.conf file before starting the download?

PREMIRRORS_prepend = "\
git://.*/.* file:///home/rpjday/dl/ \n \
svn://.*/.* file:///home/rpjday/dl/ \n \
cvs://.*/.* file:///home/rpjday/dl/ \n \
ftp://.*/.* file:///home/rpjday/dl/ \n \
http://.*/.* file:///home/rpjday/dl/ \n \
https://.*/.* file:///home/rpjday/dl/ \n"

the rationale is that, like myself, a number of people could be
coming to yocto from OE and already have a sizable downloads directory somewhere on their system that they want to take advantage of and, with the above, if my downloads directory is up to date, i end up not having to download a single tarball from the net.

thoughts? is the above relatively complete or is there anything
else i would want to add to that variable? and, again, is it worth adding a side reference to that for people who could take advantage of it?

rday

Signature · 7 lines
========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================
#1 lore raw

Robert,

We do have a question addressed in the Yocto Project Reference Manual that talks about premirrors and how Poky finds stuff. See the H.24 section of the manual http://www.yoctoproject.org/docs/current/poky-ref-manual/poky-ref-manual.html. Maybe this information is a bit too buried to be useful. I could specifically reference that FAQ entry from within the QS in the same area that I mention the other "useful" items to consider in the local.conf file, such as BB_NUMBER_THREADS, etc.

Scott

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Robert P. J. Day
Sent: Sunday, October 30, 2011 7:40 AM
To: Yocto discussion list
Subject: [yocto] any objection to adding a PREMIRRORS section to the QS guide?

perhaps outside the scope of QS, but might it be worth adding a
short section on appending something like this to one's local.conf file before starting the download?

PREMIRRORS_prepend = "\
git://.*/.* file:///home/rpjday/dl/ \n \
svn://.*/.* file:///home/rpjday/dl/ \n \
cvs://.*/.* file:///home/rpjday/dl/ \n \
ftp://.*/.* file:///home/rpjday/dl/ \n \
http://.*/.* file:///home/rpjday/dl/ \n \
https://.*/.* file:///home/rpjday/dl/ \n"

the rationale is that, like myself, a number of people could be
coming to yocto from OE and already have a sizable downloads directory somewhere on their system that they want to take advantage of and, with the above, if my downloads directory is up to date, i end up not having to download a single tarball from the net.

thoughts? is the above relatively complete or is there anything
else i would want to add to that variable? and, again, is it worth adding a side reference to that for people who could take advantage of it?

rday

Signature · 11 lines
========================================================================
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
#2 lore raw
Quoted 11 lines · Scott M

Robert,

We do have a question addressed in the Yocto Project Reference Manual that talks about premirrors and how Poky finds stuff. See the H.24 section of the manual
http://www.yoctoproject.org/docs/current/poky-ref-manual/poky-ref-manual.html.
Maybe this information is a bit too buried to be useful. I could specifically reference that FAQ entry from within the QS in the same area that I mention the other "useful" items to consider in the local.conf file, such as BB_NUMBER_THREADS, etc.

Quoted 1 line

Scott

i know about the PREMIRRORS stuff in the poky reference manual -- i
was just toying with the idea that knowing how PREMIRRORS works would be useful, even for a beginner.

perhaps i'm not using it properly, but in my case, it's handy since
i have a downloads directory of nothing but tarballs that i've been accumulating over the last while that i've used for openembedded and other projects. i'm using PREMIRRORS_prepend to take advantage of all that content to avoid any unnecessary downloading. and every time i *do* end up downloading a newer version of a tarball that i didn't have, i copy it to that central downloads directory for the next time. does that make sense? and, as i said, even beginners should be able to appreciate taking advantage of local content they may have collected for other reasons.

in any event, i have some different ideas for the design of a
beginner's guide i plan on using in some of my own presentations, so i don't have to inflict all of my ideas on everyone else.

rday

Signature · 7 lines
========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

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