summaryrefslogtreecommitdiffstats
path: root/scripts/recipetool
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2015-05-18 16:15:04 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-05-20 21:41:03 +0100
commit3d0418a3314e70242b347ad370cd268ed5783685 (patch)
treed53862bb9fb9c5de8abd42939546c81fa020228b /scripts/recipetool
parentf30245774effc2d8e54386a8e2125555d5eaac93 (diff)
downloadpoky-3d0418a3314e70242b347ad370cd268ed5783685.tar.gz
devtool / recipetool: ensure bb.note() gets printed
Most of the time when bb.note() gets called we want to see the output, so ensure the level is set appropriately depending on the command line options instead of being fixed at warning. (We don't want to see the notes for fetch/unpack/patch though as they are too verbose). (From OE-Core rev: 69f426a2d966a2228cbdc708b9ddab31005c6d96) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/recipetool')
-rwxr-xr-xscripts/recipetool2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/recipetool b/scripts/recipetool
index 2cfa763201..b7d3ee887c 100755
--- a/scripts/recipetool
+++ b/scripts/recipetool
@@ -40,7 +40,7 @@ def tinfoil_init():
40 for plugin in plugins: 40 for plugin in plugins:
41 if hasattr(plugin, 'tinfoil_init'): 41 if hasattr(plugin, 'tinfoil_init'):
42 plugin.tinfoil_init(tinfoil) 42 plugin.tinfoil_init(tinfoil)
43 tinfoil.logger.setLevel(logging.WARNING) 43 tinfoil.logger.setLevel(logger.getEffectiveLevel())
44 44
45def main(): 45def main():
46 46