-
Notifications
You must be signed in to change notification settings - Fork 218
Adds BSP layer download mirrors #1703
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| # yaml-language-server: $schema=https://raw.githubusercontent.com/siemens/kas/master/kas/schema-kas.json | ||
|
|
||
| header: | ||
| version: 14 | ||
|
|
||
| local_conf_header: | ||
| download_mirror_disable: | | ||
| INHERIT:remove = "qcom-mirrors" |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| # yaml-language-server: $schema=https://raw.githubusercontent.com/siemens/kas/master/kas/schema-kas.json | ||
|
|
||
| header: | ||
| version: 14 | ||
|
|
||
| local_conf_header: | ||
| download_mirror_test: | | ||
| BB_FETCH_PREMIRRORONLY = "1" | ||
| PREMIRRORS += "${QCOM_MIRRORS}" |
| 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}" | ||
|
|
||
| QCOM_MIRRORS_URI ?= "https://artifacts.codelinaro.org/aritfactory/qli-ci/downloads/${QCOM_RELEASE}" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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}/ \ | ||
| " | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -28,6 +28,11 @@ BBFILES_DYNAMIC += " \ | |
| selinux:${LAYERDIR}/dynamic-layers/selinux/*/*/*.bbappend \ | ||
| " | ||
|
|
||
| # Release | ||
| QCOM_RELEASE = "main" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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. |
||
|
|
||
| INHERIT += "qcom-mirrors" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can we rename the file to clo-mirrors instead? It is hosted by codelinaro. |
||
|
|
||
| # Set default provider for virtual-diag-router to avoid warnings | ||
| # when both diag and diag-router are available | ||
| PREFERRED_RPROVIDER_virtual-diag-router ?= "diag" | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
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.