summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorCorneliu Stoicescu <corneliux.stoicescu@intel.com>2014-07-03 16:04:57 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-07-03 17:41:15 +0100
commit5aec84dc659684f5712d1889ffa5033718ed8bc7 (patch)
treee23fb508f2b80621f1737c0c281c137f9a869066 /meta
parent49b416dde520a24e96cfa38834b1412ec70424dd (diff)
downloadpoky-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>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-core/initrdscripts/files/init-install-testfs.sh2
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
195fi 195fi