summaryrefslogtreecommitdiff
path: root/bitbake
diff options
context:
space:
mode:
authorAlexandru DAMIAN <alexandru.damian@intel.com>2014-09-04 15:39:47 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-09-05 10:14:24 +0100
commite9112e709b38b4a7fdd15fc1b2e55d26a0f423d2 (patch)
tree9639ba84a52589735a0ab30d935215aa0a381a84 /bitbake
parent3fa95f6ac6b8872b479ee5d21323c0b4c1831493 (diff)
downloadtizen-distro-e9112e709b38b4a7fdd15fc1b2e55d26a0f423d2.tar.gz
tizen-distro-e9112e709b38b4a7fdd15fc1b2e55d26a0f423d2.tar.bz2
tizen-distro-e9112e709b38b4a7fdd15fc1b2e55d26a0f423d2.zip
bitbake: toaster: bitbake server listen on all interface
We change the toaster starting script to make the bitbake server listen on all interfaces on the local machine. This is needed to be able to receive a controlling client running on a remote machine. (Bitbake rev: 137179eafca8d1a5a69b6302f8cc8961be3b45c4) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rwxr-xr-xbitbake/bin/toaster6
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()
kill $(< ${BUILDDIR}/.toasterui.pid ) 2>/dev/null
rm ${BUILDDIR}/.toasterui.pid
fi
- BBSERVER=localhost:8200 bitbake -m
+ BBSERVER=0.0.0.0:8200 bitbake -m
unset BBSERVER
webserverKillAll
# force stop any misbehaving bitbake server
@@ -234,12 +234,12 @@ case $CMD in
return 4
fi
unset BBSERVER
- bitbake --postread conf/toaster.conf --server-only -t xmlrpc -B localhost:8200
+ bitbake --postread conf/toaster.conf --server-only -t xmlrpc -B 0.0.0.0:8200
if [ $? -ne 0 ]; then
start_success=0
echo "Bitbake server start failed"
else
- export BBSERVER=localhost:8200
+ export BBSERVER=0.0.0.0:8200
if [ $NOTOASTERUI == 0 ]; then # we start the TOASTERUI only if not inhibited
bitbake --observe-only -u toasterui >${BUILDDIR}/toaster_ui.log 2>&1 & echo $! >${BUILDDIR}/.toasterui.pid
fi