aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Uvarov <maxim.uvarov@linaro.org>2022-08-11 10:51:29 +0300
committerMaxim Uvarov <maxim.uvarov@linaro.org>2022-08-11 10:51:29 +0300
commitabbf9dd70826d7fcc48699bd86edab2714437fe4 (patch)
treedf7e5fd4ced1abf52f5fc5da23c42519d8350fe2
parent19d69ee15f1a5cb59c8eab27907b0aa1c656499a (diff)
ts: fix upload u-boot.bin for synquacer
u-boot.bin is symlink, not regular file. So use find -l instead of -f. Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org> Change-Id: I2b77a51615dd1ebe3a75fe5fffb8b8015c4cd7d6
-rwxr-xr-xledge/ts/builders.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ledge/ts/builders.sh b/ledge/ts/builders.sh
index 9ef225502a..3591ef40c2 100755
--- a/ledge/ts/builders.sh
+++ b/ledge/ts/builders.sh
@@ -53,7 +53,7 @@ case ${MACHINE} in
;;
synquacer)
find ${DEPLOY_DIR_IMAGE} -name scp_romramfw_release.bin -type f -exec cp -rvfL --remove-destination {} ${UPLOAD_DIR_IMAGE} \;
- find ${DEPLOY_DIR_IMAGE} -name u-boot.bin -type f -exec cp -rvfL --remove-destination {} ${UPLOAD_DIR_IMAGE} \;
+ find ${DEPLOY_DIR_IMAGE} -name u-boot.bin -type l -exec cp -rvfL --remove-destination {} ${UPLOAD_DIR_IMAGE} \;
find ${DEPLOY_DIR_IMAGE} -name fip_all_arm_tf_optee.bin -type f -exec cp -rvfL --remove-destination {} ${UPLOAD_DIR_IMAGE} \;
find ${DEPLOY_DIR_IMAGE} -name tee-pager_v2.bin -type f -exec cp -rvfL --remove-destination {} ${UPLOAD_DIR_IMAGE} \;
;;