[OE-core] [wic][PATCH 07/20] wic: Turn off debug output for 'bitbake -e'
Ed Bartosh
ed.bartosh at linux.intel.com
Mon Jun 29 19:10:20 UTC 2015
Switched debug level to 'normal' to prevent huge 'bitbake -e'
output to go into wic debug output. This should help to make
wic debug info much more clean and easier to read.
Signed-off-by: Ed Bartosh <ed.bartosh at linux.intel.com>
diff --git a/scripts/lib/wic/utils/oe/misc.py b/scripts/lib/wic/utils/oe/misc.py
index 5d6dadb..03e6792 100644
--- a/scripts/lib/wic/utils/oe/misc.py
+++ b/scripts/lib/wic/utils/oe/misc.py
@@ -124,7 +124,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
--
2.1.4
More information about the Openembedded-core
mailing list