summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Mistewicz <a.mistewicz@samsung.com>2017-09-19 19:28:30 +0200
committerAleksander Mistewicz <a.mistewicz@samsung.com>2017-09-27 18:58:34 +0200
commitcd855c9714684beb8f733f774453e76a2e25c1f9 (patch)
treef32d5762282dbb0739b1549c764a5d67a3b0b23f
parent922da6fc08194d13e7ca4d67ecda08f180688736 (diff)
downloadmajor-cd855c9714684beb8f733f774453e76a2e25c1f9.tar.gz
major-cd855c9714684beb8f733f774453e76a2e25c1f9.tar.bz2
major-cd855c9714684beb8f733f774453e76a2e25c1f9.zip
Add missing cleanup to rpi3_prepare_flash_conf
Change-Id: If4f66fbb38cdba9fa091bbf8371ffd709ac2314e
-rwxr-xr-xtct/rpi3_prepare_flash_conf.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/tct/rpi3_prepare_flash_conf.sh b/tct/rpi3_prepare_flash_conf.sh
index ab17589..150ce65 100755
--- a/tct/rpi3_prepare_flash_conf.sh
+++ b/tct/rpi3_prepare_flash_conf.sh
@@ -68,3 +68,8 @@ if [ $RET -ne 0 ]; then
fi
switch2device "${SDMUX}"
restart_device "${SDMUX}"
+
+echo "### cleanup ###"
+
+rm -rf "${IMAGE_MOUNTPOINT}"
+rm -rf "${IMAGE_UNPACKED}"