summaryrefslogtreecommitdiff
path: root/meta/recipes-core/initrdscripts
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2011-12-06 18:10:53 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-12-08 15:14:05 +0000
commited76654c613d38095f085640acb6591b9739a60e (patch)
tree4e691ef11375575a6ca05f8508356d5b22aea8c2 /meta/recipes-core/initrdscripts
parent5f1b7ef11cf08e9a21040f16c908ada22230837b (diff)
downloadopenembedded-core-ed76654c613d38095f085640acb6591b9739a60e.tar.gz
openembedded-core-ed76654c613d38095f085640acb6591b9739a60e.tar.bz2
openembedded-core-ed76654c613d38095f085640acb6591b9739a60e.tar.xz
openembedded-core-ed76654c613d38095f085640acb6591b9739a60e.zip
initrdscripts: add sleep to avoid kernel messages before install message
As suggested by Darren Hart [YOCTO #725] Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-core/initrdscripts')
-rw-r--r--meta/recipes-core/initrdscripts/files/init-install.sh3
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 d31d99434..90978dd36 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