aboutsummaryrefslogtreecommitdiffstats
path: root/packages/initscripts
diff options
context:
space:
mode:
authorMatthias Hentges <oe@hentges.net>2006-11-12 15:04:53 +0000
committerMatthias Hentges <oe@hentges.net>2006-11-12 15:04:53 +0000
commitdc9467d468da27147ab771ea336328b90c23ca86 (patch)
tree0a7e329295a9ff29802045678da459875550498b /packages/initscripts
parentacc1d6fe532d4a6114b1a19ec57612fcd96eb311 (diff)
downloadopenembedded-dc9467d468da27147ab771ea336328b90c23ca86.tar.gz
initscripts: checkroot.sh: chvt 1 if fsck returns with an errorcode and waits for user input. Fixes the "hanging" bootsplash on some distros
Diffstat (limited to 'packages/initscripts')
-rwxr-xr-xpackages/initscripts/initscripts-1.0/checkroot.sh6
-rw-r--r--packages/initscripts/initscripts_1.0.bb2
2 files changed, 7 insertions, 1 deletions
diff --git a/packages/initscripts/initscripts-1.0/checkroot.sh b/packages/initscripts/initscripts-1.0/checkroot.sh
index e84e000f53..df3035371b 100755
--- a/packages/initscripts/initscripts-1.0/checkroot.sh
+++ b/packages/initscripts/initscripts-1.0/checkroot.sh
@@ -150,6 +150,12 @@ else
#
if test "$?" -gt 1
then
+
+ # Since this script is run very early in the boot-process, it should be safe to assume that the
+ # output is printed to VT1. However, some distributions use a bootsplash to hide the "ugly" boot
+ # messages and having the bootsplash "hang" due to a waiting fsck prompt is less than ideal
+ chvt 1
+
# Surprise! Re-directing from a HERE document (as in
# "cat << EOF") won't work, because the root is read-only.
echo
diff --git a/packages/initscripts/initscripts_1.0.bb b/packages/initscripts/initscripts_1.0.bb
index 3c937856ae..73c02e5ec5 100644
--- a/packages/initscripts/initscripts_1.0.bb
+++ b/packages/initscripts/initscripts_1.0.bb
@@ -5,7 +5,7 @@ DEPENDS = "makedevs"
DEPENDS_openzaurus = "makedevs virtual/kernel"
RDEPENDS = "makedevs"
LICENSE = "GPL"
-PR = "r80"
+PR = "r81"
SRC_URI = "file://halt \
file://ramdisk \