bitbake: bitbake-worker: exit normally when SIGHUP
authorRobert Yang <liezhi.yang@windriver.com>
Mon, 17 Nov 2014 10:27:36 +0000 (02:27 -0800)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 9 Jan 2015 16:52:22 +0000 (08:52 -0800)
commit7eb33cdb4d4f3daf7de3c018bbad9c39eccaa597
treee894b6dd2b3f8da3b3b9c5c809756ef646c030fa
parente716dc80b3bfe11b5a4f8f522eb7cb2f3b1eb55c
bitbake: bitbake-worker: exit normally when SIGHUP

Fixed:
1) Run "bitbake recipe" in the terminal
2) Close the terminal while building
3) $ ps aux | grep bitbake-worker
There will be many processes, and they will keep the resources (e.g.,
memory), and won't exit unless kill or kill -9.

(Bitbake rev: 72536d4e0cc3379001b730950afa012f7a96a79b)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
bitbake/bin/bitbake-worker
bitbake/lib/bb/cooker.py