summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2016-01-22 12:18:37 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-22 12:45:44 +0000
commitbd1a534a11440b8eb7560a115f9c0d6dab51a041 (patch)
tree2a482fe7adccadf1a175ff7813b71e72188f1e00 /bitbake
parent76a281c870621f5b5608d098a70504c6069ccd11 (diff)
downloadpoky-bd1a534a11440b8eb7560a115f9c0d6dab51a041.tar.gz
bitbake: toaster: run bitbake server with --read option
Toaster script run bitbake with --postread conf/toaster.conf. It turned out that variables set this way don't influence the build. Changing --postread to --read makes bitbake to read variables earlier and should fix this issue. [YOCTO #8781] (Bitbake rev: 76c9871740ef42ac35fdfdcb89a68478cca370cd) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Elliot Smith <elliot.smith@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rwxr-xr-xbitbake/bin/toaster2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/bin/toaster b/bitbake/bin/toaster
index e5041cbb99..72eae64166 100755
--- a/bitbake/bin/toaster
+++ b/bitbake/bin/toaster
@@ -108,7 +108,7 @@ stop_system()
108 108
109start_bitbake() { 109start_bitbake() {
110 unset BBSERVER 110 unset BBSERVER
111 bitbake --postread conf/toaster.conf --server-only -t xmlrpc -B 0.0.0.0:0 111 bitbake --read conf/toaster.conf --server-only -t xmlrpc -B 0.0.0.0:0
112 if [ $? -ne 0 ]; then 112 if [ $? -ne 0 ]; then
113 echo "Bitbake server start failed" 113 echo "Bitbake server start failed"
114 return 1 114 return 1