bitbake-runtask: Ensure logging settings take effect in the worker process (and pass verbose setting)

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
Richard Purdie 2010-10-12 17:46:47 +01:00
parent fa91404055
commit 229b6630af
2 changed files with 5 additions and 1 deletions

View File

@ -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)

View File

@ -721,6 +721,7 @@ class RunQueueData:
hashdata["msg-debug"] = self.cooker.configuration.debug
hashdata["msg-debug-domains"] = self.cooker.configuration.debug_domains
hashdata["verbose"] = self.cooker.configuration.verbose
# Write out the hashes into a file for use by the individual tasks
self.hashfile = bb.data.expand("${TMPDIR}/cache/hashdata.dat", self.cooker.configuration.data)