poky/bitbake/bin
Richard Purdie 646cd97d24 bitbake: bitbake-worker: Use setsid() rather than setpgid()
The bug has a long discussion of this. Basically, in some environments,
the exact details of which aren't understood, a Ctrl+C signal to the
UI is being transmitted to all the process children. Looking at the output
of "ps ax -O tpgid", its clear the main process is still the terminal
owner of these processes.

stty -a on a problematic system shows: "-ignbrk brkint"
and on a working system shows: "-ignbrk -brkint"

The description of brkint would suggest this is the problem, setting up
that terminal environment wasn't able to reproduce the problem though.
It was confirmed that using setsid() caused the problem to be resolved
and is probably the right thing to be doing anyway, so lets do it.

[YOCTO #6949]

(Bitbake rev: 81d90389edd4d4778d3aec86e0775ab98dd1496e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-02-11 17:36:50 +00:00
..
bitbake bitbake: bin/bitbake: Update to version 1.24.0 2014-09-23 22:10:12 +01:00
bitbake-diffsigs bitbake: bitbake-diffsigs: Fix runtime error when no arguments are given 2014-04-27 01:27:55 +01:00
bitbake-dumpsig bitbake: bitbake-dumpsig: introduce command line and error handling 2013-10-07 09:37:35 +01:00
bitbake-layers bitbake: bitbake: show wildcard appends for bitbake-layers 2014-06-06 10:33:19 +01:00
bitbake-prserv bitbake/bitbake-prserv: Set file mode bits "x". 2012-03-02 16:22:27 +00:00
bitbake-selftest bitbake: bitbake-selftest: fix help message to include command line 2014-04-09 14:31:14 +01:00
bitbake-worker bitbake: bitbake-worker: Use setsid() rather than setpgid() 2015-02-11 17:36:50 +00:00
bitdoc bitbake: Update users of getVar/setVar to use the data store functions directly 2011-11-27 10:35:30 +00:00
image-writer bitbake: hig.py: refactor into individual components 2013-01-16 12:51:33 +00:00
toaster bitbake: toaster: bitbake server listen on all interface 2014-09-05 10:14:24 +01:00