mirror of
https://git.yoctoproject.org/poky
synced 2026-04-21 12:32:15 +02:00
own-mirrors: add crate
Support downloading crate files from a mirror at SOURCE_MIRROR_URL. (From OE-Core rev: aebf4f183267a1e2f073078ade0ddc916ceed53f) Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com> Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
5c8103695d
commit
988a27974f
@@ -865,7 +865,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', 'sftp', 'ssh', 's3', 'az', 'ftps']
|
||||
'bzr', 'cvs', 'npm', 'sftp', 'ssh', 's3', 'az', 'ftps', 'crate']
|
||||
for mirror_var in mirror_vars:
|
||||
mirrors = (d.getVar(mirror_var) or '').replace('\\n', ' ').split()
|
||||
|
||||
|
||||
@@ -17,4 +17,5 @@ https?://.*/.* ${SOURCE_MIRROR_URL} \
|
||||
ftp://.*/.* ${SOURCE_MIRROR_URL} \
|
||||
npm://.*/?.* ${SOURCE_MIRROR_URL} \
|
||||
s3://.*/.* ${SOURCE_MIRROR_URL} \
|
||||
crate://.*/.* ${SOURCE_MIRROR_URL} \
|
||||
"
|
||||
|
||||
Reference in New Issue
Block a user