bitbake: Automatically start local PR service.
authorLianhao Lu <lianhao.lu@intel.com>
Tue, 10 Jan 2012 06:13:50 +0000 (14:13 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 11 Jan 2012 10:36:04 +0000 (10:36 +0000)
commit9d8f45407c67ed0d3c4f820cf646de3c385067c7
tree2ff4abe078c5613e35ad372f9fa944ecb5237135
parent379567ee879dcdc09a51f7f1212bde1076147a6f
bitbake: Automatically start local PR service.

[YOCTO #1126]
A local PR service will be started and stopped automatically along
with the bitbake invocation/ternimation.

This local PR service will be started only and if only when the
PRSERV_HOST is set to 'localhost' and PRSERV_PORT is set to '0'.

When started, the sqlite3 database is stored at
"${PERSISTEN_DIR}/prserv.sqlite3" or "${CACHE}/prserv.sqlite3".

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bin/bitbake-prserv
lib/bb/cooker.py
lib/prserv/db.py
lib/prserv/serv.py