Openembedded Core Discussions
 help / color / mirror / Atom feed
* Bitbake in server mode
@ 2013-08-21 14:26 Richard Purdie
  2013-08-21 15:56 ` [bitbake-devel] " Chris Larson
  0 siblings, 1 reply; 3+ messages in thread
From: Richard Purdie @ 2013-08-21 14:26 UTC (permalink / raw)
  To: bitbake-devel; +Cc: poky, openembedded-core

I've just realised that we have some new functionality that has sneaked
in but most people are unaware of. You can now run bitbake as a server
in the background and then just connect the knotty UI to it with
commands. The usage is:

bitbake --server-only -t xmlrpc -B localhost:1234

which starts a server on localhost port 1234 and then you can run
commands with:

BBSERVER=localhost:1234 bitbake <somecommand>

and 

BBSERVER=localhost:1234 bitbake -m

to shut it down.

Known issues:

a) Parsing is slower. Probably due to all the debug messages going over
the IPC/xmlrpc. UI event filtering should fix it.
b) Something is causing a cache reparse initially. Need to figure out
what. Maybe the BBSERVER variable itself?

This is still development so I'd not recommend everyone use this for
production just yet but it gives some nice insight into what the future
holds!

We should be able to make bitbake in this mode much more responsive to
commands since there is no cache overhead.

Cheers,

Richard



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

end of thread, other threads:[~2013-08-21 16:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-21 14:26 Bitbake in server mode Richard Purdie
2013-08-21 15:56 ` [bitbake-devel] " Chris Larson
2013-08-21 16:19   ` Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox