summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTadao Tanikawa <tanikawa.tadao@jp.panasonic.com>2015-12-11 17:05:20 +0900
committerGerrit Code Review <gerrit@172.30.200.200>2015-12-11 17:23:15 +0000
commit89801f3fd21e4d9a923c2cc831e4372d7f3d98d3 (patch)
tree759a2c6cd62c432c4f3076205fe5a9ee57f2dfcc
parent0415e996bffb024973aba8a4a234323abe8323b0 (diff)
Disable blinking cursor when booting with fb console
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>
-rw-r--r--meta-agl/recipes-core/psplash/files/psplash-start.service1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-agl/recipes-core/psplash/files/psplash-start.service b/meta-agl/recipes-core/psplash/files/psplash-start.service
index 7881e73cc..7bad9593e 100644
--- a/meta-agl/recipes-core/psplash/files/psplash-start.service
+++ b/meta-agl/recipes-core/psplash/files/psplash-start.service
@@ -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]