generic-poky/bitbake/bin
Jason Wessel a67fde0ab1 bitbake: bitbake.lock: Add host:port to bitbake.lock for memres server
The idea is to build on the --status-only option for bitbake and
expose a mechanism where the oe init scripts can easily switch between
memres server and the non-memres server.

In the case of the standard oe init script the following
can shut down the server:

if [ -z "$BBSERVER" ] && [ -f bitbake.lock ] ; then
    grep ":" bitbake.lock > /dev/null && BBSERVER=`cat bitbake.lock` bitbake --status-only
    if [ $? = 0 ] ; then
       echo "Shutting down bitbake memory resident server with bitbake -m"
       BBSERVER=`cat bitbake.lock` bitbake -m
    fi
fi

A similar function can be used to automatically detect if the server
is already running for the oe memres init script.  This new
functionality allows for the memres init script to be started in a new
shell and connect up to an alaready running server without seeing the
error of trying to start the server multiple times.

(Bitbake rev: b1803958de8d7c3c3279841e38604a08dc2316cc)

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-12-02 17:33:14 +00:00
..
bitbake bitbake: bitbake.lock: Add host:port to bitbake.lock for memres server 2013-12-02 17:33:14 +00:00
bitbake-diffsigs bitbake: bitbake-diffsigs: improve error handling 2013-10-07 09:37:35 +01:00
bitbake-dumpsig bitbake: bitbake-dumpsig: introduce command line and error handling 2013-10-07 09:37:35 +01:00
bitbake-layers bitbake: bitbake-layers: avoid loading configuration when not needed 2013-11-24 12:25:37 +00:00
bitbake-prserv bitbake/bitbake-prserv: Set file mode bits "x". 2012-03-02 16:22:27 +00:00
bitbake-selftest bitbake: Fixup bitbake-selftest 2012-05-04 17:41:47 +01:00
bitbake-worker bitbake: bitbake: Share BB_TASKDEPDATA with tasks 2013-11-26 23:01:33 +00:00
bitdoc bitbake: Update users of getVar/setVar to use the data store functions directly 2011-11-27 10:35:30 +00:00
image-writer bitbake: hig.py: refactor into individual components 2013-01-16 12:51:33 +00:00
toaster bitbake: toaster: enable required classes in the toaster startup script 2013-11-04 09:36:22 +00:00