Skip to contentSkip to conversation

sanity: allow sftp and ssh mirrors

PATCH New Ross Burton 1 participant 1 message Apr 12, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sanity: allow sftp and ssh mirrors

URLs in MIRRORS and PREMIRRORS are vetted against a hard-coded list of protocols which were missing sftp: and ssh:, so add them.

[ YOCTO #9444 ]

---
 meta/classes/sanity.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/classes/sanity.bbclass +1 -1
index eda0ea9..77813e4 100644
@@ -860,7 +860,7 @@ def check_sanity_everybuild(status, d):
     mirror_vars = ['MIRRORS', 'PREMIRRORS', 'SSTATE_MIRRORS']
     protocols = ['http', 'ftp', 'file', 'https', \
                  'git', 'gitsm', 'hg', 'osc', 'p4', 'svn', \
-                 'bzr', 'cvs', 'npm']
+                 'bzr', 'cvs', 'npm', 'sftp', 'ssh']
     for mirror_var in mirror_vars:
         mirrors = (d.getVar(mirror_var, True) or '').replace('\\n', '\n').split('\n')
         for mirror_entry in mirrors:
Signature · 1 line
2.8.0.rc3