diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-10-12 17:46:47 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-10-14 20:07:15 +0100 |
commit | 229b6630af72f2914d75ab6b0ba081b5feb25172 (patch) | |
tree | 67d7827f00bb2ab093e5c9cab6c728c34aceb05d /bitbake/bin/bitbake-runtask | |
parent | fa914040550fdc8fd603eefad1f03d44b13fc611 (diff) | |
download | openembedded-core-229b6630af72f2914d75ab6b0ba081b5feb25172.tar.gz openembedded-core-229b6630af72f2914d75ab6b0ba081b5feb25172.tar.bz2 openembedded-core-229b6630af72f2914d75ab6b0ba081b5feb25172.zip |
bitbake-runtask: Ensure logging settings take effect in the worker process (and pass verbose setting)
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake/bin/bitbake-runtask')
-rwxr-xr-x | bitbake/bin/bitbake-runtask | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bitbake/bin/bitbake-runtask b/bitbake/bin/bitbake-runtask index 3b37853f06..88101a5c0f 100755 --- a/bitbake/bin/bitbake-runtask +++ b/bitbake/bin/bitbake-runtask @@ -79,8 +79,11 @@ hashdata = p.load() debug = hashdata["msg-debug"] debug_domains = hashdata["msg-debug-domains"] -cooker = bb.cooker.BBCooker(BBConfiguration(debug, debug_domains), None) +verbose = hashdata["verbose"] + +bb.utils.init_logger(bb.msg, verbose, debug, debug_domains) +cooker = bb.cooker.BBCooker(BBConfiguration(debug, debug_domains), None) cooker.parseConfiguration() cooker.bb_cache = bb.cache.init(cooker) |