summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@windriver.com>2017-09-04 21:10:32 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-09-11 17:30:28 +0100
commit499d10952932cbcde28b307f31d9a92c93879d4c (patch)
treed093a80a4fadce3d3b8a3592c2fd4b419f910f07 /meta/recipes-core
parent7b53ae2c73d33f1f540b8092fc06dca2b6604830 (diff)
downloadpoky-499d10952932cbcde28b307f31d9a92c93879d4c.tar.gz
psplash: Initialize psplash only if a framebuffer exists
psplash-init exits if there is no framebuffer device detected. This is done to avoid the following error message from occurring when booting up: "Error opening /dev/fb0: No such file or directory" (From OE-Core rev: 2348dda6b8a86352e72ef41b24df3a19e8bc98ce) Signed-off-by: Aws Ismail <aws.ismail@windriver.com> Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rwxr-xr-xmeta/recipes-core/psplash/files/psplash-init6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-core/psplash/files/psplash-init b/meta/recipes-core/psplash/files/psplash-init
index 66c85e9335..0bce1de536 100755
--- a/meta/recipes-core/psplash/files/psplash-init
+++ b/meta/recipes-core/psplash/files/psplash-init
@@ -7,6 +7,12 @@
7# Default-Stop: 7# Default-Stop:
8### END INIT INFO 8### END INIT INFO
9 9
10if [ ! -e /dev/fb0 ]; then
11 echo "Framebuffer /dev/fb0 not detected"
12 echo "Boot splashscreen disabled"
13 exit 0;
14fi
15
10read CMDLINE < /proc/cmdline 16read CMDLINE < /proc/cmdline
11for x in $CMDLINE; do 17for x in $CMDLINE; do
12 case $x in 18 case $x in