[oe-commits] [openembedded-core] 08/16: sanity: allow sftp and ssh mirrors

git at git.openembedded.org git at git.openembedded.org
Tue Apr 12 21:51:31 UTC 2016


rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 64e80b668ce4a0b00d802f77964ed976116bf42c
Author: Ross Burton <ross.burton at intel.com>
AuthorDate: Tue Apr 12 17:32:49 2016 +0100

    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 at intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/classes/sanity.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass
index eda0ea9..77813e4 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:

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list