[bitbake-devel] [PATCH 3/4] bitbake: fixes in executable

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Wed Jun 5 20:51:59 UTC 2013


On 31 May 2013 13:06, Alex DAMIAN <alexandru.damian at intel.com> wrote:
> From: Alexandru DAMIAN <alexandru.damian at intel.com>
>
> Two fixes in bitbake related to running remote servers -
> * can now specify correctly the bind port
> * the information in print conforms to common server infrastructure
>
> Signed-off-by: Alexandru DAMIAN <alexandru.damian at intel.com>
> ---
>  bin/bitbake | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/bin/bitbake b/bin/bitbake
> index f3bbeb4..d263cbd 100755
> --- a/bin/bitbake
> +++ b/bin/bitbake
> @@ -204,7 +204,8 @@ class BitBakeConfigParameters(cookerdata.ConfigParameters):
>  def start_server(servermodule, configParams, configuration):
>      server = servermodule.BitBakeServer()
>      if configParams.bind:
> -        server.initServer((configParams.bind, 0))
> +        (host, port) = configParams.bind.split(':')

[::]:1025

I.e. Does that work nicely on my v6-only box or did you mean .rsplit(':',2) ?
thanks,
> +        server.initServer((host, int(port)))
>      else:
>          server.initServer()
>
> @@ -313,7 +314,7 @@ def main():
>              bb.event.ui_queue = []
>              server_connection.terminate()
>      else:
> -        print("server address: %s, server port: %s" % (server.serverinfo.host, server.serverinfo.port))
> +        print("server address: %s, server port: %s" % (server.serverImpl.host, server.serverImpl.port))
>
>      return 1
>



More information about the bitbake-devel mailing list