Disable blinking cursor when booting with fb console 57/4457/3
authorTadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
Fri, 11 Dec 2015 08:05:20 +0000 (17:05 +0900)
committerGerrit Code Review <gerrit@172.30.200.200>
Fri, 11 Dec 2015 17:23:15 +0000 (17:23 +0000)
When running on QEMU or VM, blinking cursor of console corrupt
screen. To fix this, it is stopped just before psplash launched.

Change-Id: I6e3cc49a6b65f3c70c246f315314710bd090ce13
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
meta-agl/recipes-core/psplash/files/psplash-start.service

index 7881e73..7bad959 100644 (file)
@@ -5,6 +5,7 @@ After=systemd-vconsole-setup.service systemd-udev-trigger.service systemd-udevd.
 DefaultDependencies=no
 
 [Service]
+ExecStartPre=/bin/sh -c "if [ -e /sys/class/graphics/fbcon/cursor_blink ]; then echo 0 > /sys/class/graphics/fbcon/cursor_blink; fi"
 ExecStart=/usr/bin/psplash -n
 
 [Install]