lib/bb/fetch2: ignore remote URIs when doing file checksums
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Wed, 30 May 2012 16:17:17 +0000 (17:17 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 30 May 2012 16:23:32 +0000 (17:23 +0100)
commit97b227a7a53b8fcb8bfa963debb9482c15d3d908
tree886af4a9060cea32cdb9a9663f4705e01412d3d9
parent220269113c39b5fae228eceb1044cdbc6a1102c8
lib/bb/fetch2: ignore remote URIs when doing file checksums

Skip evaluating remote URIs when doing local file checksums, because we
don't need to process them and doing so will trigger a parse failure if
SRCREV is not fully specified. Whilst this is just delaying a check
until runtime (when do_fetch runs for the recipe) we're only validating
this here accidentally and if we did wish to check it during parsing it
ought to be done explicitly.

Fixes [YOCTO #2512]

(Bitbake rev: 99feb77c2de707f2d825566cf48371c48f450e3e)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/fetch2/__init__.py