From: Scott Murray Date: Wed, 24 Feb 2021 20:35:44 +0000 (-0500) Subject: meta-agl-core: update poky-agl distro configuration X-Git-Tag: 13.91.0~69 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=6def203cff724fec54ba96cdf24b745fb6bebbc9;hp=2b7aab69d793cb90d988ae727c09c141924a10c8;p=AGL%2Fmeta-agl.git 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 Change-Id: I4dc14cdb682730af442c90e73ee3d1d205e497e3 --- 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}"