diff mbox series

[master/kirkstone,02/52] wayland: weston: Disable weston systemd service

Message ID 20220913040246.2365077-3-denis@denix.org
State Accepted
Delegated to: Ryan Eatmon
Headers show
Series Latest 2022.09 sync-up with Dunfell | expand

Commit Message

Denys Dmytriyenko Sept. 13, 2022, 4:01 a.m. UTC
From: Priya N S <priya.ns@ti.com>

Disable the weston systemd service since there is a weston initscript
that performs touchscreen calibration and other customizations.

Signed-off-by: Priya N S <priya.ns@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
---
 .../recipes-graphics/wayland/weston-init.bbappend            | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta-arago-distro/recipes-graphics/wayland/weston-init.bbappend b/meta-arago-distro/recipes-graphics/wayland/weston-init.bbappend
index 15835c8f..1a32f196 100644
--- a/meta-arago-distro/recipes-graphics/wayland/weston-init.bbappend
+++ b/meta-arago-distro/recipes-graphics/wayland/weston-init.bbappend
@@ -1,6 +1,6 @@ 
 FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
 
-PR:append = ".arago10"
+PR:append = ".arago11"
 
 SRC_URI:append = " \
     file://runWeston \
@@ -11,10 +11,13 @@  SRC_URI:append = " \
 do_install:append() {
     install -d ${D}${bindir}
     install -m 755 ${WORKDIR}/runWeston ${D}${bindir}
+    rm -rf ${D}${systemd_system_unitdir}
 
     install -d ${D}${sysconfdir}/profile.d
     install -m 0644 ${WORKDIR}/weston.ini ${D}${sysconfdir}
     install -m 0644 ${WORKDIR}/wayland_env.sh ${D}${sysconfdir}/profile.d/
 }
 
+FILES:${PN}:remove = "${systemd_system_unitdir}/weston.service ${systemd_system_unitdir}/weston.socket"
 FILES:${PN} += "${sysconfdir}/profile.d/* ${sysconfdir}/weston.ini"
+SYSTEMD_SERVICE:${PN}:remove = "weston.service weston.socket"