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:
parent
bd21ef9416
commit
b0de4b0415
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue