diff options
| author | Ernest Van Hoecke <ernest.vanhoecke@toradex.com> | 2026-08-21 18:44:00 +0200 |
|---|---|---|
| committer | Ernest Van Hoecke <ernest.vanhoecke@toradex.com> | 2026-08-21 18:44:00 +0200 |
| commit | fb66ba2fcefa0c7fccf448fa82819229667ca718 (patch) | |
| tree | 127b954a27716a01f3072d9b59792892fa0c1653 | |
| parent | fc6a5ad92e64ee577993ebe6c41d9c5db1801c4d (diff) | |
tdx-xwayland: keep build timestamp expansion lazy
TDX_MATRIX_BUILD_TIME falls back to DATETIME, which is deliberately
excluded from task signatures. Expanding it immediately records a
parse-time value in metadata and can give a generated TEZI image task a
different basehash when the recipe is reparsed.
Keep the fallback lazy. d.getVar() expands it before the prerelease
helper slices the value, while volatile metadata can remain deferred
until task execution.
Related-to: ELB-7009
Signed-off-by: Ernest Van Hoecke <ernest.vanhoecke@toradex.com>
| -rw-r--r-- | conf/distro/include/tdx-distro-version.inc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/conf/distro/include/tdx-distro-version.inc b/conf/distro/include/tdx-distro-version.inc index ea17179..839867a 100644 --- a/conf/distro/include/tdx-distro-version.inc +++ b/conf/distro/include/tdx-distro-version.inc @@ -4,8 +4,6 @@ TDX_PURPOSE ?= "Testing" TDX_BUILD ?= "+build.${TDX_BUILDNBR}" TDX_MATRIX_BUILD_TIME ?= "${DATETIME}" TDX_MATRIX_BUILD_TIME[vardepsexclude] = "DATETIME" -# Expand before slicing so Nightly/Monthly never see "${DATETIME}". -TDX_MATRIX_BUILD_TIME := "${TDX_MATRIX_BUILD_TIME}" def tdx_distro_prerelease(d): purpose = d.getVar("TDX_PURPOSE") |
