summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib')
-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 2eb5ae929d..377fa01ed4 100644
--- a/bitbake/lib/bb/fetch2/__init__.py
+++ b/bitbake/lib/bb/fetch2/__init__.py
@@ -989,13 +989,13 @@ class FetchData(object):
989 self.sha256_name = "sha256sum" 989 self.sha256_name = "sha256sum"
990 if self.md5_name in self.parm: 990 if self.md5_name in self.parm:
991 self.md5_expected = self.parm[self.md5_name] 991 self.md5_expected = self.parm[self.md5_name]
992 elif self.type not in ["http", "https", "ftp", "ftps"]: 992 elif self.type not in ["http", "https", "ftp", "ftps", "sftp"]:
993 self.md5_expected = None 993 self.md5_expected = None
994 else: 994 else:
995 self.md5_expected = d.getVarFlag("SRC_URI", self.md5_name) 995 self.md5_expected = d.getVarFlag("SRC_URI", self.md5_name)
996 if self.sha256_name in self.parm: 996 if self.sha256_name in self.parm:
997 self.sha256_expected = self.parm[self.sha256_name] 997 self.sha256_expected = self.parm[self.sha256_name]
998 elif self.type not in ["http", "https", "ftp", "ftps"]: 998 elif self.type not in ["http", "https", "ftp", "ftps", "sftp"]:
999 self.sha256_expected = None 999 self.sha256_expected = None
1000 else: 1000 else:
1001 self.sha256_expected = d.getVarFlag("SRC_URI", self.sha256_name) 1001 self.sha256_expected = d.getVarFlag("SRC_URI", self.sha256_name)