Skip to contentSkip to conversation

poky.conf: do not write current date into distro version, use git hash instead

PATCH New Alexander Kanavin 1 participant 1 message Dec 3, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 poky.conf: do not write current date into distro version, use git hash instead

The date leaks into target installs of items like os-release, and makes them non-reproducible.

---
 meta-poky/conf/distro/poky.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-poky/conf/distro/poky.conf +1 -1
index 31dc110bf6..1f37b91613 100644
@@ -1,6 +1,6 @@
 DISTRO = "poky"
 DISTRO_NAME = "Poky (Yocto Project Reference Distro)"
-DISTRO_VERSION = "3.2+snapshot-${DATE}"
+DISTRO_VERSION = "3.2+snapshot-${METADATA_REVISION}"
 DISTRO_CODENAME = "master"
 SDK_VENDOR = "-pokysdk"
 SDK_VERSION = "${@d.getVar('DISTRO_VERSION').replace('snapshot-${DATE}', 'snapshot')}"
Signature · 1 line
2.29.2