diff options
author | Ross Burton <ross.burton@intel.com> | 2016-04-12 17:32:49 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-04-13 10:12:43 +0100 |
commit | 036b26093e3c88dbb903a4a11d29c32c7516bc02 (patch) | |
tree | 5e27af4b46a1432e28ab3173ef5adcaf41ca8a8f /meta/classes | |
parent | f1f012962a18d16b1cc22bde836cbb46fe9e6088 (diff) | |
download | openembedded-core-036b26093e3c88dbb903a4a11d29c32c7516bc02.tar.gz openembedded-core-036b26093e3c88dbb903a4a11d29c32c7516bc02.tar.bz2 openembedded-core-036b26093e3c88dbb903a4a11d29c32c7516bc02.zip |
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 ]
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.bbclass | 2 |
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): 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: |