Skip to content

Commit

Permalink
Install targets under RUST_TARGET_SYS mismatch (Azure#147)
Browse files Browse the repository at this point in the history
* Fix TARGET_SYS to RUST_TARGET_SYS variable
  • Loading branch information
Dvergatal committed Jan 26, 2024
1 parent 6518416 commit 2190b7c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion recipes-core/aziot-edged/aziot-edged.inc
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ SRC_URI += "file://aziot-edged.service \
do_install () {
# Binaries
install -d ${D}${bindir}
install -m 755 ${WORKDIR}/build/target/${TARGET_SYS}/release/aziot-edged ${D}${bindir}/aziot-edged
install -m 755 ${WORKDIR}/build/target/${RUST_TARGET_SYS}/release/aziot-edged ${D}${bindir}/aziot-edged

# Create symbolic links
install -d ${D}${libexecdir}/aziot
Expand Down
2 changes: 1 addition & 1 deletion recipes-core/aziotctl/aziotctl.inc
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ SRC_URI +="file://0001-Change-panic-strategy-to-unwind.patch"
do_install () {
# Binaries
install -d "${D}${bindir}"
install -m 755 "${WORKDIR}/build/target/${TARGET_SYS}/release/aziotctl" ${D}${bindir}/aziotctl
install -m 755 "${WORKDIR}/build/target/${RUST_TARGET_SYS}/release/aziotctl" ${D}${bindir}/aziotctl
}
2 changes: 1 addition & 1 deletion recipes-core/aziotd/aziotd.inc
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ SRC_URI += "file://aziot-certd.service \
do_install () {
# Binaries
install -d ${D}${bindir}
install -m 755 ${WORKDIR}/build/target/${TARGET_SYS}/release/aziotd ${D}${bindir}/aziotd
install -m 755 ${WORKDIR}/build/target/${RUST_TARGET_SYS}/release/aziotd ${D}${bindir}/aziotd
install -d ${D}${systemd_unitdir}/system

# Create symbolic links
Expand Down
2 changes: 1 addition & 1 deletion recipes-core/iotedge/iotedge.inc
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ SRC_URI +="file://0001-Change-panic-strategy-to-unwind.patch"
do_install () {
# Binaries
install -d "${D}${bindir}"
install -m 755 "${WORKDIR}/build/target/${TARGET_SYS}/release/iotedge" ${D}${bindir}/iotedge
install -m 755 "${WORKDIR}/build/target/${RUST_TARGET_SYS}/release/iotedge" ${D}${bindir}/iotedge
}

0 comments on commit 2190b7c

Please sign in to comment.