summaryrefslogtreecommitdiff
path: root/scripts/wic
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2015-08-20 14:10:29 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-08-30 12:34:35 +0100
commitd401a8518fb4b0e8adeb34be8948fa780299870c (patch)
tree57a9d3241abbc29f0ddbfdb257f90449016eb3ff /scripts/wic
parent94c85fdaec36bfda509be4a66082a0156bf76695 (diff)
downloadopenembedded-core-d401a8518fb4b0e8adeb34be8948fa780299870c.tar.gz
openembedded-core-d401a8518fb4b0e8adeb34be8948fa780299870c.tar.bz2
openembedded-core-d401a8518fb4b0e8adeb34be8948fa780299870c.zip
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>
Diffstat (limited to 'scripts/wic')
-rwxr-xr-xscripts/wic2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/wic b/scripts/wic
index c1d3003378..5aa2393cf9 100755
--- a/scripts/wic
+++ b/scripts/wic
@@ -280,7 +280,7 @@ subcommands = {
hlp.wic_list_help],
"plugins": [wic_help_topic_subcommand,
wic_help_topic_usage,
- hlp.get_wic_plugins_help()],
+ hlp.get_wic_plugins_help],
"overview": [wic_help_topic_subcommand,
wic_help_topic_usage,
hlp.wic_overview_help],