Add missing cleanup to rpi3_prepare_flash_conf 33/181833/1
authorAleksander Mistewicz <a.mistewicz@samsung.com>
Tue, 19 Sep 2017 17:28:30 +0000 (19:28 +0200)
committerAleksander Mistewicz <a.mistewicz@samsung.com>
Wed, 27 Sep 2017 16:58:34 +0000 (18:58 +0200)
Change-Id: If4f66fbb38cdba9fa091bbf8371ffd709ac2314e

tct/rpi3_prepare_flash_conf.sh

index ab17589..150ce65 100755 (executable)
@@ -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}"