summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRonan Le Martret <ronan.lemartret@iot.bzh>2017-02-27 16:52:44 +0100
committerRonan Le Martret <ronan.lemartret@iot.bzh>2017-05-03 11:10:04 +0200
commit287972755dd85119c2370bed330926547ffc1498 (patch)
treeb540788f0e603e1c67a624c45befe9b358bd7a53
parent3eab38b3dfc78c6328686226a6a96bdec45bf80a (diff)
[COMMUNITY] Fix rc.pvr systemd service
* rc.pvr.service should depend on weston.service not the opposite Change-Id: Ib0516772da08a77504ae4fe98ea3c27aa9b6048a Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
-rw-r--r--meta-rcar-gen3/recipes-graphics/gles-module/gles-user-module/rc.pvr.service2
-rw-r--r--meta-rcar-gen3/recipes-graphics/wayland/weston-init/weston.service2
2 files changed, 3 insertions, 1 deletions
diff --git a/meta-rcar-gen3/recipes-graphics/gles-module/gles-user-module/rc.pvr.service b/meta-rcar-gen3/recipes-graphics/gles-module/gles-user-module/rc.pvr.service
index f940776..da7fc30 100644
--- a/meta-rcar-gen3/recipes-graphics/gles-module/gles-user-module/rc.pvr.service
+++ b/meta-rcar-gen3/recipes-graphics/gles-module/gles-user-module/rc.pvr.service
@@ -1,5 +1,6 @@
[Unit]
Description=PowerVR consumer services
+Before=weston.service
[Service]
ExecStart=/usr/bin/pvrinit start
@@ -9,3 +10,4 @@ RemainAfterExit=yes
[Install]
WantedBy=multi-user.target
+RequiredBy=weston.service
diff --git a/meta-rcar-gen3/recipes-graphics/wayland/weston-init/weston.service b/meta-rcar-gen3/recipes-graphics/wayland/weston-init/weston.service
index 295ffd7..37b1816 100644
--- a/meta-rcar-gen3/recipes-graphics/wayland/weston-init/weston.service
+++ b/meta-rcar-gen3/recipes-graphics/wayland/weston-init/weston.service
@@ -1,6 +1,6 @@
[Unit]
Description=Weston Wayland compositor
-After=dbus.service rc.pvr.service
+After=dbus.service
[Service]
ExecStart=/usr/bin/weston-launch -u root -- $OPTARGS