diff options
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/sstate-cache-management.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/sstate-cache-management.sh b/scripts/sstate-cache-management.sh index ffda05ea3e..77afd68989 100755 --- a/scripts/sstate-cache-management.sh +++ b/scripts/sstate-cache-management.sh | |||
| @@ -225,6 +225,10 @@ remove_duplicated () { | |||
| 225 | # Save the file list which needs to be removed | 225 | # Save the file list which needs to be removed |
| 226 | local remove_listdir=`mktemp -d` || exit 1 | 226 | local remove_listdir=`mktemp -d` || exit 1 |
| 227 | for suffix in $sstate_suffixes; do | 227 | for suffix in $sstate_suffixes; do |
| 228 | if [ "$suffix" = "populate_lic" ] ; then | ||
| 229 | echo "Skipping populate_lic, because removing duplicates doesn't work correctly for them (use --stamps-dir instead)" | ||
| 230 | continue | ||
| 231 | fi | ||
| 228 | # Total number of files including .siginfo and .done files | 232 | # Total number of files including .siginfo and .done files |
| 229 | total_files_suffix=`grep ".*/sstate:[^:]*:[^:]*:[^:]*:[^:]*:[^:]*:[^:]*:[^:_]*_$suffix\.tgz.*" $sstate_files_list | wc -l 2>/dev/null` | 233 | total_files_suffix=`grep ".*/sstate:[^:]*:[^:]*:[^:]*:[^:]*:[^:]*:[^:]*:[^:_]*_$suffix\.tgz.*" $sstate_files_list | wc -l 2>/dev/null` |
| 230 | total_tgz_suffix=`grep ".*/sstate:[^:]*:[^:]*:[^:]*:[^:]*:[^:]*:[^:]*:[^:_]*_$suffix\.tgz$" $sstate_files_list | wc -l 2>/dev/null` | 234 | total_tgz_suffix=`grep ".*/sstate:[^:]*:[^:]*:[^:]*:[^:]*:[^:]*:[^:]*:[^:_]*_$suffix\.tgz$" $sstate_files_list | wc -l 2>/dev/null` |
