poky/scripts/lib/wic/plugins/source
Ed Bartosh aa470a1fcd wic: Refactor getting bitbake variables
Wic gets bitbake variables by parsing output of 'bitbake -e' command.

This implementation improves this procedure as it runs 'bitbake -e' only
when API is called and does it only once, i.e. in a "lazy" way. As parsing
results are cached 'bitbake -e' is run only once and results are parsed
only once per requested set of variables.

get_bitbake_var became the only API call. It replaces find_artifacts,
find_artifact, find_bitbake_env_lines, get_bitbake_env_lines,
set_bitbake_env_lines and get_line_val calls making API much more clear.

(From OE-Core rev: 3abe23bd217315246ec2d98dc9c390b85cfe6a92)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-07-02 23:08:36 +01:00
..
bootimg-efi.py wic: Add missing docstrings to plugin classes 2015-06-23 11:47:33 +01:00
bootimg-partition.py wic: Add missing docstrings to plugin classes 2015-06-23 11:47:33 +01:00
bootimg-pcbios.py wic: Add missing docstrings to plugin classes 2015-06-23 11:47:33 +01:00
fsimage.py wic: code cleanup: superfluous-parens 2015-06-23 11:47:36 +01:00
rawcopy.py wic: code cleanup: superfluous-parens 2015-06-23 11:47:36 +01:00
rootfs_pcbios_ext.py wic: Refactor getting bitbake variables 2015-07-02 23:08:36 +01:00
rootfs.py wic: Refactor getting bitbake variables 2015-07-02 23:08:36 +01:00