initrdscripts: add sleep to avoid kernel messages before install message

As suggested by Darren Hart

[YOCTO #725]

(From OE-Core rev: ed76654c613d38095f085640acb6591b9739a60e)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Saul Wold 2011-12-06 18:10:53 -08:00 committed by Richard Purdie
parent bd21ef9416
commit b0de4b0415
1 changed files with 3 additions and 0 deletions

View File

@ -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