From: Ed Bartosh Date: Fri, 22 Jan 2016 12:18:37 +0000 (+0000) Subject: toaster: run bitbake server with --read option X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=76c9871740ef42ac35fdfdcb89a68478cca370cd;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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] Signed-off-by: Ed Bartosh Signed-off-by: Elliot Smith Signed-off-by: Richard Purdie --- diff --git a/bin/toaster b/bin/toaster index e5041cbb99d..72eae64166d 100755 --- a/bin/toaster +++ b/bin/toaster @@ -108,7 +108,7 @@ stop_system() start_bitbake() { unset BBSERVER - bitbake --postread conf/toaster.conf --server-only -t xmlrpc -B 0.0.0.0:0 + bitbake --read conf/toaster.conf --server-only -t xmlrpc -B 0.0.0.0:0 if [ $? -ne 0 ]; then echo "Bitbake server start failed" return 1