toaster: run bitbake server with --read option
PATCH 1/1 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/bin/toaster | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
bitbake/bin/toaster +1 -1
@@ -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
Signature · 1 line
2.1.4
Quoted 6 lines · On 20/01/2016 11:24, "[email protected] on behalf of Ed…
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
Quoted 28 lines
Signed-off-by Ed Bartosh <[email protected]>---
bitbake/bin/toaster | 2 +-1 file changed, 1 insertion(+), 1 deletion(-)bitbake/bin/toaster +0
-1@@ -108,7 +108,7 @@ stop_system() start_bitbake() { unset BBSERVER - bitbake --postread conf/toaster.conf --server-only -t xmlrpc -B0.0.0.0:0
+ bitbake --readconf/toaster.conf--server-only -t xmlrpc -B 0.0.0.0:0
if [ $? -ne 0 ]; then
echo "Bitbake server start failed"
return 1Signature · 7 lines
2.1.4 -- _______________________________________________ toaster mailing list [email protected] https://lists.yoctoproject.org/listinfo/toaster
On 20 January 2016 at 13:56, Barros Pena, Belen <[email protected]
Quoted 9 lines
Quoted 6 lines · 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]
Sent to bitbake-devel and added to toaster-next.
Elliot
Quoted 44 lines
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
Quoted 15 lines
Signed-off-by Ed Bartosh <[email protected]>---
bitbake/bin/toaster | 2 +-1 file changed, 1 insertion(+), 1 deletion(-)bitbake/bin/toaster +0
-1@@ -108,7 +108,7 @@ stop_system() start_bitbake() { unset BBSERVER - bitbake --postread conf/toaster.conf --server-only -t xmlrpc -BQuoted 2 lines
0.0.0.0:0
+ bitbake --readconf/toaster.conf--server-only -t xmlrpc -B0.0.0.0:0
Quoted 11 lines
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
Signature · 3 lines
Elliot Smith Software Engineer Intel Open Source Technology Centre