]> code.ossystems Code Review - openembedded-core.git/commit
bitbake: build.py logging updates
authorRichard Purdie <rpurdie@linux.intel.com>
Wed, 5 Jan 2011 00:54:16 +0000 (00:54 +0000)
committerRichard Purdie <rpurdie@linux.intel.com>
Wed, 5 Jan 2011 00:58:24 +0000 (00:58 +0000)
commit25ac24e02e3e96945e8ac83e16fe27a6b24789b1
tree9a6b3ed525dcbe8ae94ce4248acbde8380cbad76
parent03679364a9e280af24ba7038dce54272eb33af83
bitbake: build.py logging updates

python tasks calling shell functions using exec_func() would show the log
file as /dev/null. It makes most sense for all the task logging to be setup
centrally by exec_task(), at least with the current code base in Poky.

This commit will need discussion in relation to upstream bitbake and the
IO redirection could be better handled using a context manager (although
task contexts shouldn't ever nest).

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
bitbake/lib/bb/build.py