Undo the out of date tweak of rc.pvr.service to make it a dependency
of weston@.service done in meta-rcar-gen3's gles-user-module recipe.
For now, just tweak the dependency back to weston.service in our
bbappend in meta-agl-bsp, this can be removed when meta-rcar-gen3
includes a fix.
Bug-AGL: SPEC-4607
Change-Id: I16ef13d2af9b2ed485ce8b98501f39bf96aba3e2
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28142
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 <jsmoeller@linuxfoundation.org>
mv ${D}/lib/firmware ${D}${nonarch_base_libdir}/
rm -rf ${D}/lib
fi
+
+ # Undo upstream's out of date use of weston@.service
+ if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)} ; then
+ # Fix weston dependency, needs to be weston.service
+ sed -i 's/^RequiredBy=weston@.service$/RequiredBy=weston.service/' \
+ ${D}${systemd_system_unitdir}/rc.pvr.service
+ fi
}