]> code.ossystems Code Review - openembedded-core.git/commit
wic: deferred call of hlp.get_wic_plugins_help()
authorEd Bartosh <ed.bartosh@linux.intel.com>
Thu, 20 Aug 2015 11:10:29 +0000 (14:10 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 30 Aug 2015 11:34:35 +0000 (12:34 +0100)
commitd401a8518fb4b0e8adeb34be8948fa780299870c
tree57a9d3241abbc29f0ddbfdb257f90449016eb3ff
parent94c85fdaec36bfda509be4a66082a0156bf76695
wic: deferred call of hlp.get_wic_plugins_help()

If get_wic_plugins_help is called from wic main module
it calls git_bitbake_var at some point. This fails when
wic is called from bitbake as 'bitbake -e' can't be
run.

Moved call of this method to help.py in order to call it
later, when BitbakeVariables singleton is properly initialized
to get variables from .env files.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
scripts/lib/image/help.py
scripts/wic