]> code.ossystems Code Review - openembedded-core.git/commit
sstate-cache-management: improve shown numbers of removed files
authorMartin Jansa <martin.jansa@gmail.com>
Sat, 1 Mar 2014 20:52:00 +0000 (21:52 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 5 Mar 2014 15:24:04 +0000 (15:24 +0000)
commitec881997c748ed8bfb3fc75797367ce3599bd5b4
tree49060a79bd9f43e5d6bdb121273e8c4dff83d26a
parent24dd8e129447013ee98609f3892ec414b1b21340
sstate-cache-management: improve shown numbers of removed files

* deleted files were counting .siginfo and .done files, but total_files were counting only .tgz archives
  so it could show confusing output like:
  Figuring out the sstate:xxx_packagedata.tgz ... (21098 from 15162 files for packagedata suffix will be removed)
* split the counts and show both
* fix .sigdata sometimes used instead of .siginfo
* this will also show new "suffixes" which have only .siginfo files but
  no .tgz, e.g.:
  Figuring out the sstate:xxx_rm_work.tgz ... (0 from 0 .tgz files for
  rm_work suffix will be removed or 0 from 107630 when counting also
  .siginfo and .done files)
  because now we're storing siginfo files from all intermediate tasks,
  but they are not being removed by this script

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/sstate-cache-management.sh