From c60b3c494d992b9b5ecfbc46a03d31c1495fe986 Mon Sep 17 00:00:00 2001 From: Jan-Simon Möller Date: Fri, 12 Apr 2019 21:50:24 +0200 Subject: Temporary fix for device dtb changes until templates are fixed MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I95a5c5e3f9d2ea43885de0fefec1cb2faf82fbea old: uImage-bcm2710-rpi-3-b+vc4+ft5406.dtb new: bcm2710-rpi-3-b+vc4+ft5406.dtb Signed-off-by: Jan-Simon Möller --- jjb/common/include-agl-run-test-rsync-changeid.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'jjb') diff --git a/jjb/common/include-agl-run-test-rsync-changeid.sh b/jjb/common/include-agl-run-test-rsync-changeid.sh index 46ed607c..8db5f466 100644 --- a/jjb/common/include-agl-run-test-rsync-changeid.sh +++ b/jjb/common/include-agl-run-test-rsync-changeid.sh @@ -28,6 +28,16 @@ cd output pwd ls -alhR tmp/deploy/images +set -x + +echo "tmp/deploy/images/${TARGETMACHINE}/${DEVICE_DTB}" +echo "tmp/deploy/images/${TARGETMACHINE}/${DEVICE_DTB#"$DEVICE_KERNEL"-}" + +# workaround for thud until fixed in templates: +if [ ! -e tmp/deploy/images/${TARGETMACHINE}/${DEVICE_DTB} -a -e tmp/deploy/images/${TARGETMACHINE}/${DEVICE_DTB#"$DEVICE_KERNEL"-} ] ; then + cp -avL tmp/deploy/images/${TARGETMACHINE}/${DEVICE_DTB#"$DEVICE_KERNEL"} tmp/deploy/images/${TARGETMACHINE}/${DEVICE_DTB} +fi + BUILD_INFO=build-info # copy files to $DEST (only if variable is non-empty) for i in DEVICE_DTB DEVICE_KERNEL DEVICE_INITRAMFS DEVICE_NBDROOT BUILD_INFO; do @@ -37,6 +47,7 @@ for i in DEVICE_DTB DEVICE_KERNEL DEVICE_INITRAMFS DEVICE_NBDROOT BUILD_INFO; do cp -avL tmp/deploy/images/${TARGETMACHINE}/${FILE} ${DEST2}/ fi done +set +x tree $DEST ls -alhR $DEST -- cgit 1.2.3-korg