diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-08-22 20:33:39 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-08-23 09:22:43 +0100 |
commit | 4f3d48653aecd0bcb5cf3db2bdd7770235947206 (patch) | |
tree | b0968f93344d5414b29ad997eab9dad8156c979c /bitbake/lib/bb/taskdata.py | |
parent | 999ee044b92ea08ee86460b7c1a217ad26e0af2b (diff) | |
download | poky-4f3d48653aecd0bcb5cf3db2bdd7770235947206.tar.gz |
bitbake: cooker: Ensure parsing failures stop the build
Currently parsing failures still allow bitbake to continue on and try
and execute a build. This is clearly a bad idea and this patch adds in
more correct error handling and stops the build.
The use of sys.exit is nasty but this patches other usage in this function
so is at least consisent and its better than the current situation of
trying to execure a half parsed set of recipes. There are probably better
ways this could be improved to use to stop the build.
(Bitbake rev: 22756e9c0f1da33ba2c6e881b214577a610b7986)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/taskdata.py')
0 files changed, 0 insertions, 0 deletions