From: Tadao Tanikawa Date: Fri, 11 Dec 2015 08:05:20 +0000 (+0900) Subject: Disable blinking cursor when booting with fb console X-Git-Tag: albacore_1.0~3 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=AGL%2Fmeta-agl.git;a=commitdiff_plain;h=89801f3fd21e4d9a923c2cc831e4372d7f3d98d3 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 --- 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]