Skip to content

Commit 8861dee

Browse files
authored
Add thud support (Azure#19)
* Initial thud support * Tweak the recipes and remove invalid items * Make layer thud only * Update README for Thud * Update source mirrors for thud * Update build branch to thud * Add master back * Remove source rev
1 parent cffc6b5 commit 8861dee

20 files changed

+77
-981
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@ prio: default
1818

1919
```
2020
URI: git://git.yoctoproject.org/meta-virtualization
21-
branch: sumo
21+
branch: thud
2222
revision: HEAD
2323
prio: default
2424
```
2525

2626
```
2727
URI: git://github.com/openembedded/openembedded-core.git
28-
branch: sumo
28+
branch: thud
2929
revision: HEAD
3030
prio: default
3131
```

builds/checkin.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,20 @@ pr:
33
branches:
44
include:
55
- master
6+
- thud
67
jobs:
78

89
################################################################################
9-
- job: sumo
10+
- job: thud
1011
################################################################################
11-
displayName: Sumo
12+
displayName: Thud
1213
pool:
1314
name: azureiotedge
1415
demands:
1516
- yocto
1617
timeoutInMinutes: 360
1718
steps:
18-
- script: scripts/fetch.sh sumo
19+
- script: scripts/fetch.sh thud
1920
displayName: Fetch
2021
env:
2122
METARUST_REV: 'refs/remotes/origin/master'

conf/layer.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ BBFILE_PATTERN_meta-iotedge = "^${LAYERDIR}/"
1010
BBFILE_PRIORITY_meta-iotedge = "10"
1111

1212
LAYERDEPENDS_meta-iotedge = "core rust-layer virtualization-layer"
13-
LAYERSERIES_COMPAT_meta-iotedge = "rocko sumo"
13+
LAYERSERIES_COMPAT_meta-iotedge = "thud"
1414

conf/local.conf.sample

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -220,10 +220,11 @@ BB_DISKMON_DIRS = "\
220220
#file://.* http://someserver.tld/share/sstate/PATH;downloadfilename=PATH \n \
221221
#file://.* file:///some/local/dir/sstate/PATH"
222222

223-
SSTATE_MIRRORS ?= "file://.* http://build-cache.asterius.io/master/sstate-cache/PATH;downloadfilename=PATH \n"
224-
225-
SOURCE_MIRROR_URL ?= "http://build-cache.asterius.io/downloads/"
226-
INHERIT += "own-mirrors rm_work"
223+
SSTATE_MIRRORS = "\
224+
file://.* http://sstate.yoctoproject.org/2.6/PATH;downloadfilename=PATH \n \
225+
file://.* http://sstate.yoctoproject.org/2.6.1/PATH;downloadfilename=PATH \n \
226+
file://.* http://sstate.yoctoproject.org/2.6.2/PATH;downloadfilename=PATH \n \
227+
"
227228

228229
#
229230
# Qemu configuration

recipes-core/iotedge-cli/iotedge-cli-1.0.5.inc

Lines changed: 0 additions & 1 deletion
This file was deleted.

recipes-core/iotedge-cli/iotedge-cli-1.0.6.1.inc

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
1-
DEPENDS += "openssl10"
2-
3-
export BUILD_SOURCEVERSION="${SRCREV}"
1+
DEPENDS += "openssl"
42

53
do_install () {
64
# Binaries
75
install -d "${D}${bindir}"
8-
install -m 755 "${WORKDIR}/git/edgelet/target/${CARGO_TARGET_SUBDIR}/iotedge" ${D}${bindir}/iotedge
6+
install -m 755 "${WORKDIR}/iotedge-${PV}/edgelet/target/${CARGO_TARGET_SUBDIR}/iotedge" ${D}${bindir}/iotedge
97
}
108

recipes-core/iotedge-cli/iotedge-cli_1.0.5.bb

Lines changed: 0 additions & 222 deletions
This file was deleted.

0 commit comments

Comments
 (0)