Bug 2198 - sstate-cache-management.sh: fixes and enhancement
Summary: sstate-cache-management.sh: fixes and enhancement
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 1.2
Hardware: x86 Multiple
: Undecided normal
Target Milestone: ---
Assignee: Robert Yang
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2012-03-30 05:58 UTC by Robert Yang
Modified: 2012-04-01 02:24 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Yang 2012-03-30 05:58:48 UTC
Fixes a few problems and enhance its functions it shoud be more useful 
now.

* Search 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 extra layers, see "Add the following options".

* Reduce the analyzing time when remove duplicated files.
  It would cost more than 10 minutes to analyze 10,000 files before, now
  only need about 50 seconds.

* Use the access time rather than create time.

* Need the user's confirm before really remove the file.

* Add the following options: (please see the code for detailed
  explanations)
  a) --extra-layer=<layer1>,<layer2>...<layern>
  b) -d is short for --remove-duplicated
  c) --stamps-dir=<dir1>,<dir2>...<dirn>
     # This one seems more useful than "-d".

  d) -y, --yes
  e) -v, --verbose