From fa4a9da20cbfe75e3bc260974c14f853d0733851 Mon Sep 17 00:00:00 2001 From: Scott Murray Date: Mon, 13 Jul 2020 17:45:11 -0400 Subject: meta-rcar-gen3: fix rc.pvr weston dependency MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add a do_install_append to fix rc.pvr systemd unit weston dependency, it needs to be weston@.service to work with YP dunfell / 3.1. Bug-AGL: SPEC-3380, SPEC-3443 Signed-off-by: Scott Murray Change-Id: I5f2a6d858c09812ab06e7a1a572fdd96801a8269 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25012 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller Reviewed-by: Stéphane Desneux --- .../recipes-graphics/gles-module/gles-user-module.bbappend | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'meta-agl-bsp/meta-rcar-gen3/recipes-graphics') diff --git a/meta-agl-bsp/meta-rcar-gen3/recipes-graphics/gles-module/gles-user-module.bbappend b/meta-agl-bsp/meta-rcar-gen3/recipes-graphics/gles-module/gles-user-module.bbappend index b902fc9b6..e50822f92 100644 --- a/meta-agl-bsp/meta-rcar-gen3/recipes-graphics/gles-module/gles-user-module.bbappend +++ b/meta-agl-bsp/meta-rcar-gen3/recipes-graphics/gles-module/gles-user-module.bbappend @@ -1 +1,8 @@ require checksum_control.inc + +do_install_append() { + # Fix weston dependency, needs to be weston@.service + if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)} ; then + sed -i 's/^RequiredBy=weston.service$/RequiredBy=weston@.service/' ${D}${systemd_system_unitdir}/rc.pvr.service + fi +} -- cgit 1.2.3-korg