diff options
Diffstat (limited to 'tct')
-rwxr-xr-x | tct/artik_prepare_flash_conf.sh | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tct/artik_prepare_flash_conf.sh b/tct/artik_prepare_flash_conf.sh index 795cebd..ca88745 100755 --- a/tct/artik_prepare_flash_conf.sh +++ b/tct/artik_prepare_flash_conf.sh @@ -35,6 +35,12 @@ case "$BOOT_IMAGE" in *artik10*) MODEL="artik10" ;; + *artik530*) + MODEL="artik530" + ;; + *artik710*) + MODEL="artik710" + ;; *artik5*) MODEL="artik5" ;; @@ -74,12 +80,7 @@ echo "### flash ###" UUID_FILE="/var/tmp/uuid-${SDMUX}" DEV_SDCARD=$(uuid2dev "${UUID_FILE}" "${SDMUX}") || die "sdcard not found!" -ARTIK_FLASH_SCRIPT_DIR="$(dirname "${ARTIK_FLASH_SCRIPT}")" -cd "${ARTIK_FLASH_SCRIPT_DIR}" -PLATFORM_IMG="${ARTIK_FLASH_SCRIPT_DIR}/tizen-${SDMUX}.tar" -mv "${TMP_TAR}" "${PLATFORM_IMG}" -sudo "${ARTIK_FLASH_SCRIPT}" -d "${DEV_SDCARD}" -m "${MODEL}" -p "tizen-${SDMUX}.tar" -cd "${OLDPWD}" +"${ARTIK_FLASH_SCRIPT}" -d "${DEV_SDCARD}" -m "${MODEL}" -p "${TMP_TAR}" RET=$? change_uuid "${UUID_FILE}" "${DEV_SDCARD}" @@ -93,4 +94,3 @@ dyper_restart "${SDMUX}" "dyper1" echo "### cleanup ###" rm -rf "${T_DIR}" -rm "${PLATFORM_IMG}" |