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:
parent
fa91404055
commit
229b6630af
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue