Skip to contentSkip to conversation

bitbake: toaster: do not trap SIGCHLD

PATCH New Alex DAMIAN 1 participant 1 message Mar 28, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bitbake: toaster: do not trap SIGCHLD

From: Alexandru DAMIAN <[email protected]>

We remove trapping SIGCHLD due to a weird interaction with the bash version used with Ubuntu 14.04 LTS.

---
 bitbake/bin/toaster | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
bitbake/bin/toaster +2 -2
index b27f7c2..dea69a4 100755
@@ -86,7 +86,7 @@ function stop_system()
     # force stop any misbehaving bitbake server
     lsof bitbake.lock | awk '{print $2}' | grep "[0-9]\+" | xargs -n1 -r kill
     trap - SIGHUP
-    trap - SIGCHLD
+    #trap - SIGCHLD
     INSTOPSYSTEM=0
 }
 
@@ -203,7 +203,7 @@ case $CMD in
         # stop system on terminal exit
         set -o monitor
         trap stop_system SIGHUP
-        trap notify_chldexit SIGCHLD
+        #trap notify_chldexit SIGCHLD
     ;;
     stop )
         stop_system
Signature · 1 line
1.9.1