aboutsummaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen2/recipes-graphics/wayland
diff options
context:
space:
mode:
authorToshi Umemura <toshihiro.umemura@itage.co.jp>2016-12-19 17:31:24 +0900
committerYusuke Nakamura <ynakamura@jp.adit-jv.com>2016-12-23 07:00:00 +0000
commit2420779506844c8b8cf2f50d8f08b622dc6468f6 (patch)
treee4b5512833df0ea1e696599d3c9f0a1fdf123465 /meta-rcar-gen2/recipes-graphics/wayland
parentbfdf1a0cfd9c8afbdf472345269037fb75f5c432 (diff)
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 <ynakamura@jp.adit-jv.com>
Diffstat (limited to 'meta-rcar-gen2/recipes-graphics/wayland')
-rw-r--r--meta-rcar-gen2/recipes-graphics/wayland/weston/weston.service1
1 files changed, 1 insertions, 0 deletions
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