Bug 5853

Summary: BitBake should give some status indication when fetching sstate packages
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Paul Eggleton <bluelightning>
Component: coreAssignee: Paul Eggleton <bluelightning>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: Medium CC: meta.mr.watcher, meta.watcher, richard.purdie
Version: 1.5.1   
Target Milestone: 2.2   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

Description Paul Eggleton 2014-02-20 11:54:51 UTC
Before running the setscene tasks, BitBake runs through a process of checking which sstate packages are available. If you have SSTATE_MIRRORS pointing to some remote server on a slow link this process can take significant amount of time and there's no message or other indication as to what is happening.

According to Richard this functionality is in sstate.bbclass in sstate_checkhashes() iterating over fetcher.checkstatus(). We may need to send some events (bb.event.MetadataEvent ?) that the UI can pick up and report.