summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--classes/base.bbclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/classes/base.bbclass b/classes/base.bbclass
index 880295fc30..2ea5251609 100644
--- a/classes/base.bbclass
+++ b/classes/base.bbclass
@@ -32,6 +32,9 @@ def base_chk_file(parser, pn, pv, src_uri, localpath):
elif parser.has_section(pn_src):
md5 = parser.get(pn_src, "md5")
sha256 = parser.get(pn_src, "sha256")
+ elif parser.has_section(src_uri):
+ md5 = parser.get(src_uri, "md5")
+ sha256 = parser.get(src_uri, "sha256")
else:
return False
#raise Exception("Can not find a section for '%s' '%s' and '%s'" % (pn,pv,src_uri))