summaryrefslogtreecommitdiffstats
path: root/bitbake/bin/toaster
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2015-12-17 16:48:53 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-12-18 13:51:54 +0000
commit064d2c79841094b55007ffb101b56039c2cc34bc (patch)
treefd56b987feed3b342bb1ffd28845114bbf429847 /bitbake/bin/toaster
parentc505f24ebd75c194c05c151542aa0d8cbc0efad1 (diff)
downloadpoky-064d2c79841094b55007ffb101b56039c2cc34bc.tar.gz
bitbake: toaster: remove 2 unused functions
Removed check_pidbyfile and notify_chldexit functions from toaster script as they're not called in the script. (Bitbake rev: ead2823e5457c9c4d0321c2191fb99982b282d26) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Elliot Smith <elliot.smith@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/bin/toaster')
-rwxr-xr-xbitbake/bin/toaster12
1 files changed, 0 insertions, 12 deletions
diff --git a/bitbake/bin/toaster b/bitbake/bin/toaster
index 97ca17760f..1f4c400fdf 100755
--- a/bitbake/bin/toaster
+++ b/bitbake/bin/toaster
@@ -131,17 +131,6 @@ stop_bitbake() {
131 lsof bitbake.lock | awk '{print $2}' | grep "[0-9]\+" | xargs -n1 -r kill 131 lsof bitbake.lock | awk '{print $2}' | grep "[0-9]\+" | xargs -n1 -r kill
132} 132}
133 133
134check_pidbyfile() {
135 [ -e $1 ] && kill -0 `cat $1` 2>/dev/null
136}
137
138notify_chldexit() {
139 if [ $NOTOASTERUI -eq 0 ]; then
140 check_pidbyfile ${BUILDDIR}/.toasterui.pid && return
141 stop_system
142 fi
143}
144
145verify_prereq() { 134verify_prereq() {
146 # Verify Django version 135 # Verify Django version
147 reqfile=$(python -c "import os; print os.path.realpath('$BBBASEDIR/toaster-requirements.txt')") 136 reqfile=$(python -c "import os; print os.path.realpath('$BBBASEDIR/toaster-requirements.txt')")
@@ -355,7 +344,6 @@ case $CMD in
355 # stop system on terminal exit 344 # stop system on terminal exit
356 set -o monitor 345 set -o monitor
357 trap stop_system SIGHUP 346 trap stop_system SIGHUP
358 #trap notify_chldexit SIGCHLD
359 ;; 347 ;;
360 stop ) 348 stop )
361 stop_system 349 stop_system