mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 12:59:02 +02:00
oeqa dnf_runtime.py: fix HTTP server IP address and port
Use correct HTTPService parameters like apt.py when setting up the repo server. These work with qemu tun and slirp networking. Fixes test failure with slirp networking when executing testimage.bbclass selftests "oe-selftest -r runtime_test.TestImage". (From OE-Core rev: 68f0100b779bac1788818320f8aa64d79e3db3c2) Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org> (cherry picked from commit 764424df2f4b6bf0e89fb20b4253a7601468f70d) Signed-off-by: Steve Sakoman <steve@sakoman.com>
This commit is contained in:
parent
5aaae18b89
commit
639474140a
|
@ -10,7 +10,8 @@ class DnfSelftest(DnfTest):
|
|||
import tempfile
|
||||
cls.temp_dir = tempfile.TemporaryDirectory(prefix="oeqa-remotefeeds-")
|
||||
cls.repo_server = HTTPService(os.path.join(cls.tc.td['WORKDIR'], 'oe-rootfs-repo'),
|
||||
cls.tc.target.server_ip)
|
||||
'0.0.0.0', port=cls.tc.target.server_port,
|
||||
logger=cls.tc.logger)
|
||||
cls.repo_server.start()
|
||||
|
||||
@classmethod
|
||||
|
|
Loading…
Reference in New Issue
Block a user