summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2016-09-05 15:29:30 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-09-08 00:33:47 +0100
commit8719012c789146f7fe3c0480cfde7291119de075 (patch)
tree8ca05f220743ee80fa52b8d3f1a45951b75f5835 /bitbake
parent87cf84fead7a335284451ca84475dd3204d683e4 (diff)
downloadpoky-8719012c789146f7fe3c0480cfde7291119de075.tar.gz
bitbake: toaster: don't kill toaster on start
There is no point of trying to kill django development server when toaster starts because 'manage.py checksocket' command is already used in the script code to check if development server port is occupied. Even if Toaster is listening on another port, killing previous instance looks quite implicit and doesn't solve anything as there are other processes that might be still running. (Bitbake rev: 0dab45e9815e8939219900264e86f569c714b7c6) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rwxr-xr-xbitbake/bin/toaster8
1 files changed, 0 insertions, 8 deletions
diff --git a/bitbake/bin/toaster b/bitbake/bin/toaster
index e35bfce58c..5e01101f96 100755
--- a/bitbake/bin/toaster
+++ b/bitbake/bin/toaster
@@ -249,14 +249,6 @@ case $CMD in
249 fi 249 fi
250 fi 250 fi
251 251
252 # kill Toaster web server if it's alive
253 if [ -e $BUILDDIR/.toastermain.pid ] && kill -0 `cat $BUILDDIR/.toastermain.pid`; then
254 echo "Warning: bitbake appears to be dead, but the Toaster web server is running." 1>&2
255 echo " Something fishy is going on." 1>&2
256 echo "Cleaning up the web server to start from a clean slate."
257 webserverKillAll
258 fi
259
260 # Create configuration file 252 # Create configuration file
261 conf=${BUILDDIR}/conf/local.conf 253 conf=${BUILDDIR}/conf/local.conf
262 line='INHERIT+="toaster buildhistory"' 254 line='INHERIT+="toaster buildhistory"'