bitbake: cooker: Shut down the parser in error state
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 8 Jan 2015 09:41:03 +0000 (09:41 +0000)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Sun, 26 Jul 2015 13:13:54 +0000 (10:13 -0300)
commit104bf8583354a9861cd391e0574c879fcb03db78
tree0d4b69f4e9c21acf096f80b8f70f8a7ceeb2f89a
parent214aaa802b48d53248b5b6cc1dba3b77d8bd61bf
bitbake: cooker: Shut down the parser in error state

If the cooker is in an error state, we shouldn't continue to try parsing.
This fixes an issue where an invalid PR server is detected when bitbake
is started and ensures bitbake exits cleanly rather than hanging.

[YOCTO #6934]

(Bitbake rev: 923fc5ee0ace02cc29110bff502a2c65e6bdebf0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
bitbake/lib/bb/cooker.py