[oe-commits] Saul Wold : initrdscripts: add sleep to avoid kernel messages before install message
git at git.openembedded.org
git at git.openembedded.org
Thu Dec 8 15:28:13 UTC 2011
Module: openembedded-core.git
Branch: master
Commit: ed76654c613d38095f085640acb6591b9739a60e
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=ed76654c613d38095f085640acb6591b9739a60e
Author: Saul Wold <sgw at linux.intel.com>
Date: Tue Dec 6 18:10:53 2011 -0800
initrdscripts: add sleep to avoid kernel messages before install message
As suggested by Darren Hart
[YOCTO #725]
Signed-off-by: Saul Wold <sgw at linux.intel.com>
---
.../initrdscripts/files/init-install.sh | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/meta/recipes-core/initrdscripts/files/init-install.sh b/meta/recipes-core/initrdscripts/files/init-install.sh
index d31d994..90978dd 100644
--- a/meta/recipes-core/initrdscripts/files/init-install.sh
+++ b/meta/recipes-core/initrdscripts/files/init-install.sh
@@ -23,6 +23,9 @@ for device in 'hda' 'hdb' 'sda' 'sdb'
found="yes"
while true; do
+ # Try sleeping here to avoid getting kernel messages
+ # obscuring/confusing user
+ sleep 5
echo "Found drive at /dev/${device}. Do you want to install this image there ? [y/n]"
read answer
if [ "$answer" = "y" ] ; then
More information about the Openembedded-commits
mailing list