diff options
author | Robert Yang <liezhi.yang@windriver.co> | 2011-11-24 12:55:14 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-01-30 16:16:13 +0000 |
commit | f204d16012a182e1bf7344894fe202ccaa6b34b7 (patch) | |
tree | cdfa657ff4412177116e5f0cd17e4eb56fdfb8f7 /bitbake/lib/bb | |
parent | 3796541746dabfbca5a4759e3e955b86cdd6498a (diff) | |
download | poky-f204d16012a182e1bf7344894fe202ccaa6b34b7.tar.gz |
bitbake: Update and fix bitbake-runtask
Since bitbake switched back to the fork instead of the exec model,
it no longer used bitbake-runtask and the code has suffered some bitrot.
bitbake-runtask is a useful tool for excuting the task without
the scheduler of bitbake, so that the external tool can invoke it
easily. It also provides a useful example of how to invoke exec_task()
with low overhead without a lot of the bitbake threading/UI overhead.
Significant changes:
* This patch changes the argument order so that the commonly used
and mandatory arguments come first.
* The taskhash file and dryrun options are now optional
* It now uses the bitbake logging mechanisms to provide processed
logging output to the console.
* The process handling to do with stdout/stderr redirection
are removed since they're no longer required.
[YOCTO #1229]
RP: Logging updates to the patch based on Roberts original patch
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb')
0 files changed, 0 insertions, 0 deletions