summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2016-04-12 17:32:49 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-04-13 10:12:52 +0100
commit29cf26363f9f71f13ff1548b8daf11052b0dc839 (patch)
tree3058ff5b01455ee2ec3075b15949532e6a780562 /meta/classes
parentf5033175ef51cf234ab5a85293a30bd9d7440d75 (diff)
downloadpoky-29cf26363f9f71f13ff1548b8daf11052b0dc839.tar.gz
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 ] (From OE-Core rev: 036b26093e3c88dbb903a4a11d29c32c7516bc02) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/sanity.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass
index eda0ea9c8a..77813e41bc 100644
--- a/meta/classes/sanity.bbclass
+++ b/meta/classes/sanity.bbclass
@@ -860,7 +860,7 @@ def check_sanity_everybuild(status, d):
860 mirror_vars = ['MIRRORS', 'PREMIRRORS', 'SSTATE_MIRRORS'] 860 mirror_vars = ['MIRRORS', 'PREMIRRORS', 'SSTATE_MIRRORS']
861 protocols = ['http', 'ftp', 'file', 'https', \ 861 protocols = ['http', 'ftp', 'file', 'https', \
862 'git', 'gitsm', 'hg', 'osc', 'p4', 'svn', \ 862 'git', 'gitsm', 'hg', 'osc', 'p4', 'svn', \
863 'bzr', 'cvs', 'npm'] 863 'bzr', 'cvs', 'npm', 'sftp', 'ssh']
864 for mirror_var in mirror_vars: 864 for mirror_var in mirror_vars:
865 mirrors = (d.getVar(mirror_var, True) or '').replace('\\n', '\n').split('\n') 865 mirrors = (d.getVar(mirror_var, True) or '').replace('\\n', '\n').split('\n')
866 for mirror_entry in mirrors: 866 for mirror_entry in mirrors: