diff options
author | Corneliu Stoicescu <corneliux.stoicescu@intel.com> | 2014-07-03 20:57:10 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-07-04 08:43:53 +0100 |
commit | 962003f77258bd7d1e8b3fb034c6e256c7879c8d (patch) | |
tree | 5070f0694c71bcf81f986172b2f8612b049d0c47 /meta-yocto-bsp/lib | |
parent | dc3d298688c2265b023219c81124065c36eeb417 (diff) | |
download | openembedded-core-contrib-962003f77258bd7d1e8b3fb034c6e256c7879c8d.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.
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')
-rw-r--r-- | meta-yocto-bsp/lib/oeqa/controllers/grubtarget.py | 2 |
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): 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: |