From ed76654c613d38095f085640acb6591b9739a60e Mon Sep 17 00:00:00 2001 From: Saul Wold Date: Tue, 6 Dec 2011 18:10:53 -0800 Subject: initrdscripts: add sleep to avoid kernel messages before install message As suggested by Darren Hart [YOCTO #725] Signed-off-by: Saul Wold --- meta/recipes-core/initrdscripts/files/init-install.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'meta/recipes-core/initrdscripts') diff --git a/meta/recipes-core/initrdscripts/files/init-install.sh b/meta/recipes-core/initrdscripts/files/init-install.sh index d31d994341..90978dd36a 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 -- cgit 1.2.3-korg