From patchwork Thu Dec 8 08:44:13 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [CONSOLIDATED, PULL, 13/17] initrdscripts: add sleep to avoid kernel messages before install message Date: Thu, 08 Dec 2011 08:44:13 -0000 From: Saul Wold X-Patchwork-Id: 16493 Message-Id: <77e8f1591862f70572d9835fffe51923adc63656.1323333676.git.sgw@linux.intel.com> To: openembedded-core@openembedded.org As suggested by Darren Hart [YOCTO #725] Signed-off-by: Saul Wold --- .../initrdscripts/files/init-install.sh | 3 +++ 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 d31d994..90978dd 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