Bug 3475

Summary: sstate-cache-management.sh doesn't work with new stamps layout
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Martin Jansa <Martin.Jansa>
Component: configurationAssignee: Richard Purdie <richard.purdie>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: Undecided    
Version: 1.4   
Target Milestone: ---   
Hardware: x86   
OS: Multiple   
Whiteboard: [patch out for review]
OS type for building Yocto: --- Type of Regression: ---
Verified: -- Documentation change: ---

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