diff options
| -rw-r--r-- | bitbake/lib/bb/fetch2/__init__.py | 5 |
1 files changed, 5 insertions, 0 deletions
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): | |||
| 671 | """ | 671 | """ |
| 672 | Is localpath something that can be represented by a checksum? | 672 | Is localpath something that can be represented by a checksum? |
| 673 | """ | 673 | """ |
| 674 | |||
| 675 | # We cannot compute checksums for directories | ||
| 676 | if os.path.isdir(urldata.localpath) == True: | ||
| 677 | return False | ||
| 678 | |||
| 674 | return True | 679 | return True |
| 675 | 680 | ||
| 676 | def recommends_checksum(self, urldata): | 681 | def recommends_checksum(self, urldata): |
