diff options
author | Michael Wood <michael.g.wood@intel.com> | 2016-04-21 14:22:06 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-05-06 10:12:17 +0100 |
commit | f00b4e4c3d1d4b7e5f1ba99b099802e3495deba1 (patch) | |
tree | 9f4fb488759c0ef78c5176b5be45ca8f72d5ee69 | |
parent | 93853e06fba4a1f09a3cceac344f1341b177a5b3 (diff) | |
download | poky-f00b4e4c3d1d4b7e5f1ba99b099802e3495deba1.tar.gz |
bitbake: toaster: bin/toaster Fix noweb command
For the noweb command we don't need to check if a socket is in use or
not as we're not starting the django development server. We're just
setting up the environment and running the runbuilds scheduler.
(Bitbake rev: f62d9a3e86e384f928fc8ad077d7cf3a75d1591e)
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rwxr-xr-x | bitbake/bin/toaster | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bitbake/bin/toaster b/bitbake/bin/toaster index 9540fc9e6c..987d53c10d 100755 --- a/bitbake/bin/toaster +++ b/bitbake/bin/toaster | |||
@@ -255,7 +255,9 @@ case $CMD in | |||
255 | start ) | 255 | start ) |
256 | # check if addr:port is not in use | 256 | # check if addr:port is not in use |
257 | if [ "$CMD" == 'start' ]; then | 257 | if [ "$CMD" == 'start' ]; then |
258 | $MANAGE checksocket "$ADDR_PORT" || return 1 | 258 | if [ $WEBSERVER -gt 0 ]; then |
259 | $MANAGE checksocket "$ADDR_PORT" || return 1 | ||
260 | fi | ||
259 | fi | 261 | fi |
260 | 262 | ||
261 | # kill Toaster web server if it's alive | 263 | # kill Toaster web server if it's alive |