From 2420779506844c8b8cf2f50d8f08b622dc6468f6 Mon Sep 17 00:00:00 2001 From: Toshi Umemura Date: Mon, 19 Dec 2016 17:31:24 +0900 Subject: Add exec to remove gst cache in weston.service When weston in IVI starts to send encoded display image to meter cluster, it also starts to use gstreamer to encode in CES2017 demo. If cache for gstreamer remains, weston sometimes failes to start. To avoid this, this patch adds ExecStartPre to remove the cache as a workaround. Change-Id: I0f3f90bbfbf9033452d27c1cc3ea358e0e2880f3 Signed-off-by: ynakamura --- meta-rcar-gen2/recipes-graphics/wayland/weston/weston.service | 1 + 1 file changed, 1 insertion(+) diff --git a/meta-rcar-gen2/recipes-graphics/wayland/weston/weston.service b/meta-rcar-gen2/recipes-graphics/wayland/weston/weston.service index 4e75b68..db0fd29 100644 --- a/meta-rcar-gen2/recipes-graphics/wayland/weston/weston.service +++ b/meta-rcar-gen2/recipes-graphics/wayland/weston/weston.service @@ -4,6 +4,7 @@ Conflicts=getty@tty1.service After=dbus.service rc.pvr.service [Service] +ExecStartPre=/bin/rm -rf /home/root/.cache/gstreamer-1.0 ExecStart=/usr/bin/weston-launch -u root -- --idle-time=4294967 --gst-record ExecStop=/usr/bin/killall -s KILL weston Type=simple -- cgit 1.2.3-korg