Add GCP fetcher to list of supported protocols

If accepted, this patch should merge with the corresponding BitBake
patch titled "fetch2: add Google Cloud Platform (GCP) fetcher".

(From OE-Core rev: 1e2e596bcdff031d7d7dc1d6f6adbb03d9ec2995)

Signed-off-by: Emil Ekmečić <eekmecic@snap.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Emil Ekmečić 2023-08-02 06:25:41 -07:00 committed by Richard Purdie
parent 64d593e7d8
commit d151ba95f6
2 changed files with 3 additions and 1 deletions

View File

@ -871,7 +871,8 @@ 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', 'crate']
'bzr', 'cvs', 'npm', 'sftp', 'ssh', 's3', \
'az', 'ftps', 'crate', 'gs']
for mirror_var in mirror_vars:
mirrors = (d.getVar(mirror_var) or '').replace('\\n', ' ').split()

View File

@ -18,4 +18,5 @@ ftp://.*/.* ${SOURCE_MIRROR_URL} \
npm://.*/?.* ${SOURCE_MIRROR_URL} \
s3://.*/.* ${SOURCE_MIRROR_URL} \
crate://.*/.* ${SOURCE_MIRROR_URL} \
gs://.*/.* ${SOURCE_MIRROR_URL} \
"