In this way we avoid failing the build while trying to fetch local
directories.
[YOCTO #2475]
(Bitbake rev:
39adb5741d9eee0879d3181be505400dffc60804)
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
"""
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):