aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2021-02-24 15:35:44 -0500
committerScott Murray <scott.murray@konsulko.com>2022-03-29 15:23:32 -0400
commit6def203cff724fec54ba96cdf24b745fb6bebbc9 (patch)
tree3bd61f3f2bdceb45e5518ecbcc0304ad951a38a6
parent2b7aab69d793cb90d988ae727c09c141924a10c8 (diff)
meta-agl-core: update poky-agl distro configuration
Replace use of DATE with METADATA_REVISION to match upsteam's change (which was to improve reproducibility) Bug-AGL: SPEC-3819 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I4dc14cdb682730af442c90e73ee3d1d205e497e3
-rw-r--r--meta-agl-core/conf/distro/poky-agl.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-agl-core/conf/distro/poky-agl.conf b/meta-agl-core/conf/distro/poky-agl.conf
index 7eb733f73..9fcbdf7b2 100644
--- a/meta-agl-core/conf/distro/poky-agl.conf
+++ b/meta-agl-core/conf/distro/poky-agl.conf
@@ -16,13 +16,13 @@ OVERRIDES .= ":${AGLRELEASETYPE}"
#
#for development
-DISTRO_VERSION:agldevelopment := "${AGLVERSION}+snapshot-${DATE}"
+DISTRO_VERSION:agldevelopment := "${AGLVERSION}+snapshot-${METADATA_REVISION}"
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}','')}"
+DISTRO_BRANCH_VERSION_TAG = "${DISTRO_CODENAME}/${@'${DISTRO_VERSION}'.replace('+snapshot-${METADATA_REVISION}','')}"
AGL_APP_REVISION:aglrelease := "refs/tags/${DISTRO_BRANCH_VERSION_TAG}"
AGL_DEFAULT_REVISION:aglrelease := "refs/tags/${DISTRO_BRANCH_VERSION_TAG}"