summaryrefslogtreecommitdiffstats
path: root/meta-yocto-bsp/lib/oeqa
diff options
context:
space:
mode:
authorCorneliu Stoicescu <corneliux.stoicescu@intel.com>2014-07-03 20:57:10 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-07-04 08:46:01 +0100
commit868a2340757127c17420813e7f373a09cc61b5d1 (patch)
tree2219cd0b4d1f926cd7f350a765a1d442b4eb5c65 /meta-yocto-bsp/lib/oeqa
parent581a06afb5b59e1821eabb209a61612b0cdc137d (diff)
downloadpoky-868a2340757127c17420813e7f373a09cc61b5d1.tar.gz
grubtarget.py: Change 'test' GRUB entry selection method
Using character combinations for <arrow down> to select the test image will not always work. Using the '--hotkey x' option added to the 'test' GRUB menuentry to select the 'test' GRUB entry. (From meta-yocto rev: 962003f77258bd7d1e8b3fb034c6e256c7879c8d) Signed-off-by: Corneliu Stoicescu <corneliux.stoicescu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-yocto-bsp/lib/oeqa')
-rw-r--r--meta-yocto-bsp/lib/oeqa/controllers/grubtarget.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-yocto-bsp/lib/oeqa/controllers/grubtarget.py b/meta-yocto-bsp/lib/oeqa/controllers/grubtarget.py
index 02ada65da6..7bc807d2bc 100644
--- a/meta-yocto-bsp/lib/oeqa/controllers/grubtarget.py
+++ b/meta-yocto-bsp/lib/oeqa/controllers/grubtarget.py
@@ -55,7 +55,7 @@ class GrubTarget(MasterImageHardwareTarget):
55 serialconn = pexpect.spawn(self.serialcontrol_cmd, env=self.origenv, logfile=sys.stdout) 55 serialconn = pexpect.spawn(self.serialcontrol_cmd, env=self.origenv, logfile=sys.stdout)
56 serialconn.expect("GNU GRUB version 2.00") 56 serialconn.expect("GNU GRUB version 2.00")
57 serialconn.expect("Linux") 57 serialconn.expect("Linux")
58 serialconn.sendline("OB\r") 58 serialconn.sendline("x")
59 serialconn.expect("login:", timeout=120) 59 serialconn.expect("login:", timeout=120)
60 serialconn.close() 60 serialconn.close()
61 except pexpect.ExceptionPexpect as e: 61 except pexpect.ExceptionPexpect as e: