Remove garbage histories.
authorhyokeun <hyokeun.jeon@samsung.com>
Wed, 25 Jul 2018 05:30:56 +0000 (14:30 +0900)
committerhyokeun <hyokeun.jeon@samsung.com>
Wed, 25 Jul 2018 05:30:59 +0000 (14:30 +0900)
~/tizen-sdk-cli/.info/ direcotory will contains history
for every rootstrap updates.
Each history consumes extra 1.8MB disk space
for every Mobile/Wearable/Device/Emulator/32bit/64bit rootstraps.
This will lead No space left on device issue.

Change-Id: I45e19ba5511d6aa97f2aa08e92e03f01d51fa680

update.template

index d132059..4b3f2b1 100644 (file)
@@ -50,6 +50,8 @@ for pf in $PROFILE; do
   rm -rf $SDK_PATH/platforms/tizen-5.0/$pf/rootstraps/
 done
 
+rm -rf $SDK_PATH/.info/*private*
+
 wget --no-proxy -P $SHARE_ROOT/ -r -nd -np -R index.html* ${ROOTSTRAP_URL}/ &> /dev/null
 
 rs_list=`ls $SHARE_ROOT | grep .*-rs.*.zip`