From 643de9090b30a687a1225b8d997a5b68a4178016 Mon Sep 17 00:00:00 2001 From: hyokeun Date: Wed, 25 Jul 2018 14:30:56 +0900 Subject: [PATCH] Remove garbage histories. ~/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 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/update.template b/update.template index d132059..4b3f2b1 100644 --- a/update.template +++ b/update.template @@ -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` -- 2.7.4