bitbake: fetch2: add means of disabling SRC_URI checksums
If we're fetching outside of the context of a recipe, it's handy to be able to disable checksum functionality so you don't get a meaningless warning about the signatures being missing. (Bitbake rev: 49dbcfbc56a206964acc5de761bba31be0283ba1) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
cde28486b0
commit
eb0a6fc210
|
@ -535,7 +535,7 @@ def verify_checksum(ud, d):
|
|||
|
||||
"""
|
||||
|
||||
if not ud.method.supports_checksum(ud):
|
||||
if ud.ignore_checksums or not ud.method.supports_checksum(ud):
|
||||
return
|
||||
|
||||
md5data = bb.utils.md5_file(ud.localpath)
|
||||
|
@ -1041,6 +1041,7 @@ class FetchData(object):
|
|||
self.sha256_expected = None
|
||||
else:
|
||||
self.sha256_expected = d.getVarFlag("SRC_URI", self.sha256_name)
|
||||
self.ignore_checksums = False
|
||||
|
||||
self.names = self.parm.get("name",'default').split(',')
|
||||
|
||||
|
|
Loading…
Reference in New Issue