From: Ross Burton Date: Tue, 12 Apr 2016 16:32:49 +0000 (+0100) Subject: sanity: allow sftp and ssh mirrors X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~26181 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=036b26093e3c88dbb903a4a11d29c32c7516bc02;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 Signed-off-by: Richard Purdie --- diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass index eda0ea9c8a9..77813e41bcf 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: