Skip to content

Commit b054f5f

Browse files
myagleyshr-project
authored andcommitted
Update for gatesgarth
* Update from dunfell brach * Use newer version of the rust compiler
1 parent 1b3765e commit b054f5f

27 files changed

+612
-1450
lines changed

README.md

Lines changed: 25 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,34 @@ This layer provides support for building [IoT Edge](https://github.com/azure/iot
55

66
Please see the corresponding sections below for details.
77

8+
Dependencies
9+
------------
10+
This layer depends on:
11+
12+
```
13+
URI: git://github.com/meta-rust/meta-rust.git
14+
branch: master
15+
revision: e4d25b98083bcecb94df6ee189a165d63ede7f3d
16+
prio: default
17+
```
18+
19+
```
20+
URI: git://git.yoctoproject.org/meta-virtualization
21+
branch: dunfell
22+
revision: HEAD
23+
prio: default
24+
```
25+
26+
```
27+
URI: git://github.com/openembedded/openembedded-core.git
28+
branch: dunfell
29+
revision: HEAD
30+
prio: default
31+
```
32+
833
Adding the meta-iotedge layer to your build
934
=================================================
1035

11-
Use the branch of `meta-iotedge` corresponding to your Yocto release:
12-
13-
* [Sumo](https://github.com/Azure/meta-iotedge/tree/sumo) - `git clone -b sumo https://github.com/Azure/meta-iotedge.git`
14-
* [Thud](https://github.com/Azure/meta-iotedge/tree/thud) - `git clone -b thud https://github.com/Azure/meta-iotedge.git`
15-
* [Warrior](https://github.com/Azure/meta-iotedge/tree/warrior) - `git clone -b warrior https://github.com/Azure/meta-iotedge.git`
16-
* [Zeus](https://github.com/Azure/meta-iotedge/tree/zeus) - `git clone -b zeus https://github.com/Azure/meta-iotedge.git`
17-
* [Dunfell](https://github.com/Azure/meta-iotedge/tree/dunfell) - `git clone -b dunfell https://github.com/Azure/meta-iotedge.git`
18-
19-
In almost all cases, you should not use the `master` branch of `meta-iotedge` in your image.
20-
2136
Run `bitbake-layers add-layer meta-iotedge`
2237

2338
Contributing

builds/checkin.yaml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,26 +3,22 @@ pr:
33
branches:
44
include:
55
- master
6-
- sumo
7-
- thud
8-
- warrior
9-
- zeus
106
- dunfell
117
jobs:
128

139
################################################################################
14-
- job: sumo
10+
- job: dunfell
1511
################################################################################
16-
displayName: Sumo
12+
displayName: Dunfell
1713
pool:
1814
name: azureiotedge
1915
demands:
2016
- yocto
2117
timeoutInMinutes: 360
2218
steps:
23-
- script: scripts/fetch.sh sumo
19+
- script: scripts/fetch.sh dunfell
2420
displayName: Fetch
2521
env:
26-
METARUST_REV: 'refs/remotes/origin/master'
22+
METARUST_REV: 'e4d25b98083bcecb94df6ee189a165d63ede7f3d'
2723
- script: scripts/build.sh
2824
displayName: Build

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 = "dunfell"
1414

conf/local.conf.sample

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -220,10 +220,12 @@ 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/3.1/PATH;downloadfilename=PATH \n \
225+
file://.* http://sstate.yoctoproject.org/3.1.1/PATH;downloadfilename=PATH \n \
226+
file://.* http://sstate.yoctoproject.org/3.1.2/PATH;downloadfilename=PATH \n \
227+
file://.* http://sstate.yoctoproject.org/3.1.3/PATH;downloadfilename=PATH \n \
228+
"
227229

228230
#
229231
# 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.

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

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export VERSION = "1.0.9.4"
Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
1-
DEPENDS += "openssl10"
1+
DEPENDS += "openssl virtual/libiothsm"
2+
RDEPENDS_${PN} += "virtual/libiothsm"
23

3-
export BUILD_SOURCEVERSION="${SRCREV}"
4+
export OPENSSL_DIR = "${STAGING_EXECPREFIXDIR}"
5+
export LIBIOTHSM_NOBUILD="On"
46

57
do_install () {
68
# Binaries
79
install -d "${D}${bindir}"
8-
install -m 755 "${WORKDIR}/git/edgelet/target/${CARGO_TARGET_SUBDIR}/iotedge" ${D}${bindir}/iotedge
10+
install -m 755 "${WORKDIR}/iotedge-${PV}/edgelet/target/${CARGO_TARGET_SUBDIR}/iotedge" ${D}${bindir}/iotedge
911
}
1012

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)