diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2012-03-30 14:44:31 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-30 13:23:18 +0100 |
commit | 769a000428e4b2462a4e6d8f179b5816b8ec2417 (patch) | |
tree | b8181b6d44ef3cd713e54910de08c79833aa9946 /meta/recipes-bsp/pm-utils | |
parent | 76c83f107d4a4688a879e30821ab70812052bbdc (diff) | |
download | openembedded-core-769a000428e4b2462a4e6d8f179b5816b8ec2417.tar.gz openembedded-core-769a000428e4b2462a4e6d8f179b5816b8ec2417.tar.bz2 openembedded-core-769a000428e4b2462a4e6d8f179b5816b8ec2417.tar.xz openembedded-core-769a000428e4b2462a4e6d8f179b5816b8ec2417.zip |
sstate-cache-management.sh: fixes and enhancement
Fix a few problems and enhance its functions, it shoud be more useful
than before.
* Search in meta and meta-* for archs, and grep AVAILTUNES for archs,
(only search meta, and grep DEFAULTTUNE before), add the host arch.
and also can search in extra layers with --extra-layer.
* Reduce the analyzing time when remove duplicated files. It would cost
more than 10 minutes to analyze 11,000 files before, now only needs
about 50 seconds.
* Check the access time rather than create time.
* Need the user's confirm before really remove the file, or use --yes to
assume yes.
* Add --stamps-dir to keep sstate files which are used by the build
directory, and remove others this can make the sstate cache dir clean,
it is faster and should be useful than the --remove-duplicated.
* Add --verbose to explain what is being done.
* Add "-d" which is short for --remove-duplicated
[YOCTO #2198]
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp/pm-utils')
0 files changed, 0 insertions, 0 deletions