summaryrefslogtreecommitdiff
path: root/tsp/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'tsp/scripts')
-rwxr-xr-xtsp/scripts/common_prep_flash_conf.sh3
-rwxr-xr-xtsp/scripts/publish.py2
2 files changed, 3 insertions, 2 deletions
diff --git a/tsp/scripts/common_prep_flash_conf.sh b/tsp/scripts/common_prep_flash_conf.sh
index 880922d..195e6bf 100755
--- a/tsp/scripts/common_prep_flash_conf.sh
+++ b/tsp/scripts/common_prep_flash_conf.sh
@@ -24,11 +24,12 @@ FAILED_DEVICE_LOG="/var/tmp/failed_devices.log"
TESTLAB_MAJOR="/opt/testlab-major"
cd "${WORKDIR_REMOTE}" || exit
-ACTUAL_TARGET="${TARGET#headless-}"
+ACTUAL_TARGET="${TARGET#*-}"
case "$TARGET" in
*odroid*)
BOOT_IMG="$(pwd)/$(ls tizen-*-boot-*odroid*.tar.gz)"
USR_IMG="$(pwd)/$(ls tizen-*-wayland-*odroid*.tar.gz)"
+ test -f "$USR_IMG" || USR_IMG="$(pwd)/$(ls tizen-*-target-*odroid*.tar.gz)"
;;
*artik*)
BOOT_IMG="$(pwd)/$(ls tizen-*-boot-*artik*.tar.gz)"
diff --git a/tsp/scripts/publish.py b/tsp/scripts/publish.py
index b9237d1..91e906a 100755
--- a/tsp/scripts/publish.py
+++ b/tsp/scripts/publish.py
@@ -33,7 +33,7 @@ USAGE = "%prog <db>"
AGENT = "%s/%s" % (__name__, __version__)
COLORS = ["#fff", "#ddd"]
-SCREENSHOTABLE = ["odroid", "artik5", "artik10", "artik5"]
+SCREENSHOTABLE = ["ivi-odroid", "tv-odroid", "common-odroid", "artik5", "artik10"]
def print_head(row):
template = jinja2.Template('<tr>\n\