aboutsummaryrefslogtreecommitdiffstats
path: root/jjb/common/include-agl-run-test-rsync-changeid.sh
diff options
context:
space:
mode:
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