On 8/14/07, Richard Purdie <richard@openedhand.com> wrote:
> > 2. Do something fancier with the wget fetcher (maybe the 'MIRROR' or
> > 'PREMIRROR' env settings; can't how exactly they operate from the
> > copious comments :) ), coupled with a CVS tarball stash for things
> > checked out from revision control.
>
> This should work. Basically you need some like this in base.bbclass:
>
> PREMIRRORS () {
> http://.*/.*/ http://192.168.1.1/sources/
> ftp://.*/.*/ http://192.168.1.1/sources/
> }
>
> and also set:
>
> CVS_TARBALL_STASH = "http://192.168.1.1/sources/"
>
> where http://192.168.1.1/sources/ is a webserver serving a complete
> sources directory.
>
> PREMIRRORS get used before MIRRORS which get used before the URL itself
> so if that fails it will still try and download from the upstream(s).
>
> To generate the sources directory on the webserver run something like
> "bitbake target1 target2 -c fetchall" where the list or targets are the
> things you want sources fetched for. "world" might not quite work since
> it ignores things like native packages and images unless they're used
> indirectly...
Thanks; I'll give this a try.
-- To unsubscribe send a mail to poky+unsubscribe@o-hand.comReceived on Tue, 14 Aug 2007 15:50:25 -0500
This archive was generated by hypermail 2.1.8 : Tue Aug 14 2007 - 18:00:06 EDT