summaryrefslogtreecommitdiff
path: root/tsp
diff options
context:
space:
mode:
authorAleksander Mistewicz <a.mistewicz@samsung.com>2017-09-13 14:56:49 +0200
committerAleksander Mistewicz <a.mistewicz@samsung.com>2017-09-27 18:58:33 +0200
commitd26417e45a79ac38f3f20b21fa663b39bb83ffb1 (patch)
tree62b7f37f8bd42a0c8dd316af3849b82d8779a0ca /tsp
parent6171cb329905b8de10c4817d683816285842f198 (diff)
downloadmajor-d26417e45a79ac38f3f20b21fa663b39bb83ffb1.tar.gz
major-d26417e45a79ac38f3f20b21fa663b39bb83ffb1.tar.bz2
major-d26417e45a79ac38f3f20b21fa663b39bb83ffb1.zip
Adjust image selectors
Update supported devices list: * remove ivi-odroid * add gpstracker-rpi3 Database update is required. Run: . tsp/common.sh sqlite3 "${DBPATH}" -batch < tsp/results-values-device.sql Change-Id: I3475d83b01a9859c1556e8a6fe0c41af845eb264
Diffstat (limited to 'tsp')
-rwxr-xr-xtsp/common.sh16
-rw-r--r--tsp/results-values-device.sql1
2 files changed, 9 insertions, 8 deletions
diff --git a/tsp/common.sh b/tsp/common.sh
index fdac11a..20621c3 100755
--- a/tsp/common.sh
+++ b/tsp/common.sh
@@ -33,7 +33,7 @@ die() {
# * minnow32, minnow64
# * common-odroid, tv-odroid
# * mbr64
-# * headless-rpi3, common-rpi3, tv-rpi3
+# * headless-rpi3, gpstracker-rpi3, common-rpi3, tv-rpi3
TARGET_LIST="artik10 headless-artik5 mbr64 minnow64 minnow32 common-odroid tv-odroid ivi-odroid headless-rpi3 common-rpi3 tv-rpi3"
test -z "${TSP_DIR}" || {
@@ -162,28 +162,28 @@ get_userspace_dir() {
test -n "$DWN_WORKDIR" || die "Missing argument: dwn_workdir"
case "$TARGET" in
*common-odroid*)
- USR_DIR="$(find "${DWN_WORKDIR}/" -type d -name "common*-wayland*-armv7l-odroidu3")"
- ;;
- *ivi-odroid*)
- USR_DIR="$(find "${DWN_WORKDIR}/" -type d -name "ivi-target-odroidxu3")"
+ USR_DIR="$(find "${DWN_WORKDIR}/" -type d -name "common-wayland*-armv7l-odroidu3")"
;;
*tv-odroid*)
USR_DIR="$(find "${DWN_WORKDIR}/" -type d -name "tv-wayland*-armv7l-odroidu3")"
;;
*headless-rpi3*)
+ USR_DIR="$(find "${DWN_WORKDIR}/" -type d -name "*-headless-*-armv7l-rpi3")"
+ ;;
+ *gpstracker-rpi3*)
USR_DIR="$(find "${DWN_WORKDIR}/" -type d -name "*-gps_tracker-*-armv7l-rpi3")"
;;
*common-rpi3*)
- USR_DIR="$(find "${DWN_WORKDIR}/" -type d -name "common*-wayland*-armv7l-rpi3")"
+ USR_DIR="$(find "${DWN_WORKDIR}/" -type d -name "common-wayland*-armv7l-rpi3")"
;;
*tv-rpi3*)
USR_DIR="$(find "${DWN_WORKDIR}/" -type d -name "tv-wayland*-armv7l-rpi3")"
;;
*headless-artik*)
- USR_DIR="$(find "${DWN_WORKDIR}/" -type d -name "*-headless-*-armv7l-artik*")"
+ USR_DIR="$(find "${DWN_WORKDIR}/" -type d -name "*-headless-*-armv7l-artik520")"
;;
*artik710*|*artik530*)
- USR_DIR="$(find "${DWN_WORKDIR}/" -type d -name "*-headed-*-armv7l-artik*")"
+ USR_DIR="$(find "${DWN_WORKDIR}/" -type d -name "*-headed-*-armv7l-artik530_710")"
;;
*artik*)
USR_DIR="$(find "${DWN_WORKDIR}/" -type d -name "*-wayland*-armv7l-artik*")"
diff --git a/tsp/results-values-device.sql b/tsp/results-values-device.sql
index 0d5b5a9..e431668 100644
--- a/tsp/results-values-device.sql
+++ b/tsp/results-values-device.sql
@@ -15,3 +15,4 @@ INSERT OR IGNORE INTO device VALUES (NULL, "headless-artik710");
INSERT OR IGNORE INTO device VALUES (NULL, "headless-rpi3");
INSERT OR IGNORE INTO device VALUES (NULL, "common-rpi3");
INSERT OR IGNORE INTO device VALUES (NULL, "tv-rpi3");
+INSERT OR IGNORE INTO device VALUES (NULL, "gpstracker-rpi3");