diff options
author | Aleksander Mistewicz <a.mistewicz@samsung.com> | 2017-09-19 19:28:30 +0200 |
---|---|---|
committer | Aleksander Mistewicz <a.mistewicz@samsung.com> | 2017-09-27 18:58:34 +0200 |
commit | cd855c9714684beb8f733f774453e76a2e25c1f9 (patch) | |
tree | f32d5762282dbb0739b1549c764a5d67a3b0b23f | |
parent | 922da6fc08194d13e7ca4d67ecda08f180688736 (diff) | |
download | major-cd855c9714684beb8f733f774453e76a2e25c1f9.tar.gz major-cd855c9714684beb8f733f774453e76a2e25c1f9.tar.bz2 major-cd855c9714684beb8f733f774453e76a2e25c1f9.zip |
Add missing cleanup to rpi3_prepare_flash_conf
Change-Id: If4f66fbb38cdba9fa091bbf8371ffd709ac2314e
-rwxr-xr-x | tct/rpi3_prepare_flash_conf.sh | 5 |
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}" |