summaryrefslogtreecommitdiff
path: root/meta/recipes-core/initrdscripts
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:38:45 +0100
commit17b97fd6c724ba6e506cbadb18facdfd9c472e79 (patch)
tree77ea968e96b99c7d680221cc19a4505a80cacc16 /meta/recipes-core/initrdscripts
parentb019f2cdacfb64f149483df8a5b6b7b3f7943222 (diff)
downloadopenembedded-core-17b97fd6c724ba6e506cbadb18facdfd9c472e79.tar.gz
openembedded-core-17b97fd6c724ba6e506cbadb18facdfd9c472e79.tar.bz2
openembedded-core-17b97fd6c724ba6e506cbadb18facdfd9c472e79.zip
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. Signed-off-by: Corneliu Stoicescu <corneliux.stoicescu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/initrdscripts')
-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" {
}
_EOF
# Add the test label
- echo -ne "\nmenuentry 'test' {\nlinux /test-kernel root=$testfs rw $rootwait quiet\n}\n" >> $GRUBCFG
+ echo -ne "\nmenuentry 'test' --hotkey x {\nlinux /test-kernel root=$testfs rw $rootwait quiet\n}\n" >> $GRUBCFG
chmod 0444 $GRUBCFG
fi