summaryrefslogtreecommitdiffstats
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:36:08 +0100
commit8313ceae261d626e6d172f6aad643e1abe2b2833 (patch)
tree029e3de5ebbb830a4f1e112fe6ceb52ecb6c86c4 /scripts/wic
parent31324ed0ea7fcc7fbfc7c2dfcdce8a571d3111c9 (diff)
downloadpoky-8313ceae261d626e6d172f6aad643e1abe2b2833.tar.gz
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. (From OE-Core rev: d401a8518fb4b0e8adeb34be8948fa780299870c) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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 = {
280 hlp.wic_list_help], 280 hlp.wic_list_help],
281 "plugins": [wic_help_topic_subcommand, 281 "plugins": [wic_help_topic_subcommand,
282 wic_help_topic_usage, 282 wic_help_topic_usage,
283 hlp.get_wic_plugins_help()], 283 hlp.get_wic_plugins_help],
284 "overview": [wic_help_topic_subcommand, 284 "overview": [wic_help_topic_subcommand,
285 wic_help_topic_usage, 285 wic_help_topic_usage,
286 hlp.wic_overview_help], 286 hlp.wic_overview_help],