Skip to content

Commit 73b9528

Browse files
committed
iotedge-{cli,daemon}: fix build with newer meta-rust
* the binaries are built in ${B} since meta-rust commit: meta-rust/meta-rust@a673320 adjust do_install to match that Signed-off-by: Martin Jansa <martin.jansa@lge.com>
1 parent 6840cf2 commit 73b9528

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ export LIBIOTHSM_NOBUILD="On"
77
do_install () {
88
# Binaries
99
install -d "${D}${bindir}"
10-
install -m 755 "${WORKDIR}/iotedge-${PV}/edgelet/target/${CARGO_TARGET_SUBDIR}/iotedge" ${D}${bindir}/iotedge
10+
install -m 755 "${B}/target/${CARGO_TARGET_SUBDIR}/iotedge" ${D}${bindir}/iotedge
1111
}
1212

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ INITSCRIPT_PARAMS_${PN} = "defaults"
1818
do_install () {
1919
# Binaries
2020
install -d "${D}${bindir}"
21-
install -m 755 "${WORKDIR}/iotedge-${PV}/edgelet/target/${CARGO_TARGET_SUBDIR}/iotedged" ${D}${bindir}/iotedged
21+
install -m 755 "${B}/target/${CARGO_TARGET_SUBDIR}/iotedged" ${D}${bindir}/iotedged
2222

2323
# Config file
2424
install -d "${D}${sysconfdir}/iotedge"

0 commit comments

Comments
 (0)