[bitbake-devel] Lianhao Lu : bitbake: Automatically start local PR service.

git at git.openembedded.org git at git.openembedded.org
Wed Jan 11 10:44:38 UTC 2012


Module: bitbake.git
Branch: master
Commit: 9d8f45407c67ed0d3c4f820cf646de3c385067c7
URL:    http://git.openembedded.org/?p=bitbake.git&a=commit;h=9d8f45407c67ed0d3c4f820cf646de3c385067c7

Author: Lianhao Lu <lianhao.lu at intel.com>
Date:   Tue Jan 10 14:13:50 2012 +0800

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 at intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 bin/bitbake-prserv |    9 ++--
 lib/bb/cooker.py   |    3 +
 lib/prserv/db.py   |   12 +++--
 lib/prserv/serv.py |  144 +++++++++++++++++++++++++++++++++++++++-------------
 4 files changed, 123 insertions(+), 45 deletions(-)

Diff:   http://git.openembedded.org/?p=bitbake.git/?a=commitdiff;h=9d8f45407c67ed0d3c4f820cf646de3c385067c7




More information about the bitbake-devel mailing list