summaryrefslogtreecommitdiff
path: root/tsp/scripts
diff options
context:
space:
mode:
authorAleksander Mistewicz <a.mistewicz@samsung.com>2016-07-26 10:31:17 (GMT)
committerAleksander Mistewicz <a.mistewicz@samsung.com>2016-12-06 15:37:13 (GMT)
commitb65f2c8093f82b223420d821ea4ae180fe81e3f0 (patch)
treeabd04f60ef53ddf36ec7fe55a7df5d6cbcc6355b /tsp/scripts
parent2cc1ae57dd447a361705d4eaafbbc33d90b86cc0 (diff)
downloadmajor-b65f2c8093f82b223420d821ea4ae180fe81e3f0.zip
major-b65f2c8093f82b223420d821ea4ae180fe81e3f0.tar.gz
major-b65f2c8093f82b223420d821ea4ae180fe81e3f0.tar.bz2
Check for ssh errors in common_prep_flash_conf.shrefs/changes/13/81513/9
Change-Id: I3850233b5459d5d4bf075cdad37f94020ca7641c Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Diffstat (limited to 'tsp/scripts')
-rwxr-xr-xtsp/scripts/common_prep_flash_conf.sh10
1 files changed, 9 insertions, 1 deletions
diff --git a/tsp/scripts/common_prep_flash_conf.sh b/tsp/scripts/common_prep_flash_conf.sh
index 412406e..07e3d46 100755
--- a/tsp/scripts/common_prep_flash_conf.sh
+++ b/tsp/scripts/common_prep_flash_conf.sh
@@ -30,6 +30,7 @@ case "$TARGET" in
;;
*minnow*)
USR_IMG="`pwd`/`ls tizen-common_*_common-*-sda.raw.bz2`"
+ USR_IMG_BMAP="`pwd`/`ls tizen-common_*_common-*-sda.bmap`"
;;
esac
@@ -70,4 +71,11 @@ fi
echo "sdmux used: ${SDMUX}" >> sysctl.result
-rm -v "$USR_IMG" "$BOOT_IMG"
+case "$TARGET" in
+ *odroid*)
+ rm -v "$USR_IMG" "$BOOT_IMG"
+ ;;
+ *minnow*)
+ rm -v "$USR_IMG" "$USR_IMG_BMAP"
+ ;;
+esac