]> code.ossystems Code Review - openembedded-core.git/commit
oeqa/targetcontrol.py: fix qemuparams not work in runqemu with launch_cmd
authorHongxu Jia <hongxu.jia@windriver.com>
Mon, 13 May 2019 15:12:46 +0000 (11:12 -0400)
committerArmin Kuster <akuster808@gmail.com>
Sat, 18 May 2019 04:31:14 +0000 (21:31 -0700)
commit7d4450d373a297f246b8c3708fd7d2cafadd3ae9
treed099b4f934d9b04685993ce6771b45e5c7ef16fc
parentcf4d3230ac439118a2ad3c381bac38e11b3e14e8
oeqa/targetcontrol.py: fix qemuparams not work in runqemu with launch_cmd

As runqemu with launch_cmd means directly run the command, don't need set
rootfs or env vars.

Since commit [a847dd7202 runqemu: Let qemuparams override default settings]
applied in oe-core, if launch_cmd contains "qemuparams='***'", it does not
work, which is overridden by latter qemuparams="-serial tcp:127.0.0.1" in
QemuRunner.launch();

So we set qemuparams as a parameter in runqemu, the fix makes it work

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/lib/oeqa/targetcontrol.py