All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] grubtarget.py: Change 'test' GRUB entry selection method
@ 2014-07-03 17:57 Corneliu Stoicescu
  0 siblings, 0 replies; only message in thread
From: Corneliu Stoicescu @ 2014-07-03 17:57 UTC (permalink / raw)
  To: yocto

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.

Signed-off-by: Corneliu Stoicescu <corneliux.stoicescu@intel.com>
---
 meta-yocto-bsp/lib/oeqa/controllers/grubtarget.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-yocto-bsp/lib/oeqa/controllers/grubtarget.py b/meta-yocto-bsp/lib/oeqa/controllers/grubtarget.py
index 02ada65..7bc807d 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):
             serialconn = pexpect.spawn(self.serialcontrol_cmd, env=self.origenv, logfile=sys.stdout)
             serialconn.expect("GNU GRUB  version 2.00")
             serialconn.expect("Linux")
-            serialconn.sendline("^[OB\r")
+            serialconn.sendline("x")
             serialconn.expect("login:", timeout=120)
             serialconn.close()
         except pexpect.ExceptionPexpect as e:
-- 
1.8.3.2



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2014-07-03 15:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-03 17:57 [PATCH] grubtarget.py: Change 'test' GRUB entry selection method Corneliu Stoicescu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.