diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2015-06-27 11:12:50 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-07-02 23:08:36 +0100 |
commit | 992f78939e82635d94022ebc1341ab366e2dfb30 (patch) | |
tree | cd91bb57021f3c8655459d3ec9a19d56862d2198 /scripts/lib/wic | |
parent | 9ca3472f4f02dbcb7dd9f326efc4ca576355be31 (diff) | |
download | poky-992f78939e82635d94022ebc1341ab366e2dfb30.tar.gz |
wic: Turn off debug output for 'bitbake -e'
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.
(From OE-Core rev: 71510c32d78ba24bf1172548f8eb4adfe621d2de)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/wic')
-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): | |||
122 | cmd = "bitbake -e" | 122 | cmd = "bitbake -e" |
123 | if image: | 123 | if image: |
124 | cmd += " %s" % image | 124 | cmd += " %s" % image |
125 | |||
126 | log_level = msger.get_loglevel() | ||
127 | msger.set_loglevel('normal') | ||
125 | rc, lines = __exec_cmd(cmd) | 128 | rc, lines = __exec_cmd(cmd) |
129 | msger.set_loglevel(log_level) | ||
130 | |||
126 | if rc: | 131 | if rc: |
127 | print "Couldn't get '%s' output." % cmd | 132 | print "Couldn't get '%s' output." % cmd |
128 | print "Bitbake failed with error:\n%s\n" % lines | 133 | print "Bitbake failed with error:\n%s\n" % lines |