diff options
author | Ronan Le Martret <ronan.lemartret@iot.bzh> | 2017-02-27 16:52:44 +0100 |
---|---|---|
committer | Ronan Le Martret <ronan.lemartret@iot.bzh> | 2019-08-29 14:55:06 +0200 |
commit | c719ace4e770b2baa36b6793b12ae58263569c30 (patch) | |
tree | 4437c613b314ff6b128595273b0f6f9364b7835e | |
parent | 2059e333c1752235a19a01b06addf84c8ce6ed2e (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>
3 files changed, 4 insertions, 4 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.bbappend b/meta-rcar-gen3/recipes-graphics/wayland/weston-init.bbappend index 07dab05..ea35d02 100644 --- a/meta-rcar-gen3/recipes-graphics/wayland/weston-init.bbappend +++ b/meta-rcar-gen3/recipes-graphics/wayland/weston-init.bbappend @@ -15,9 +15,7 @@ do_install_append() { sed -i 's,@LOCALSTATEDIR@,${localstatedir},g' ${D}${bindir}/weston-start if [ "X${USE_GLES}" = "X1" ]; then - sed -e "/RequiresMountsFor=\/run/a Wants=rc.pvr.service" \ - -e "/RequiresMountsFor=\/run/a After=rc.pvr.service" \ - -e "s/\$OPTARGS/--idle-time=0 \$OPTARGS/" \ + sed -e "s/\$OPTARGS/--idle-time=0 \$OPTARGS/" \ -i ${D}/${systemd_system_unitdir}/weston.service fi 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 cc47419..3d9edd5 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 multi-user.target +After=dbus.service multi-user.target [Service] ExecStart=/usr/bin/weston-launch -u root -- $OPTARGS |