aboutsummaryrefslogtreecommitdiff
path: root/warp7-openembedded
diff options
context:
space:
mode:
authorRyan Harkin <ryan.harkin@linaro.org>2019-04-16 12:14:49 +0100
committerRyan Harkin <ryan.harkin@linaro.org>2019-04-16 12:14:49 +0100
commit4bd05b76229e367675005234c9b0fe11fda88aac (patch)
tree26a9fe60e4e0745c27fc88c0d921faf5f864ec9c /warp7-openembedded
parent12306fc8be97e621b944185f61f9e27f72b423ae (diff)
warp7-openembedded: export DISK_IMG
DISK_IMG isn't being set correctly by builders.sh, so export it from the submit_for_testing.sh where it should be valid. Change-Id: I79c11c0cb5fc90b2f6cdd7e03cd0f1a4506863db Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
Diffstat (limited to 'warp7-openembedded')
-rwxr-xr-xwarp7-openembedded/submit_for_testing.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/warp7-openembedded/submit_for_testing.sh b/warp7-openembedded/submit_for_testing.sh
index 82adf776..0298f2c7 100755
--- a/warp7-openembedded/submit_for_testing.sh
+++ b/warp7-openembedded/submit_for_testing.sh
@@ -5,6 +5,7 @@ git clone --depth 1 http://git.linaro.org/ci/job/configs.git
# Used by DB410C's template:
export RESIZE_ROOTFS=${RESIZE_ROOTFS:-}
+export DISK_IMG=$(find ${DEPLOY_DIR_IMAGE} -type f -name "${IMAGES}-${MACHINE}-*-${BUILD_NUMBER}.rootfs.wic.gz" | xargs -r basename)
export IMAGE_URL=${PUBLISH_SERVER}${PUB_DEST}/${DISK_IMG}
[ -z "${DEVICE_TYPE}" ] || \