aboutsummaryrefslogtreecommitdiffstats
path: root/jjb/common/include-agl-run-test-rsync-changeid.sh
diff options
context:
space:
mode:
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>2017-03-08 17:29:01 +0100
committerJan-Simon Möller <jsmoeller@linuxfoundation.org>2017-03-08 17:29:01 +0100
commit40ed9aab9ec797017a2764a7893c95a6b0608051 (patch)
tree3b25e4132b6c7000bff731485253909aa4a7ad42 /jjb/common/include-agl-run-test-rsync-changeid.sh
parenta6422419b4311b5a69cc2772b7e813bca38b84c4 (diff)
porter-nogfx vs porter
Change-Id: Id349a507f57f23def078472b536e104c14618998 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'jjb/common/include-agl-run-test-rsync-changeid.sh')
-rw-r--r--jjb/common/include-agl-run-test-rsync-changeid.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/jjb/common/include-agl-run-test-rsync-changeid.sh b/jjb/common/include-agl-run-test-rsync-changeid.sh
index 8c679546..170c6bf1 100644
--- a/jjb/common/include-agl-run-test-rsync-changeid.sh
+++ b/jjb/common/include-agl-run-test-rsync-changeid.sh
@@ -25,10 +25,15 @@ cd output
pwd
ls -alhR tmp/deploy/images
+export TARGETMACHINE=${MACHINE}
+if test x"porter-nogfx" = x"${MACHINE}" ; then
+export TARGETMACHINE="porter"
+fi
+
# copy files to $DEST
for i in DEVICE_DTB DEVICE_KERNEL DEVICE_INITRAMFS DEVICE_NBDROOT; do
- eval cp -avL tmp/deploy/images/${MACHINE}/$(echo "$"${i}) ${DEST}/
+ eval cp -avL tmp/deploy/images/${TARGETMACHINE}/$(echo "$"${i}) ${DEST}/
done
tree $DEST