diff options
author | Adrian Freihofer <adrian.freihofer@gmail.com> | 2022-10-14 08:54:48 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-10-25 13:42:03 +0100 |
commit | 988a27974f06a37787e04641f08e86bd99f7eac2 (patch) | |
tree | 6594bf05da735fb1b23bf40ff3b8db6c121427d0 /meta/classes-global | |
parent | 5c8103695de8861e9330d1ea9e2f42a38e1d9897 (diff) | |
download | poky-988a27974f06a37787e04641f08e86bd99f7eac2.tar.gz |
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>
Diffstat (limited to 'meta/classes-global')
-rw-r--r-- | meta/classes-global/sanity.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes-global/sanity.bbclass b/meta/classes-global/sanity.bbclass index 4a403a2590..15067e78d3 100644 --- a/meta/classes-global/sanity.bbclass +++ b/meta/classes-global/sanity.bbclass | |||
@@ -865,7 +865,7 @@ def check_sanity_everybuild(status, d): | |||
865 | mirror_vars = ['MIRRORS', 'PREMIRRORS', 'SSTATE_MIRRORS'] | 865 | mirror_vars = ['MIRRORS', 'PREMIRRORS', 'SSTATE_MIRRORS'] |
866 | protocols = ['http', 'ftp', 'file', 'https', \ | 866 | protocols = ['http', 'ftp', 'file', 'https', \ |
867 | 'git', 'gitsm', 'hg', 'osc', 'p4', 'svn', \ | 867 | 'git', 'gitsm', 'hg', 'osc', 'p4', 'svn', \ |
868 | 'bzr', 'cvs', 'npm', 'sftp', 'ssh', 's3', 'az', 'ftps'] | 868 | 'bzr', 'cvs', 'npm', 'sftp', 'ssh', 's3', 'az', 'ftps', 'crate'] |
869 | for mirror_var in mirror_vars: | 869 | for mirror_var in mirror_vars: |
870 | mirrors = (d.getVar(mirror_var) or '').replace('\\n', ' ').split() | 870 | mirrors = (d.getVar(mirror_var) or '').replace('\\n', ' ').split() |
871 | 871 | ||