]> code.ossystems Code Review - openembedded-core.git/commit
Add memory resident bitbake script
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 23 Aug 2013 16:28:49 +0000 (17:28 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 26 Aug 2013 10:23:43 +0000 (11:23 +0100)
commit52c7f8bba86a43b89f24a23d545c99d75b67555f
tree3df1b364caca5e2ff858b53f3172cd57562ad939
parent9b05c65450526522d7358d0c0901b594de546748
Add memory resident bitbake script

This adds an init script which instead of the standard bitbake, launches
a memory resident bitbake, defaulting to port 12345. It expects a port
number to use as the first option.

Right now this is experimental but I think its probably worth wrapping
up in a form people can more easily experiment with it. There are some
known issues:

a) It throws some debug output due to the lack of a UI which we need
   to clean up
b) It should probably be able to auto select a free port
c) You get a nice backtrace if you specify a build directory but
   not a port number

I'd also highlight there are security issues here if you don't trust
users who can connect into localhost. We might need to look at named
pipes or something similar for something limited to the current user.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
oe-init-build-env-memres [new file with mode: 0755]