diff options
Diffstat (limited to 'tsp/jobs/common_prep_flash_conf.sh')
-rwxr-xr-x | tsp/jobs/common_prep_flash_conf.sh | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/tsp/jobs/common_prep_flash_conf.sh b/tsp/jobs/common_prep_flash_conf.sh index dc6e8a4..e8d9614 100755 --- a/tsp/jobs/common_prep_flash_conf.sh +++ b/tsp/jobs/common_prep_flash_conf.sh @@ -41,7 +41,14 @@ update_db "${SR}" "Testing" "$BUILD_NR" "$TARGET" USR_IMG_DIR="$(get_userspace_dir "${TARGET}" "${DWN_WORKDIR}")" case "$TARGET" in - *odroid*|*artik*|*rpi3*) + *rpi3*) + BOOT_IMG="$(ls "$(get_boot_dir "${TARGET}" "${DWN_WORKDIR}")"/*.tar.gz)" + test -f "${BOOT_IMG}" || BOOT_IMG="${HOME}/tizen-unified_20180313.2_iot-boot-arm64-rpi3.tar.gz" + USERSPACE_IMG="$(ls "${USR_IMG_DIR}"/*.tar.gz)" + test -f "${USERSPACE_IMG}" || USERSPACE_IMG="$(ls "$(get_userspace_dir "${TARGET}" "$(sr2reference_dwn "$SR" "$PROFILE")")"/*.tar.gz)" + test -f "${USERSPACE_IMG}" || USERSPACE_IMG="$(ls "$(get_userspace_dir "${TARGET}" "${SNAPSHOT_WS_DOWNLOAD}-${PROFILE}")"/*.tar.gz)" + ;; + *odroid*|*artik*) BOOT_IMG="$(ls "$(get_boot_dir "${TARGET}" "${DWN_WORKDIR}")"/*.tar.gz)" test -f "${BOOT_IMG}" || BOOT_IMG="$(ls "$(get_boot_dir "${TARGET}" "$(sr2reference_dwn "$SR" "$PROFILE")")"/*.tar.gz)" test -f "${BOOT_IMG}" || BOOT_IMG="$(ls "$(get_boot_dir "${TARGET}" "${SNAPSHOT_WS_DOWNLOAD}-${PROFILE}")"/*.tar.gz)" |