bitbake/cooker: Fix parsing failure zombie problem
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 23 Feb 2011 11:09:07 +0000 (11:09 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 24 Feb 2011 21:38:08 +0000 (21:38 +0000)
commitfc701f08717d1d066f1ceaa0743821e3c03589cd
tree9045293e746083c06d106c0a84fec0eaf8c8e5b7
parentff3ac7274fd1e07ab6ebf25e259572ffcd2da2e9
bitbake/cooker: Fix parsing failure zombie problem

When parsing if a SystemExit event is triggered, it causes the parsing thread to
exit and the main process hangs waiting for it to finish indefintely. Add code to
catch BaseExceptions and raise these with the main process gracefully instead
of just hanging indefinitely with zombie processes.

(From Poky rev: 56a92105fe6b779c69bccd44c2cff8f21cafdfbd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lib/bb/cooker.py