diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-05-22 12:18:11 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-05-22 12:18:53 +0100 |
commit | 33c4bf2096effc850720009564e3d1adbda24452 (patch) | |
tree | e9fba8a85071d5e3a813ee20ebd61000fe152917 /bitbake/lib/bb/fetch2 | |
parent | 2219caa312822cf756b88b07dd70a014404e9cb0 (diff) | |
download | poky-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__.py | 2 |
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 | ||