diff options
author | Corneliu Stoicescu <corneliux.stoicescu@intel.com> | 2014-07-03 16:04:57 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-07-03 17:41:15 +0100 |
commit | 5aec84dc659684f5712d1889ffa5033718ed8bc7 (patch) | |
tree | e23fb508f2b80621f1737c0c281c137f9a869066 | |
parent | 49b416dde520a24e96cfa38834b1412ec70424dd (diff) | |
download | poky-5aec84dc659684f5712d1889ffa5033718ed8bc7.tar.gz |
init-install-testfs.sh: add '--hotkey x' to 'test' menuentry
Add a hotkey for the GRUB 'test' menuentry. This can be used by expect scripts to boot into 'test' when doing runtime hardware tests.
(From OE-Core rev: 17b97fd6c724ba6e506cbadb18facdfd9c472e79)
Signed-off-by: Corneliu Stoicescu <corneliux.stoicescu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-core/initrdscripts/files/init-install-testfs.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/initrdscripts/files/init-install-testfs.sh b/meta/recipes-core/initrdscripts/files/init-install-testfs.sh index 618a53d436..ac62160528 100644 --- a/meta/recipes-core/initrdscripts/files/init-install-testfs.sh +++ b/meta/recipes-core/initrdscripts/files/init-install-testfs.sh | |||
@@ -189,7 +189,7 @@ menuentry "Linux" { | |||
189 | } | 189 | } |
190 | _EOF | 190 | _EOF |
191 | # Add the test label | 191 | # Add the test label |
192 | echo -ne "\nmenuentry 'test' {\nlinux /test-kernel root=$testfs rw $rootwait quiet\n}\n" >> $GRUBCFG | 192 | echo -ne "\nmenuentry 'test' --hotkey x {\nlinux /test-kernel root=$testfs rw $rootwait quiet\n}\n" >> $GRUBCFG |
193 | 193 | ||
194 | chmod 0444 $GRUBCFG | 194 | chmod 0444 $GRUBCFG |
195 | fi | 195 | fi |