Bug 3475 - sstate-cache-management.sh doesn't work with new stamps layout
Summary: sstate-cache-management.sh doesn't work with new stamps layout
Status: VERIFIED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: configuration (show other bugs)
Version: 1.4
Hardware: x86 Multiple
: Undecided normal
Target Milestone: ---
Assignee: Richard Purdie
QA Contact:
URL:
Whiteboard: [patch out for review]
Depends on:
Blocks:
 
Reported: 2012-11-21 20:50 UTC by Martin Jansa
Modified: 2012-11-27 13:33 UTC (History)
0 users

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 Martin Jansa 2012-11-21 20:50:54 UTC
http://git.openembedded.org/openembedded-core/commit/?id=05075cf3138d1c61f5cf4fe0e1a4587acc00c692
changed layout of stamps directory and now sstate-cache-management.sh is trying to remove all sstate-cache entries when --cache-dir argument is used:

$ du -hs sstate-cache/; openembedded-core/scripts/sstate-cache-management.sh -L  --cache-dir=sstate-cache --stamps-dir=tmp-eglibc/stamps/ --debug | tee -a sstate-cache-management.log
96G     sstate-cache/
Debug level 1
Figuring out all the md5sums in stamps dir ... Done
Figuring out the files which will be removed ... Done
ERROR: All files in cache dir will be removed! Abort!
Comment 2 Martin Jansa 2012-11-27 13:33:39 UTC
Thanks