summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/fetch2
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-05-22 12:18:11 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-05-22 12:18:53 +0100
commit33c4bf2096effc850720009564e3d1adbda24452 (patch)
treee9fba8a85071d5e3a813ee20ebd61000fe152917 /bitbake/lib/bb/fetch2
parent2219caa312822cf756b88b07dd70a014404e9cb0 (diff)
downloadpoky-33c4bf2096effc850720009564e3d1adbda24452.tar.gz
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>
Diffstat (limited to 'bitbake/lib/bb/fetch2')
-rw-r--r--bitbake/lib/bb/fetch2/__init__.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py
index e3ac4d20a3..6cd389a296 100644
--- a/bitbake/lib/bb/fetch2/__init__.py
+++ b/bitbake/lib/bb/fetch2/__init__.py
@@ -675,6 +675,8 @@ class FetchMethod(object):
675 # We cannot compute checksums for directories 675 # We cannot compute checksums for directories
676 if os.path.isdir(urldata.localpath) == True: 676 if os.path.isdir(urldata.localpath) == True:
677 return False 677 return False
678 if urldata.localpath.find("*") != -1:
679 return False
678 680
679 return True 681 return True
680 682