diff options
Diffstat (limited to 'bitbake/bin/toaster')
-rwxr-xr-x | bitbake/bin/toaster | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bitbake/bin/toaster b/bitbake/bin/toaster index 2fabe5c8ec..75c7a076b1 100755 --- a/bitbake/bin/toaster +++ b/bitbake/bin/toaster | |||
@@ -99,7 +99,7 @@ function stop_system() | |||
99 | kill $(< ${BUILDDIR}/.toasterui.pid ) 2>/dev/null | 99 | kill $(< ${BUILDDIR}/.toasterui.pid ) 2>/dev/null |
100 | rm ${BUILDDIR}/.toasterui.pid | 100 | rm ${BUILDDIR}/.toasterui.pid |
101 | fi | 101 | fi |
102 | BBSERVER=localhost:8200 bitbake -m | 102 | BBSERVER=0.0.0.0:8200 bitbake -m |
103 | unset BBSERVER | 103 | unset BBSERVER |
104 | webserverKillAll | 104 | webserverKillAll |
105 | # force stop any misbehaving bitbake server | 105 | # force stop any misbehaving bitbake server |
@@ -234,12 +234,12 @@ case $CMD in | |||
234 | return 4 | 234 | return 4 |
235 | fi | 235 | fi |
236 | unset BBSERVER | 236 | unset BBSERVER |
237 | bitbake --postread conf/toaster.conf --server-only -t xmlrpc -B localhost:8200 | 237 | bitbake --postread conf/toaster.conf --server-only -t xmlrpc -B 0.0.0.0:8200 |
238 | if [ $? -ne 0 ]; then | 238 | if [ $? -ne 0 ]; then |
239 | start_success=0 | 239 | start_success=0 |
240 | echo "Bitbake server start failed" | 240 | echo "Bitbake server start failed" |
241 | else | 241 | else |
242 | export BBSERVER=localhost:8200 | 242 | export BBSERVER=0.0.0.0:8200 |
243 | if [ $NOTOASTERUI == 0 ]; then # we start the TOASTERUI only if not inhibited | 243 | if [ $NOTOASTERUI == 0 ]; then # we start the TOASTERUI only if not inhibited |
244 | bitbake --observe-only -u toasterui >${BUILDDIR}/toaster_ui.log 2>&1 & echo $! >${BUILDDIR}/.toasterui.pid | 244 | bitbake --observe-only -u toasterui >${BUILDDIR}/toaster_ui.log 2>&1 & echo $! >${BUILDDIR}/.toasterui.pid |
245 | fi | 245 | fi |