Remove use of AGL_APP_REVISION 93/27693/2
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Wed, 29 Jun 2022 18:21:59 +0000 (20:21 +0200)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Wed, 29 Jun 2022 20:26:20 +0000 (20:26 +0000)
commitbbed78102412173a8aac6365d9eddeac819987a6
treebc4cd34e94534b65f2a43be5065a557fed3928e8
parenta62b57431d7f06bd407b6a5e2a3fcf98b59af135
Remove use of AGL_APP_REVISION

We did use the variable AGL_APP_REVISION to change between the HEAD of the branch
via  to the fixed tag at release time (regs/tags/xyz) .

While this worked well previously, it turns out that bitbake will query git every time
it runs for either  or tags likewise. For tags it cannot trust whatever is known locally
is actually the latest tags as there can be force pushed tags.

To fix this we use a well-defined SRCREV for apps/* in the same way
as we do it for src/* .

Bug-AGL: SPEC-4455
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I54bad2ef6c8b171b1ae1270b4adb951fb180b260
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27693
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
meta-agl-core/conf/distro/poky-agl.conf
meta-app-framework/recipes-core/applaunchd/applaunchd_git.bb