Bug 5076 - Consolidate python script code to find and add bitbake path
Summary: Consolidate python script code to find and add bitbake path
Status: VERIFIED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 1.6
Hardware: All Multiple
: Medium enhancement
Target Milestone: 1.7
Assignee: Paul Eggleton
QA Contact: Stoicescu Cornel
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2013-08-29 15:52 UTC by Paul Eggleton
Modified: 2014-07-17 09:38 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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