Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions classes/qcom-mirrors.bbclass
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Layer download mirror to minimize reproducibility issues
#
# Copyright (c) 2026 Qualcomm Innovation Center, Inc.
#
# SPDX-License-Identifier: MIT
#

# Add qcom mirror so we can fallback to it
MIRRORS += "${QCOM_MIRRORS}"
Copy link
Contributor

@ricardosalveti ricardosalveti Mar 6, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you move this assignment after QCOM_MIRRORS is defined? Easier to parse when reading this.


QCOM_MIRRORS_URI ?= "https://artifacts.codelinaro.org/aritfactory/qli-ci/downloads/${QCOM_RELEASE}"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need a release-specific dir?


QCOM_MIRRORS ?= " \
svn://.*/.* ${QCOM_MIRRORS_URI}/ \
git://.*/.* ${QCOM_MIRRORS_URI}/ \
gitsm://.*/.* ${QCOM_MIRRORS_URI}/ \
hg://.*/.* ${QCOM_MIRRORS_URI}/ \
p4://.*/.* ${QCOM_MIRRORS_URI}/ \
https?://.*/.* ${QCOM_MIRRORS_URI}/ \
ftp://.*/.* ${QCOM_MIRRORS_URI}/ \
npm://.*/?.* ${QCOM_MIRRORS_URI}/ \
s3://.*/.* ${QCOM_MIRRORS_URI}/ \
crate://.*/.* ${QCOM_MIRRORS_URI}/ \
gs://.*/.* ${QCOM_MIRRORS_URI}/ \
"