Skip to content

Commit 7360787

Browse files
authored
Initial Rocko support (Azure#13)
* Try rocko support WIP * Add libiothsm as a build dependency * Set desired rust version * Remove 1.0.8-dev recipes
1 parent 41773cc commit 7360787

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

conf/layer.conf

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,13 @@ 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 = "sumo"
13+
LAYERSERIES_COMPAT_meta-iotedge = "rocko sumo"
14+
15+
PREFERRED_VERSION_cargo-native = "1.32.0"
16+
PREFERRED_VERSION_rust-native = "1.32.0"
17+
PREFERRED_VERSION_rust-snapshot = "1.32.0"
18+
PREFERRED_VERSION_rust-llvm = "1.32.0"
19+
PREFERRED_VERSION_rust-llvm-native = "1.32.0"
20+
PREFERRED_VERSION_rust-cross = "1.32.0"
21+
PREFERRED_VERSION_libstd-rs = "1.32.0"
1422

conf/local.conf.sample

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,3 +242,4 @@ PACKAGECONFIG_append_pn-nativesdk-qemu = " sdl"
242242
CONF_VERSION = "1"
243243

244244
DISTRO_FEATURES_append += " virtualization"
245+

recipes-core/iotedge-daemon/iotedge-daemon.inc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
1-
DEPENDS += "openssl10 docker"
1+
DEPENDS += "openssl10 docker virtual/libiothsm"
22
RDEPENDS_${PN} += "virtual/libiothsm docker"
33
INSANE_SKIP_${PN} += "dev-deps"
44

55
export SYSROOT = "${STAGING_DIR_HOST}"
66
export OpenSSLDir = "${STAGING_EXECPREFIXDIR}"
77
export OPENSSL_DIR = "${STAGING_EXECPREFIXDIR}"
8+
export OPENSSL_ROOT_DIR = "${STAGING_EXECPREFIXDIR}"
89
export OPENSSL_INCLUDE_DIR = "${STAGING_INCDIR}"
910
export OPENSSL_LIB_DIR = "${STAGING_LIBDIR}"
1011
export BUILD_SOURCEVERSION="${SRCREV}"
12+
export FORCE_NO_UNITTEST="On"
13+
export BUILD_SHARED="On"
1114

1215
inherit systemd update-rc.d
1316

0 commit comments

Comments
 (0)