aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuli Piippo <samuli.piippo@qt.io>2022-01-21 15:22:43 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-02-02 03:35:34 +0000
commit4d361d1a895875996e416df6807163660e7963e6 (patch)
treecabc6cfd896b80e3e86862492a46fcbd9b4e8233
parent8b4b1f58c36fd79283beb339998ae88dd02b7e91 (diff)
Coin: use manifest to fetch meta layersv6.3.0-beta1
Use manifests to fetch meta layer repositories. This enables us to easily pin the upstream layers to specific revision if and when the latest revision gets broken. Build again against master branch, the manifest is pinned to working meta-openembedded revision. Change-Id: I5d217f6932aaf5eaacae8ccbc790ea31aaa27f37 Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io> (cherry picked from commit 688791f03daa283dc787d0bdbef8abfef4216825) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--coin/module_config.yaml30
1 files changed, 18 insertions, 12 deletions
diff --git a/coin/module_config.yaml b/coin/module_config.yaml
index a7460fc..4694cba 100644
--- a/coin/module_config.yaml
+++ b/coin/module_config.yaml
@@ -7,7 +7,7 @@ accept_configuration:
equals_value: Yocto
- condition: property
property: target.arch
- in_values: [TARGET2, TARGET3, TARGET4]
+ in_values: [TARGET1, TARGET2, TARGET3, TARGET4]
machine_type:
Build:
@@ -29,8 +29,8 @@ target1: &target1
variableName: MACHINE
variableValue: qemuarm64
- type: EnvironmentVariable
- variableName: YOCTO_BRANCH
- variableValue: master
+ variableName: MANIFEST
+ variableValue: master.xml
- type: EnvironmentVariable
variableName: DISABLE_X11
variableValue: true
@@ -45,8 +45,8 @@ target2: &target2
variableName: MACHINE
variableValue: qemux86
- type: EnvironmentVariable
- variableName: YOCTO_BRANCH
- variableValue: honister
+ variableName: MANIFEST
+ variableValue: honister.xml
- type: EnvironmentVariable
variableName: DISABLE_X11
variableValue: true
@@ -64,8 +64,8 @@ target3: &target3
variableName: MACHINE
variableValue: qemuarm
- type: EnvironmentVariable
- variableName: YOCTO_BRANCH
- variableValue: hardknott
+ variableName: MANIFEST
+ variableValue: hardknott.xml
enable_if:
condition: property
property: target.arch
@@ -77,8 +77,8 @@ target4: &target4
variableName: MACHINE
variableValue: qemux86-64
- type: EnvironmentVariable
- variableName: YOCTO_BRANCH
- variableValue: dunfell
+ variableName: MANIFEST
+ variableValue: dunfell.xml
enable_if:
condition: property
property: target.arch
@@ -112,9 +112,15 @@ instructions:
sudo mkdir -p /mnt/yocto-cache
sudo mount yocto-cache.ci.qt.io:/srv/yocto-cache /mnt/yocto-cache
- git clone git://git.yoctoproject.org/poky --reference /mnt/yocto-cache/mirror/poky.git -b ${YOCTO_BRANCH}
- git clone git://git.openembedded.org/meta-openembedded --reference /mnt/yocto-cache/mirror/meta-openembedded.git -b ${YOCTO_BRANCH}
- git clone git://git.yoctoproject.org/meta-mingw --reference /mnt/yocto-cache/mirror/meta-mingw.git -b ${YOCTO_BRANCH}
+ curl https://storage.googleapis.com/git-repo-downloads/repo > repo
+ chmod +x repo
+
+ ./repo init \
+ -u git://code.qt.io/yocto/boot2qt-manifest \
+ -b ci \
+ -m ${MANIFEST} \
+ --reference /mnt/mirror
+ ./repo sync
source ./poky/oe-init-build-env
export BB_ENV_EXTRAWHITE="$BB_ENV_EXTRAWHITE SSTATE_DIR DL_DIR"