cooker.py: Allow parsing shutdown to be called more than once
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 11 Mar 2012 14:13:05 +0000 (14:13 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 12 Mar 2012 15:52:33 +0000 (15:52 +0000)
commit0b3bcde3ba476885ab4c977456ce72355068cfb8
treedbb240d6ed340c71e7587943cd0ffe8ab475f7c7
parent19b099f89a6bcb1c0afbce7ad89b4b38da23f468
cooker.py: Allow parsing shutdown to be called more than once

The parsing shutdown call can occur more than once. Currently
if this happens the code will hang. Add some code to prevent this.

[YOCTO #2039 partial]

(Bitbake rev: 7614c5bdcaf9d70614b4fad2ca02c7e6eaa92f1b)

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