diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2018-07-12 18:44:36 +0200 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2019-03-06 13:44:33 +0100 |
commit | f956f104c6c76cbb3b5cbcbb021c1b7d211ce55e (patch) | |
tree | 903fd2091c2315f647df526ae90df96a0649414e /recipes-images/images/files/colibri-imx7/update.sh | |
parent | 809f4be20a548cbd8903ef389d758ad5c07b39d7 (diff) |
update.sh: follow dtb naming convention change
OE-core dropped to prefix the device tree files with the kernel image type.
Follow that.
While at it drop the empty ${DEPLOY_DIR_IMAGE} path element which sneaked in
through copy/paste.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'recipes-images/images/files/colibri-imx7/update.sh')
-rwxr-xr-x | recipes-images/images/files/colibri-imx7/update.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes-images/images/files/colibri-imx7/update.sh b/recipes-images/images/files/colibri-imx7/update.sh index 74ef753..f6dfcc2 100755 --- a/recipes-images/images/files/colibri-imx7/update.sh +++ b/recipes-images/images/files/colibri-imx7/update.sh @@ -200,8 +200,8 @@ sudo mkdir -p "$OUT_DIR" COPIED=false if test -n "${KERNEL_DEVICETREE}"; then for DTB_FILE in ${KERNEL_DEVICETREE}; do - if [ -e "${BINARIES}/${KERNEL_IMAGETYPE}-${DTB_FILE}" ]; then - sudo cp ${BINARIES}/${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${DTB_FILE} "$OUT_DIR/${DTB_FILE}" + if [ -e "${BINARIES}/${DTB_FILE}" ]; then + sudo cp ${BINARIES}/${DTB_FILE} "$OUT_DIR/" COPIED=true fi done |