summaryrefslogtreecommitdiff
path: root/bitbake/lib/bb
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-16 12:33:40 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-16 12:33:40 +0000
commit7e4c694c9f53ce9458e052adb918c45db88254dd (patch)
tree6a9896781a9cac7130ff68e19204071447050b8e /bitbake/lib/bb
parent974ea1a190167dcfd831ba1fc5f733e0dc9a6fda (diff)
downloadopenembedded-core-7e4c694c9f53ce9458e052adb918c45db88254dd.tar.gz
openembedded-core-7e4c694c9f53ce9458e052adb918c45db88254dd.tar.bz2
openembedded-core-7e4c694c9f53ce9458e052adb918c45db88254dd.zip
bitbake/runqueue.py: Ensure child has the default SIGCHLD handler restored
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb')
-rw-r--r--bitbake/lib/bb/runqueue.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py
index 572b872276..7d1f48aee2 100644
--- a/bitbake/lib/bb/runqueue.py
+++ b/bitbake/lib/bb/runqueue.py
@@ -1107,6 +1107,8 @@ class RunQueueExecute:
# themselves
bblogger.handlers = [bb.event.LogHandler()]
+ signal.signal(signal.SIGCHLD, signal.SIG_DFL)
+
self.rq.state = runQueueChildProcess
# Make the child the process group leader
os.setpgid(0, 0)