generic-poky/bitbake
Joshua Lock 0737552c1d bitbake: unify mirror support and make it independant of the fetcher
This patch serves two purposes. Firstly it unifies the concept of mirrors into
PREMIRRORS and MIRRORS. PREMIRRORS are tried before the SRC_URI defined in the
recipe whereas MIRRORS are tried only if that fails.
The tarball stash was conceptually inline with a PREMIRROR only with special
handling within the wget fetcher and therefore only worked with certain
fetch types.
Secondly the patch removes the need for individual fetch implementations to
worry about mirror handling.

With this patch, the base fetch implementation will first try to use a
PREMIRROR to fetch the desired object, if this fails the native fetch method
for the object will be tried and if this fails will try to fetch a copy from
one of the MIRRORS.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-02-04 00:18:29 +00:00
..
bin bitbake: Don't import xmlrpc server unless needed 2010-01-22 16:15:50 +00:00
contrib bitbake: Switch to bitbake-dev version (bitbake master upstream) 2010-01-20 18:46:02 +00:00
doc bitbake: Switch to bitbake-dev version (bitbake master upstream) 2010-01-20 18:46:02 +00:00
lib/bb bitbake: unify mirror support and make it independant of the fetcher 2010-02-04 00:18:29 +00:00
AUTHORS bitbake: Switch to bitbake-dev version (bitbake master upstream) 2010-01-20 18:46:02 +00:00
COPYING bitbake: Sync with upstream. 2007-01-08 23:53:01 +00:00
ChangeLog bitbake: Switch to bitbake-dev version (bitbake master upstream) 2010-01-20 18:46:02 +00:00
HEADER bitbake: Sync with upstream. 2007-01-08 23:53:01 +00:00