mirror of
https://git.yoctoproject.org/poky
synced 2026-04-30 03:32:12 +02:00
wic: Create and use new functions for getting bitbake variables
Add get_bitbake_var() and bitbake_env_lines() functions for use by plugins, which will need access to them for customization. (From OE-Core rev: f0bb47b0d7ab6520c105ce131844269172de3efd) Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
534d9ba70a
commit
3cb93017e6
@@ -98,6 +98,12 @@ def wic_create_subcommand(args, usage_str):
|
||||
|
||||
print "Creating image(s)...\n"
|
||||
|
||||
bitbake_env_lines = find_bitbake_env_lines(options.image_name)
|
||||
if not bitbake_env_lines:
|
||||
print "Couldn't get bitbake environment, exiting."
|
||||
sys.exit(1)
|
||||
set_bitbake_env_lines(bitbake_env_lines)
|
||||
|
||||
bootimg_dir = staging_data_dir = hdddir = ""
|
||||
|
||||
if options.image_name:
|
||||
|
||||
Reference in New Issue
Block a user