From bd1a534a11440b8eb7560a115f9c0d6dab51a041 Mon Sep 17 00:00:00 2001 From: Ed Bartosh Date: Fri, 22 Jan 2016 12:18:37 +0000 Subject: 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 Signed-off-by: Elliot Smith Signed-off-by: Richard Purdie --- bitbake/bin/toaster | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bitbake/bin/toaster') 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() 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 -- cgit v1.2.3-54-g00ecf