diff options
author | 2022-09-10 13:07:20 -0400 | |
---|---|---|
committer | 2022-09-22 10:20:58 +0000 | |
commit | b87d4c95c086c9ae48c5ebe5c5fed43c148f477b (patch) | |
tree | b8f7cfca88c9599accfd8a806428bffd40e5b793 /meta-app-framework/recipes-core/applaunchd/applaunchd_git.bb | |
parent | 518131242323e907dc29317f5909cfeb9e552440 (diff) |
meta-app-framework: applaunchd: update for gRPC addition
Changes to facilitate building gRPC enabled versionm of applaunchd:
- Bump SRCREV to pick up gRPC changes
- Add required protobuf and gRPC dependencies to DEPENDS
- Add new systemd unit for standalone gRPC API daemon
Bug-AGL: SPEC-4559
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I9daeabccc0bb7f7a730568c2b13f096a469ff82b
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28010
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>
Diffstat (limited to 'meta-app-framework/recipes-core/applaunchd/applaunchd_git.bb')
-rw-r--r-- | meta-app-framework/recipes-core/applaunchd/applaunchd_git.bb | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/meta-app-framework/recipes-core/applaunchd/applaunchd_git.bb b/meta-app-framework/recipes-core/applaunchd/applaunchd_git.bb index e6439c3dd..958f50b4c 100644 --- a/meta-app-framework/recipes-core/applaunchd/applaunchd_git.bb +++ b/meta-app-framework/recipes-core/applaunchd/applaunchd_git.bb @@ -8,6 +8,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=ae6497158920d9524cf208c09cc4c984" DEPENDS = " \ glib-2.0 \ glib-2.0-native \ + protobuf-native \ + grpc-native \ + grpc \ systemd \ " @@ -15,21 +18,25 @@ PV = "2.0+git${SRCPV}" SRC_URI = " \ git://gerrit.automotivelinux.org/gerrit/src/applaunchd;protocol=https;branch=${AGL_BRANCH} \ + file://applaunchd.service \ file://agl-app@.service \ file://agl-app-web@.service \ file://agl-app-flutter@.service \ file://no-network.conf \ file://private-tmp.conf \ " -SRCREV = "c675bafdf15cc19276bd8276c34f56404a5ecb62" +SRCREV = "992f87151ff189dc061624f010eddee2036fd33f" S = "${WORKDIR}/git" -inherit meson pkgconfig +inherit meson pkgconfig systemd + +SYSTEMD_SERVICE:${PN} = "applaunchd.service" do_install:append() { # Install generic template for all agl-app services install -d ${D}${systemd_system_unitdir} + install -m 644 ${WORKDIR}/applaunchd.service ${D}${systemd_system_unitdir}/ install -m 644 ${WORKDIR}/agl-app@.service ${D}${systemd_system_unitdir}/ install -m 644 ${WORKDIR}/agl-app-web@.service ${D}${systemd_system_unitdir}/ install -m 644 ${WORKDIR}/agl-app-flutter@.service ${D}${systemd_system_unitdir}/ |