This embeddeds the grpc-proxy configuration file into the no-activate
configuration file, rather than creating a new no-activate-grpc-proxy,
or no-activate-landscape-grpc-proxy.
The grpc-proxy.cfg file is just a rename of grpc-server.cfg from
meta-agl-demo/ tree, introduced with
1b347d8823, '[weston-ini-conf] Fix
dependency issue with grpc in meta-agl-core'.
Bug-AGL: SPEC-4776
Change-Id: Ie6183887cdb7b6e3f7cb431f01edb8da75e05946
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Suggested-by: Scott Murray <scott.murray@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28757
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>
file://virtual-90.cfg \
file://virtual-180.cfg \
file://virtual-270.cfg \
+ file://grpc-proxy.cfg \
"
S = "${WORKDIR}"
cat ${WORKDIR}/weston.ini.default > ${WORKDIR}/weston.ini.default-no-activate
sed -i -e 's#\[core\]#[core]\nactivate-by-default=false#' ${WORKDIR}/weston.ini.default-no-activate
+ cat ${WORKDIR}/grpc-proxy.cfg >> ${WORKDIR}/weston.ini.default-no-activate
# Do it again, but filter fragments to configure for landscape
# and a corresponding landscape-inverted that is 180 degrees
cat ${WORKDIR}/weston.ini.landscape > ${WORKDIR}/weston.ini.landscape-no-activate
sed -i -e 's#\[core\]#[core]\nactivate-by-default=false#' ${WORKDIR}/weston.ini.landscape-no-activate
+ cat ${WORKDIR}/grpc-proxy.cfg >> ${WORKDIR}/weston.ini.landscape-no-activate
}
do_install:append() {
--- /dev/null
+
+[shell-client-ext]
+command=/usr/lib/agl-compositor/agl-shell-grpc-server
+