[Toaster] [PATCH 1/4] toaster: run bitbake --server-only differently
Ed Bartosh
ed.bartosh at linux.intel.com
Thu Oct 1 05:55:09 PDT 2015
Run bitbake --server-only similar way in analisys and
build mode:
bitbake --read toaster-pre.conf --postread toaster.conf \
--server-only -t xmlrpc -B 0.0.0.0:0
Created empty toaster-pre.conf to support this.
This is a first step in unifying the way bitbake is
run by toaster.
[YOCTO #8279]
Signed-off-by: Ed Bartosh <ed.bartosh at linux.intel.com>
---
bitbake/bin/toaster | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/bitbake/bin/toaster b/bitbake/bin/toaster
index ac27826..945dcf1 100755
--- a/bitbake/bin/toaster
+++ b/bitbake/bin/toaster
@@ -309,16 +309,13 @@ case $CMD in
start )
start_success=1
addtoConfiguration toaster.conf "INHERIT+=\"toaster buildhistory\"" $TOASTER_BRBE
+ echo "" > ${BUILDDIR}/conf/toaster-pre.conf
if [ $WEBSERVER -gt 0 ] && ! webserverStartAll; then
echo "Failed ${CMD}."
return 4
fi
unset BBSERVER
- PREREAD=""
- if [ -e ${BUILDDIR}/conf/toaster-pre.conf ]; then
- rm ${BUILDDIR}/conf/toaster-pre.conf
- fi
- bitbake $PREREAD --postread conf/toaster.conf --server-only -t xmlrpc -B 0.0.0.0:0
+ bitbake --read conf/toaster-pre.conf --postread conf/toaster.conf --server-only -t xmlrpc -B 0.0.0.0:0
if [ $? -ne 0 ]; then
start_success=0
echo "Bitbake server start failed"
--
2.1.4
More information about the toaster
mailing list