Skip to content

Commit

Permalink
iotedge-{cli,daemon}: fix build with newer meta-rust
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
shr-project committed Jan 21, 2021
1 parent 06e58f8 commit 6ae0035
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion recipes-core/iotedge-cli/iotedge-cli.inc
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ export LIBIOTHSM_NOBUILD="On"
do_install () {
# Binaries
install -d "${D}${bindir}"
install -m 755 "${WORKDIR}/iotedge-${PV}/edgelet/target/${CARGO_TARGET_SUBDIR}/iotedge" ${D}${bindir}/iotedge
install -m 755 "${B}/target/${CARGO_TARGET_SUBDIR}/iotedge" ${D}${bindir}/iotedge
}

2 changes: 1 addition & 1 deletion recipes-core/iotedge-daemon/iotedge-daemon.inc
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ INITSCRIPT_PARAMS_${PN} = "defaults"
do_install () {
# Binaries
install -d "${D}${bindir}"
install -m 755 "${WORKDIR}/iotedge-${PV}/edgelet/target/${CARGO_TARGET_SUBDIR}/iotedged" ${D}${bindir}/iotedged
install -m 755 "${B}/target/${CARGO_TARGET_SUBDIR}/iotedged" ${D}${bindir}/iotedged

# Config file
install -d "${D}${sysconfdir}/iotedge"
Expand Down

0 comments on commit 6ae0035

Please sign in to comment.