diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py index 98645956fb..e3ac4d20a3 100644 --- a/bitbake/lib/bb/fetch2/__init__.py +++ b/bitbake/lib/bb/fetch2/__init__.py @@ -671,6 +671,11 @@ class FetchMethod(object): """ Is localpath something that can be represented by a checksum? """ + + # We cannot compute checksums for directories + if os.path.isdir(urldata.localpath) == True: + return False + return True def recommends_checksum(self, urldata):