diff options
| author | Aníbal Limón <anibal.limon@linux.intel.com> | 2016-08-08 15:41:28 -0500 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-08-10 10:46:34 +0100 |
| commit | 3ac3f3f30931881d1122e845d311921df07f2c51 (patch) | |
| tree | 812e6ec1373526b6798184c0818aa97af848014c /meta/lib/oeqa/targetcontrol.py | |
| parent | 4a4a24fccc4a4bdfb1d57f1a9f74866564fa8585 (diff) | |
| download | poky-3ac3f3f30931881d1122e845d311921df07f2c51.tar.gz | |
oeqa: start() add remaining args SimpleRemoteTarget and QemuTinyRunner
Now Runner's support extra_bootargs for the kernel so add
extra_bootparams to the start() methods to avoid exception.
(From OE-Core rev: 4c28c03a2322fbcb9a5c268b08eaeb71d940ee04)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/targetcontrol.py')
| -rw-r--r-- | meta/lib/oeqa/targetcontrol.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oeqa/targetcontrol.py b/meta/lib/oeqa/targetcontrol.py index d3b49b770a..768c463076 100644 --- a/meta/lib/oeqa/targetcontrol.py +++ b/meta/lib/oeqa/targetcontrol.py | |||
| @@ -66,7 +66,7 @@ class BaseTarget(object, metaclass=ABCMeta): | |||
| 66 | bb.note("SSH log file: %s" % self.sshlog) | 66 | bb.note("SSH log file: %s" % self.sshlog) |
| 67 | 67 | ||
| 68 | @abstractmethod | 68 | @abstractmethod |
| 69 | def start(self, params=None, ssh=True): | 69 | def start(self, params=None, ssh=True, extra_bootparams=None): |
| 70 | pass | 70 | pass |
| 71 | 71 | ||
| 72 | @abstractmethod | 72 | @abstractmethod |
| @@ -230,7 +230,7 @@ class SimpleRemoteTarget(BaseTarget): | |||
| 230 | def deploy(self): | 230 | def deploy(self): |
| 231 | super(SimpleRemoteTarget, self).deploy() | 231 | super(SimpleRemoteTarget, self).deploy() |
| 232 | 232 | ||
| 233 | def start(self, params=None, ssh=True): | 233 | def start(self, params=None, ssh=True, extra_bootparams=None): |
| 234 | if ssh: | 234 | if ssh: |
| 235 | self.connection = SSHControl(self.ip, logfile=self.sshlog, port=self.port) | 235 | self.connection = SSHControl(self.ip, logfile=self.sshlog, port=self.port) |
| 236 | 236 | ||
