diff options
Diffstat (limited to 'scripts/lib/wic/utils')
-rw-r--r-- | scripts/lib/wic/utils/oe/misc.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/lib/wic/utils/oe/misc.py b/scripts/lib/wic/utils/oe/misc.py index 1de6f46a38..2f9f515cf8 100644 --- a/scripts/lib/wic/utils/oe/misc.py +++ b/scripts/lib/wic/utils/oe/misc.py @@ -122,7 +122,12 @@ def get_bitbake_var(var, image=None): cmd = "bitbake -e" if image: cmd += " %s" % image + + log_level = msger.get_loglevel() + msger.set_loglevel('normal') rc, lines = __exec_cmd(cmd) + msger.set_loglevel(log_level) + if rc: print "Couldn't get '%s' output." % cmd print "Bitbake failed with error:\n%s\n" % lines |