bitbake: fetch2: Fix handling of SCM mirrors in MIRRORS
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 19 Nov 2013 13:09:14 +0000 (13:09 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 19 Nov 2013 13:22:48 +0000 (13:22 +0000)
commit50fd02ecdc1e05755cb4f0144f3160c57a2b6240
tree310458eac46ff40bb37c8d611be58cffa4c3a2a3
parentc496b293526522ddb7604abfcc9c0b9121f76a72
bitbake: fetch2: Fix handling of SCM mirrors in MIRRORS

If an SCM mirror is in PREMIRRORS, the tarball is downloaded and then found
by the "upstream" check and handled correctly.

If an SCM mirror is in MIRRORS, the tarball is downloaded but not used
since there is no "upstream" run after MIRRORS completes. It therefore
sits there useless and unused. This code change forces the upstream to
run after a mirror tarball is found and fixes the usage of SCM mirrors
in MIRRORS.

(Bitbake rev: a66ee0994645aa5658b2f5ea134ed17d89f8751a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/fetch2/__init__.py