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:45:12 +0000 |
commit | 95b97d2dc6466ea3d99371f5b5bd68f6f3c99074 (patch) | |
tree | 8a9a51b34bf49a1bfb8073896549c688d57e1b9c /lib/bb/server/xmlrpc.py | |
parent | 9020c2d4476766f63ff7e024bbd99043d06feefc (diff) | |
download | bitbake-contrib-95b97d2dc6466ea3d99371f5b5bd68f6f3c99074.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.
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/server/xmlrpc.py')
-rw-r--r-- | lib/bb/server/xmlrpc.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/bb/server/xmlrpc.py b/lib/bb/server/xmlrpc.py index b5980c608..c53cee488 100644 --- a/lib/bb/server/xmlrpc.py +++ b/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 |