Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
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}/ \
"
3 changes: 3 additions & 0 deletions conf/layer.conf
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ BBFILES_DYNAMIC += " \
selinux:${LAYERDIR}/dynamic-layers/selinux/*/*/*.bbappend \
"

# Release
QCOM_RELEASE = "main"
Copy link
Contributor

Choose a reason for hiding this comment

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

QLI_RELEASE or QLI_BASELINE would work better from my perspective.

QCOM is too generic to be used here.


# Set default provider for virtual-diag-router to avoid warnings
# when both diag and diag-router are available
PREFERRED_RPROVIDER_virtual-diag-router ?= "diag"
Expand Down