fetch2: Also exclude urls containing wildcards from checksumming for now

Without this change, bitbake will try and checksum a wildcard which
will lead to fetch failures.

(Bitbake rev: ac53b88be58b0bed21730c0b61a8fc8e801a2f1b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie 2012-05-22 12:18:11 +01:00
parent 2219caa312
commit 33c4bf2096
1 changed files with 2 additions and 0 deletions

View File

@ -675,6 +675,8 @@ class FetchMethod(object):
# We cannot compute checksums for directories
if os.path.isdir(urldata.localpath) == True:
return False
if urldata.localpath.find("*") != -1:
return False
return True