]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
bitbake: main: Check bitbake server-only port is a number
authorBenjamin Esquivel <benjamin.esquivel@linux.intel.com>
Fri, 7 Oct 2016 21:46:26 +0000 (16:46 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 9 Oct 2016 11:33:26 +0000 (12:33 +0100)
commitb9d6a7cc234f44e44e5421191924b7463e9c0a9d
tree30d346650b78b584e5fdf17dfd6de2f978b2817a
parent77e56194dc8a81509b1977e1f329f91ce128a9c0
bitbake: main: Check bitbake server-only port is a number

Either using the memres script or the bitbake call with --server-only
if the port is a string instead of a number then the process hangs
indefinitely causing a loop that never ends.

Add a check at the beginning for the port being a number otherwise
show an error message and exit cleanly.

[YOCTO #10397]

(Bitbake rev: 35927a98daeeb854ef5782e900206af6cd96b3d7)

Signed-off-by: Benjamin Esquivel <benjamin.esquivel@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/main.py