summaryrefslogtreecommitdiffstats
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:24:28 +0000
commitb0de4b04153375d272359d1d31e509fcc507d3f1 (patch)
tree7167181e179a607c3ce3b10d5ba3137725ee15fd /meta/recipes-core/initrdscripts
parentbd21ef9416df551b796d5b20b527d1b98257ad20 (diff)
downloadpoky-b0de4b04153375d272359d1d31e509fcc507d3f1.tar.gz
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>
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 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'
23 found="yes" 23 found="yes"
24 24
25 while true; do 25 while true; do
26 # Try sleeping here to avoid getting kernel messages
27 # obscuring/confusing user
28 sleep 5
26 echo "Found drive at /dev/${device}. Do you want to install this image there ? [y/n]" 29 echo "Found drive at /dev/${device}. Do you want to install this image there ? [y/n]"
27 read answer 30 read answer
28 if [ "$answer" = "y" ] ; then 31 if [ "$answer" = "y" ] ; then