Bug 5076

Summary: Consolidate python script code to find and add bitbake path
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Paul Eggleton <bluelightning>
Component: coreAssignee: Paul Eggleton <bluelightning>
Status: VERIFIED FIXED QA Contact: Stoicescu Cornel <corneliux.stoicescu>
Severity: enhancement    
Priority: Medium CC: corneliux.stoicescu, meta.mr.watcher, meta.watcher, sgw
Version: 1.6   
Target Milestone: 1.7   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Paul Eggleton 2013-08-29 15:52:57 UTC
There are now several scripts in scripts/ that need to be able to find bitbake and add its lib/bb directory to sys.path. Each of these scripts is doing this in a different way; it would be an improvement if we had one function to do this that all of the python scripts under scripts/ could make use of.

Scripts that need to do this currently include:

scripts/bitbake-whatchanged
scripts/buildhistory-diff
scripts/contrib/list-packageconfig-flags.py
Comment 2 Stoicescu Cornel 2014-07-17 09:38:09 UTC
Verified with poky master:03c6fd0caab0ea8dcc2e0c3ab827a287a4f36910