On 20/01/2016 11:24, "[email protected] on behalf of Ed
Bartosh" <[email protected] on behalf of
[email protected]> wrote:

>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]

I haven't tried an lsb build, but this seems to fix the issue with
building for machines not provided by the poky layers.

Thanks!

Belén

>
>Signed-off-by: Ed Bartosh <[email protected]>
>---
> bitbake/bin/toaster | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>diff --git a/bitbake/bin/toaster b/bitbake/bin/toaster
>index e5041cb..72eae64 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
>-- 
>2.1.4
>
>-- 
>_______________________________________________
>toaster mailing list
>[email protected]
>https://lists.yoctoproject.org/listinfo/toaster

-- 
_______________________________________________
toaster mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/toaster

Reply via email to