summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/lib/wic/utils/oe/misc.py5
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