summaryrefslogtreecommitdiffstats
path: root/meta-poky/conf
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2020-12-03 16:07:29 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-12-09 12:21:27 +0000
commitbf1521fbf1572c823d98ce2cf00f26fb6447262f (patch)
tree8b3bc0d8650b5dc1c93f950320b9f93e3d6deda5 /meta-poky/conf
parentb70318797c598db4cfda28226ac4c535235c9d1b (diff)
downloadpoky-bf1521fbf1572c823d98ce2cf00f26fb6447262f.tar.gz
poky-bf1521fbf1572c823d98ce2cf00f26fb6447262f.tar.bz2
poky-bf1521fbf1572c823d98ce2cf00f26fb6447262f.zip
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. (From meta-yocto rev: bd6b25f9a3416ce63e26d763cce7ed1ad4fd816d) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-poky/conf')
-rw-r--r--meta-poky/conf/distro/poky.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-poky/conf/distro/poky.conf b/meta-poky/conf/distro/poky.conf
index 35c9b1a27c..599e2357a0 100644
--- a/meta-poky/conf/distro/poky.conf
+++ b/meta-poky/conf/distro/poky.conf
@@ -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')}"