summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Mistewicz <a.mistewicz@samsung.com>2017-09-20 17:20:01 (GMT)
committerAleksander Mistewicz <a.mistewicz@samsung.com>2017-10-16 11:21:47 (GMT)
commit2a235c23588f59957514f70feb1fd25c05ba7fc6 (patch)
tree508a3b716c7e34489dab27fbdf808848a0029ce3
parent15049b00f06703526b2340d5b565c9dd4630e399 (diff)
downloadmajor-2a235c23588f59957514f70feb1fd25c05ba7fc6.zip
major-2a235c23588f59957514f70feb1fd25c05ba7fc6.tar.gz
major-2a235c23588f59957514f70feb1fd25c05ba7fc6.tar.bz2
Switch to device after failed rpi3 flashrefs/changes/37/181837/1
Change-Id: I2456816cbbfe24ddcd57651bd4658e98e14289c3
-rwxr-xr-xtct/rpi3_prepare_flash_conf.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/tct/rpi3_prepare_flash_conf.sh b/tct/rpi3_prepare_flash_conf.sh
index d82b675..92916d0 100755
--- a/tct/rpi3_prepare_flash_conf.sh
+++ b/tct/rpi3_prepare_flash_conf.sh
@@ -64,6 +64,7 @@ cd "${OLDPWD}"
change_uuid "${UUID_FILE}" "${DEV_SDCARD}"
if [ $RET -ne 0 ]; then
+ switch2device "${SDMUX}"
die "flash_dd exited with an error" "$RET"
fi
switch2device "${SDMUX}"