mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
prservice: Added sanity check for prservice connection.
Fixed bug [YOCTO #2052]. Added sanity check for variables of PRSERV_HOST and PRSERV_PORT, also for the connection availabity of prservice. (From OE-Core rev: 7588a4f2e2728da0ff7a773b18527f3711b138f2) Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
10d6c4e056
commit
e189a7113c
@@ -12,6 +12,9 @@ python primport_handler () {
|
||||
|
||||
for (version, pkgarch, checksum, value) in imported:
|
||||
bb.note("imported (%s,%s,%s,%d)" % (version, pkgarch, checksum, value))
|
||||
elif isinstance(e, bb.event.ParseStarted):
|
||||
import oe.prservice
|
||||
oe.prservice.prserv_check_avail(e.data)
|
||||
}
|
||||
|
||||
addhandler primport_handler
|
||||
|
||||
Reference in New Issue
Block a user