All of lore.kernel.org
 help / color / mirror / Atom feed
* [review-request][PATCH] toaster: run bitbake server with --read option
@ 2016-01-20 10:24 Ed Bartosh
  2016-01-20 13:56 ` Barros Pena, Belen
  0 siblings, 1 reply; 3+ messages in thread
From: Ed Bartosh @ 2016-01-20 10:24 UTC (permalink / raw)
  To: toaster

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 <ed.bartosh@linux.intel.com>
---
 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



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [review-request][PATCH] toaster: run bitbake server with --read option
  2016-01-20 10:24 [review-request][PATCH] toaster: run bitbake server with --read option Ed Bartosh
@ 2016-01-20 13:56 ` Barros Pena, Belen
  2016-01-22 12:19   ` Smith, Elliot
  0 siblings, 1 reply; 3+ messages in thread
From: Barros Pena, Belen @ 2016-01-20 13:56 UTC (permalink / raw)
  To: Ed Bartosh, toaster



On 20/01/2016 11:24, "toaster-bounces@yoctoproject.org on behalf of Ed
Bartosh" <toaster-bounces@yoctoproject.org on behalf of
ed.bartosh@linux.intel.com> 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 <ed.bartosh@linux.intel.com>
>---
> 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
>toaster@yoctoproject.org
>https://lists.yoctoproject.org/listinfo/toaster



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [review-request][PATCH] toaster: run bitbake server with --read option
  2016-01-20 13:56 ` Barros Pena, Belen
@ 2016-01-22 12:19   ` Smith, Elliot
  0 siblings, 0 replies; 3+ messages in thread
From: Smith, Elliot @ 2016-01-22 12:19 UTC (permalink / raw)
  To: Barros Pena, Belen; +Cc: toaster

[-- Attachment #1: Type: text/plain, Size: 1694 bytes --]

On 20 January 2016 at 13:56, Barros Pena, Belen <belen.barros.pena@intel.com
> 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


>
> 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 <ed.bartosh@linux.intel.com>
> >---
> > 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
> >toaster@yoctoproject.org
> >https://lists.yoctoproject.org/listinfo/toaster
>
> --
> _______________________________________________
> toaster mailing list
> toaster@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/toaster
>



-- 
Elliot Smith
Software Engineer
Intel Open Source Technology Centre

[-- Attachment #2: Type: text/html, Size: 3044 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-01-22 12:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-20 10:24 [review-request][PATCH] toaster: run bitbake server with --read option Ed Bartosh
2016-01-20 13:56 ` Barros Pena, Belen
2016-01-22 12:19   ` Smith, Elliot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.