]> code.ossystems Code Review - openembedded-core.git/commit
oeqa/runtime/apt dnf opkg: support running from within docker container
authorAndré Draszik <git@andred.net>
Thu, 12 Dec 2019 21:52:12 +0000 (21:52 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 16 Dec 2019 23:22:03 +0000 (23:22 +0000)
commitda529e6522959c2024023e90de52b5e42f160596
tree546ad5c6e8dedf652f9679487dd7c4bf2d180c2e
parentca58559fc30842c123907fb5cc68b3356c530862
oeqa/runtime/apt dnf opkg: support running from within docker container

If the user specified an http port to use for serving
files, use that instead of a random one. At the same
time, have the http server bind to all interfaces.

Binding to the server_ip might not always be possible,
e.g. in the case of running bitbake / oeqa from within
a docker container. In this case, the ip address is valid
outside the container, but not inside, and hence can't
be bound to. So switch to simply binding to all interfaces.

Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/runtime/cases/apt.py
meta/lib/oeqa/runtime/cases/dnf.py
meta/lib/oeqa/runtime/cases/opkg.py