diff options
-rwxr-xr-x | scripts/sstate-cache-management.sh | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/scripts/sstate-cache-management.sh b/scripts/sstate-cache-management.sh index f198ea1d82..24384ef89e 100755 --- a/scripts/sstate-cache-management.sh +++ b/scripts/sstate-cache-management.sh | |||
@@ -185,11 +185,16 @@ remove_duplicated () { | |||
185 | | sed -e 's/-/_/g' -e 's/ /\n/g' | sort -u) | 185 | | sed -e 's/-/_/g' -e 's/ /\n/g' | sort -u) |
186 | echo "Done" | 186 | echo "Done" |
187 | 187 | ||
188 | sstate_suffixes="deploy-rpm deploy-ipk deploy-deb deploy package populate-lic populate-sysroot" | ||
189 | |||
190 | # Save all the sstate files in a file | 188 | # Save all the sstate files in a file |
191 | sstate_list=`mktemp` || exit 1 | 189 | sstate_list=`mktemp` || exit 1 |
192 | find $cache_dir -name 'sstate-*.tgz' >$sstate_list | 190 | find $cache_dir -name 'sstate-*.tgz' >$sstate_list |
191 | |||
192 | echo -n "Figuring out the suffixes in the sstate cache dir ... " | ||
193 | sstate_suffixes="`sed 's/.*_\([^_]*\)\.tgz$/\1/g' $sstate_list | sort -u`" | ||
194 | echo "Done" | ||
195 | echo "The following suffixes have been found in the cache dir:" | ||
196 | echo $sstate_suffixes | ||
197 | |||
193 | echo -n "Figuring out the archs in the sstate cache dir ... " | 198 | echo -n "Figuring out the archs in the sstate cache dir ... " |
194 | for arch in $all_archs; do | 199 | for arch in $all_archs; do |
195 | grep -q "\-$arch-" $sstate_list | 200 | grep -q "\-$arch-" $sstate_list |