summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/bb/fetch2/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py
index e8d3af72e8..f86014cbf1 100644
--- a/bitbake/lib/bb/fetch2/__init__.py
+++ b/bitbake/lib/bb/fetch2/__init__.py
@@ -1153,13 +1153,13 @@ class FetchData(object):
1153 elif self.type not in ["http", "https", "ftp", "ftps", "sftp"]: 1153 elif self.type not in ["http", "https", "ftp", "ftps", "sftp"]:
1154 self.md5_expected = None 1154 self.md5_expected = None
1155 else: 1155 else:
1156 self.md5_expected = d.getVarFlag("SRC_URI", self.md5_name, False) 1156 self.md5_expected = d.getVarFlag("SRC_URI", self.md5_name, True)
1157 if self.sha256_name in self.parm: 1157 if self.sha256_name in self.parm:
1158 self.sha256_expected = self.parm[self.sha256_name] 1158 self.sha256_expected = self.parm[self.sha256_name]
1159 elif self.type not in ["http", "https", "ftp", "ftps", "sftp"]: 1159 elif self.type not in ["http", "https", "ftp", "ftps", "sftp"]:
1160 self.sha256_expected = None 1160 self.sha256_expected = None
1161 else: 1161 else:
1162 self.sha256_expected = d.getVarFlag("SRC_URI", self.sha256_name, False) 1162 self.sha256_expected = d.getVarFlag("SRC_URI", self.sha256_name, True)
1163 self.ignore_checksums = False 1163 self.ignore_checksums = False
1164 1164
1165 self.names = self.parm.get("name",'default').split(',') 1165 self.names = self.parm.get("name",'default').split(',')