aboutsummaryrefslogtreecommitdiffstats
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-04-11 10:42:02 +0200
commit8bedb294067d7c3a47a21f8d381b80127ca79ff6 (patch)
tree0e0ffdfda7130b52ef484be566d6d27d7c8161ef
parent0d90dc56f4f1b489570d98026998b822e6d721b9 (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 73e5df8..9811f24 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/rc.pvr 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