diff options
author | Dongxiao Xu <dongxiao.xu@intel.com> | 2012-02-23 21:47:17 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-02-23 22:52:16 +0000 |
commit | 19089aca83ce00a05dee60b2f40bad87c398fe39 (patch) | |
tree | aa27a1b964ca89fa8669bbd17117f346e79cbef2 /bitbake/lib | |
parent | b70bcb353d576887e6b6c15e636d9102fe9b6799 (diff) | |
download | ast2050-yocto-poky-19089aca83ce00a05dee60b2f40bad87c398fe39.zip ast2050-yocto-poky-19089aca83ce00a05dee60b2f40bad87c398fe39.tar.gz |
bitbake: add -B option to bind with interface
When start bitbake as a server only process, we need to assign certain
interface to it.
(Bitbake rev: 95b97d2dc6466ea3d99371f5b5bd68f6f3c99074)
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib')
-rw-r--r-- | bitbake/lib/bb/server/xmlrpc.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bitbake/lib/bb/server/xmlrpc.py b/bitbake/lib/bb/server/xmlrpc.py index b5980c6..c53cee4 100644 --- a/bitbake/lib/bb/server/xmlrpc.py +++ b/bitbake/lib/bb/server/xmlrpc.py @@ -163,7 +163,7 @@ class BitBakeXMLRPCServer(SimpleXMLRPCServer): # remove this when you're done with debugging # allow_reuse_address = True - def __init__(self, interface = ("localhost", 0)): + def __init__(self, interface): """ Constructor """ @@ -267,8 +267,8 @@ class BitBakeServerConnection(): pass class BitBakeServer(object): - def initServer(self): - self.server = BitBakeXMLRPCServer() + def initServer(self, interface = ("localhost", 0)): + self.server = BitBakeXMLRPCServer(interface) def addcooker(self, cooker): self.cooker = cooker |