Re: [yocto] how to set up PREMIRRORS_prepend to avoid constant git clones?

2012-03-12 Thread David Nyström
On 03/10/2012 04:51 PM, Gary Thomas wrote: On 2012-03-10 08:46, Robert P. J. Day wrote: On Sat, 10 Mar 2012, Gary Thomas wrote: On 2012-03-10 08:29, Robert P. J. Day wrote: On Sat, 10 Mar 2012, Gary Thomas wrote: On 2012-03-10 06:39, Robert P. J. Day wrote: ... snip ... $ bitbake -

Re: [yocto] how to set up PREMIRRORS_prepend to avoid constant git clones?

2012-03-10 Thread Gary Thomas
On 2012-03-10 08:46, Robert P. J. Day wrote: On Sat, 10 Mar 2012, Gary Thomas wrote: On 2012-03-10 08:29, Robert P. J. Day wrote: On Sat, 10 Mar 2012, Gary Thomas wrote: On 2012-03-10 06:39, Robert P. J. Day wrote: ... snip ... $ bitbake -c fetchall core-image-minimal and got somet

Re: [yocto] how to set up PREMIRRORS_prepend to avoid constant git clones?

2012-03-10 Thread Robert P. J. Day
On Sat, 10 Mar 2012, Gary Thomas wrote: > On 2012-03-10 08:29, Robert P. J. Day wrote: > > On Sat, 10 Mar 2012, Gary Thomas wrote: > > > > > On 2012-03-10 06:39, Robert P. J. Day wrote: > > > > ... snip ... > > > > > > $ bitbake -c fetchall core-image-minimal > > > > > > > > and got something

Re: [yocto] how to set up PREMIRRORS_prepend to avoid constant git clones?

2012-03-10 Thread Gary Thomas
On 2012-03-10 08:29, Robert P. J. Day wrote: On Sat, 10 Mar 2012, Gary Thomas wrote: On 2012-03-10 06:39, Robert P. J. Day wrote: ... snip ... $ bitbake -c fetchall core-image-minimal and got something unexpected: NOTE: package bash-4.2-r1: task do_fetch: Started ERROR: Function faile

Re: [yocto] how to set up PREMIRRORS_prepend to avoid constant git clones?

2012-03-10 Thread Robert P. J. Day
On Sat, 10 Mar 2012, Gary Thomas wrote: > On 2012-03-10 06:39, Robert P. J. Day wrote: ... snip ... > >$ bitbake -c fetchall core-image-minimal > > > > and got something unexpected: > > > > NOTE: package bash-4.2-r1: task do_fetch: Started > > ERROR: Function failed: Network access disabled

Re: [yocto] how to set up PREMIRRORS_prepend to avoid constant git clones?

2012-03-10 Thread Gary Thomas
On 2012-03-10 06:39, Robert P. J. Day wrote: On Sat, 10 Mar 2012, Gary Thomas wrote: All you really need are these lines: SOURCE_MIRROR_URL ?= "file://${COREBASE}/sources/" INHERIT += "own-mirrors" Adjust the SOURCE_MIRROR_URL to wherever you want the files. I also always add BB_GENER

Re: [yocto] how to set up PREMIRRORS_prepend to avoid constant git clones?

2012-03-10 Thread Robert P. J. Day
On Sat, 10 Mar 2012, Gary Thomas wrote: > All you really need are these lines: > SOURCE_MIRROR_URL ?= "file://${COREBASE}/sources/" > INHERIT += "own-mirrors" > Adjust the SOURCE_MIRROR_URL to wherever you want the files. I also always > add > BB_GENERATE_MIRROR_TARBALLS = "1" > This will l

Re: [yocto] how to set up PREMIRRORS_prepend to avoid constant git clones?

2012-03-10 Thread Robert P. J. Day
On Sat, 10 Mar 2012, Gary Thomas wrote: > All you really need are these lines: > SOURCE_MIRROR_URL ?= "file://${COREBASE}/sources/" > INHERIT += "own-mirrors" > Adjust the SOURCE_MIRROR_URL to wherever you want the files. I also always > add > BB_GENERATE_MIRROR_TARBALLS = "1" > This will l

Re: [yocto] how to set up PREMIRRORS_prepend to avoid constant git clones?

2012-03-10 Thread Robert P. J. Day
On Sat, 10 Mar 2012, Gary Thomas wrote: > All you really need are these lines: > SOURCE_MIRROR_URL ?= "file://${COREBASE}/sources/" ah ... and i see no mention of that in the variable glossary in the reference manual. :-P i'm assuming that that value is nothing more than the name of my massi

Re: [yocto] how to set up PREMIRRORS_prepend to avoid constant git clones?

2012-03-10 Thread Gary Thomas
On 2012-03-10 03:52, Gary Thomas wrote: On 2012-03-10 03:35, Robert P. J. Day wrote: over the years, i've built up a sizable collection of source tarballs for use in various projects -- top-level directory called "~/dl", about 5G in size with lots and lots of .tgz and .bz2 files and so on, and

Re: [yocto] how to set up PREMIRRORS_prepend to avoid constant git clones?

2012-03-10 Thread Gary Thomas
On 2012-03-10 03:35, Robert P. J. Day wrote: over the years, i've built up a sizable collection of source tarballs for use in various projects -- top-level directory called "~/dl", about 5G in size with lots and lots of .tgz and .bz2 files and so on, and i'd like to confirm the best way to ta

[yocto] how to set up PREMIRRORS_prepend to avoid constant git clones?

2012-03-10 Thread Robert P. J. Day
over the years, i've built up a sizable collection of source tarballs for use in various projects -- top-level directory called "~/dl", about 5G in size with lots and lots of .tgz and .bz2 files and so on, and i'd like to confirm the best way to take advantage of all that source whenever i confi