aboutsummaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/targetcontrol.py
diff options
context:
space:
mode:
authorAníbal Limón <anibal.limon@linux.intel.com>2016-07-12 16:29:49 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-07-20 10:24:52 +0100
commit09d62551c289b5607341a4f9c46eecd6390ad774 (patch)
treea3cb561609064638452347b026b0a59df75cfd90 /meta/lib/oeqa/targetcontrol.py
parente940dfcb5ad4017e5fe616c583253439603656db (diff)
downloadopenembedded-core-contrib-09d62551c289b5607341a4f9c46eecd6390ad774.tar.gz
openembedded-core-contrib-09d62551c289b5607341a4f9c46eecd6390ad774.tar.bz2
openembedded-core-contrib-09d62551c289b5607341a4f9c46eecd6390ad774.zip
utils/qemurunner.py: QemuRunner.start() add support for specify extra kernel cmdline
Add ability to specify extra_bootargs (kernel cmdline) in order to enable systemd debug log in images that enables systemd init. [YOCTO #9299] Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/lib/oeqa/targetcontrol.py')
-rw-r--r--meta/lib/oeqa/targetcontrol.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oeqa/targetcontrol.py b/meta/lib/oeqa/targetcontrol.py
index 1c57efaaef..d3b49b770a 100644
--- a/meta/lib/oeqa/targetcontrol.py
+++ b/meta/lib/oeqa/targetcontrol.py
@@ -174,8 +174,8 @@ class QemuTarget(BaseTarget):
bb.note("Qemu log file: %s" % self.qemulog)
super(QemuTarget, self).deploy()
- def start(self, params=None, ssh=True):
- if self.runner.start(params, get_ip=ssh):
+ def start(self, params=None, ssh=True, extra_bootparams=None):
+ if self.runner.start(params, get_ip=ssh, extra_bootparams=extra_bootparams):
if ssh:
self.ip = self.runner.ip
self.server_ip = self.runner.server_ip