We remove trapping SIGCHLD due to a weird interaction
with the bash version used with Ubuntu 14.04 LTS.
(Bitbake rev:
59f2f33440449c586c23dd3a192698a37aaf0595)
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
# 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
}
# stop system on terminal exit
set -o monitor
trap stop_system SIGHUP
- trap notify_chldexit SIGCHLD
+ #trap notify_chldexit SIGCHLD
;;
stop )
stop_system