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

Signed-off-by: Priya N S <[email protected]>
---
 .../recipes-graphics/wayland/weston-init.bbappend            | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/meta-arago-distro/recipes-graphics/wayland/weston-init.bbappend 
b/meta-arago-distro/recipes-graphics/wayland/weston-init.bbappend
index 55b191ef..5ac8b6d0 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}/[email protected]"
 FILES_${PN} += "${sysconfdir}/profile.d/* ${sysconfdir}/weston.ini"
+SYSTEMD_SERVICE_${PN}_remove = "weston@%i.service"
-- 
2.19.1.windows.1



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13356): 
https://lists.yoctoproject.org/g/meta-arago/message/13356
Mute This Topic: https://lists.yoctoproject.org/mt/86602750/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-arago/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to