[oe-commits] [openembedded-core] 16/62: psplash: Initialize psplash only if a framebuffer exists

git at git.openembedded.org git at git.openembedded.org
Mon Sep 11 16:16:49 UTC 2017


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 4c55d7610bd658cafa05ba31cd4e823cadcb082f
Author: Mark Hatle <mark.hatle at windriver.com>
AuthorDate: Mon Sep 4 21:10:32 2017 -0500

    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"
    
    Signed-off-by: Aws Ismail <aws.ismail at windriver.com>
    Signed-off-by: Mark Hatle <mark.hatle at windriver.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/recipes-core/psplash/files/psplash-init | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/meta/recipes-core/psplash/files/psplash-init b/meta/recipes-core/psplash/files/psplash-init
index 66c85e9..0bce1de 100755
--- a/meta/recipes-core/psplash/files/psplash-init
+++ b/meta/recipes-core/psplash/files/psplash-init
@@ -7,6 +7,12 @@
 # Default-Stop:
 ### END INIT INFO
 
+if [ ! -e /dev/fb0 ]; then
+    echo "Framebuffer /dev/fb0 not detected"
+    echo "Boot splashscreen disabled"
+    exit 0;
+fi
+
 read CMDLINE < /proc/cmdline
 for x in $CMDLINE; do
         case $x in

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list