Skip to content

Commit

Permalink
Use ${CARGO_TARGET_SUBDIR} in plugin install files
Browse files Browse the repository at this point in the history
Signed-off-by: Marcel Guzik <[email protected]>
  • Loading branch information
Bravo555 authored and Ruadhri17 committed Feb 8, 2023
1 parent a9fd3ad commit fafcadb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion recipes-tedge/thin-edge/tedge_apt_plugin.inc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
do_install:append () {
install -d ${D}${sysconfdir}/tedge/sm-plugins/
install -m 0755 ${WORKDIR}/build/target/${TARGET_ARCH}-poky-${TARGET_OS}/release/tedge-apt-plugin ${D}${sysconfdir}/tedge/sm-plugins/apt
install -m 0755 ${B}/target/${CARGO_TARGET_SUBDIR}/tedge-apt-plugin ${D}${sysconfdir}/tedge/sm-plugins/apt
rm -f ${D}${bindir}/tedge-apt-plugin
}
2 changes: 1 addition & 1 deletion recipes-tedge/thin-edge/tedge_dummy_plugin.inc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
do_install:append () {
install -d ${D}${sysconfdir}/tedge/sm-plugins/
install -m 0755 ${WORKDIR}/build/target/${TARGET_ARCH}-poky-${TARGET_OS}/release/tedge-dummy-plugin ${D}${sysconfdir}/tedge/sm-plugins/dummy
install -m 0755 ${B}/target/${CARGO_TARGET_SUBDIR}/tedge-dummy-plugin ${D}${sysconfdir}/tedge/sm-plugins/dummy
rm -f ${D}${bindir}/tedge-dummy-plugin
}

0 comments on commit fafcadb

Please sign in to comment.