[oe-commits] Corneliu Stoicescu : init-install-testfs.sh: add '--hotkey x' to 'test' menuentry
git at git.openembedded.org
git at git.openembedded.org
Thu Jul 3 16:47:23 UTC 2014
Module: openembedded-core.git
Branch: master-next
Commit: 17b97fd6c724ba6e506cbadb18facdfd9c472e79
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=17b97fd6c724ba6e506cbadb18facdfd9c472e79
Author: Corneliu Stoicescu <corneliux.stoicescu at intel.com>
Date: Thu Jul 3 16:04:57 2014 +0300
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 at intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/recipes-core/initrdscripts/files/init-install-testfs.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-core/initrdscripts/files/init-install-testfs.sh b/meta/recipes-core/initrdscripts/files/init-install-testfs.sh
index 618a53d..ac62160 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
More information about the Openembedded-commits
mailing list