bitbake: command.py: Call updateCache for all states != running
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 26 Aug 2013 12:41:03 +0000 (12:41 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 26 Aug 2013 12:43:47 +0000 (13:43 +0100)
commit3c31cec9dc70fb9aa40bc36765681656b542042b
treee93b21b3bd2e2c4cb5f26cb17e1842391e87b485
parent5772a51af8c93d0f1c3a41b9415785ce0d64e07f
bitbake: command.py: Call updateCache for all states != running

updateCache handles the logic for shutting down the parsing so we need
to call it for all cases when we're not running.

This fixes hangs if Ctrl+C is pressed during parsing.

(Bitbake rev: 552b8935dd2f9f11e8d5c08a597a7e966b891480)

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