summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>2022-07-21 10:51:35 +0200
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2022-07-21 20:14:21 +0000
commit39bbb416b2796223ab4f2a32693728f7efc72411 (patch)
tree496f3423ba9b21dde1e9eb53e37003043a971323
parentdec9511143523b249fec5afee0126d362365f583 (diff)
Remove usage of AGL_APP_REVISION
The floating AGL_APP_REVISION leads to more rebuilds than necessary. Replace it with a fixed SRCREV. This is recommended by upstream YP. Bug-AGL: SPEC-4481 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: Iea6a21720b920c5886c933c4ebc81856416368aa Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27783 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
-rw-r--r--meta-agl-core/conf/distro/poky-agl.conf6
-rw-r--r--meta-app-framework/recipes-core/applaunchd/applaunchd_git.bb2
2 files changed, 2 insertions, 6 deletions
diff --git a/meta-agl-core/conf/distro/poky-agl.conf b/meta-agl-core/conf/distro/poky-agl.conf
index a71982368..be6d77f36 100644
--- a/meta-agl-core/conf/distro/poky-agl.conf
+++ b/meta-agl-core/conf/distro/poky-agl.conf
@@ -11,20 +11,16 @@ AGL_BRANCH = "marlin"
AGLVERSION = "13.0.1"
# switch devel/release
AGLRELEASETYPE ?= "agldevelopment"
-#AGLRELEASETYPE ?= "aglrelease"
+#AGLRELEASETYPE := "aglrelease"
OVERRIDES .= ":${AGLRELEASETYPE}"
#
#for development
DISTRO_VERSION:agldevelopment := "${AGLVERSION}+snapshot-${DATE}"
-AGL_APP_REVISION:agldevelopment = "${AUTOREV}"
-AGL_DEFAULT_REVISION:agldevelopment = "${AUTOREV}"
#for release
DISTRO_VERSION:aglrelease := "${AGLVERSION}"
DISTRO_BRANCH_VERSION_TAG = "${DISTRO_CODENAME}/${@'${DISTRO_VERSION}'.replace('+snapshot-${DATE}','')}"
-AGL_APP_REVISION:aglrelease := "refs/tags/${DISTRO_BRANCH_VERSION_TAG}"
-AGL_DEFAULT_REVISION:aglrelease := "refs/tags/${DISTRO_BRANCH_VERSION_TAG}"
# reproducible builds:
# enable the flag
diff --git a/meta-app-framework/recipes-core/applaunchd/applaunchd_git.bb b/meta-app-framework/recipes-core/applaunchd/applaunchd_git.bb
index 70af49bd6..33276b9a0 100644
--- a/meta-app-framework/recipes-core/applaunchd/applaunchd_git.bb
+++ b/meta-app-framework/recipes-core/applaunchd/applaunchd_git.bb
@@ -15,7 +15,7 @@ PV = "1.0+git${SRCPV}"
SRC_URI = " \
git://gerrit.automotivelinux.org/gerrit/src/applaunchd;protocol=https;branch=${AGL_BRANCH} \
"
-SRCREV = "${AGL_APP_REVISION}"
+SRCREV = "770cda52bb61ac93dfaf8cf58fc3f8a84f629976"
S = "${WORKDIR}/git"