diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2020-12-03 16:07:29 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-12-09 12:21:27 +0000 |
commit | bf1521fbf1572c823d98ce2cf00f26fb6447262f (patch) | |
tree | 8b3bc0d8650b5dc1c93f950320b9f93e3d6deda5 /meta-poky | |
parent | b70318797c598db4cfda28226ac4c535235c9d1b (diff) | |
download | poky-bf1521fbf1572c823d98ce2cf00f26fb6447262f.tar.gz |
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')
-rw-r--r-- | meta-poky/conf/distro/poky.conf | 2 |
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 @@ | |||
1 | DISTRO = "poky" | 1 | DISTRO = "poky" |
2 | DISTRO_NAME = "Poky (Yocto Project Reference Distro)" | 2 | DISTRO_NAME = "Poky (Yocto Project Reference Distro)" |
3 | DISTRO_VERSION = "3.2+snapshot-${DATE}" | 3 | DISTRO_VERSION = "3.2+snapshot-${METADATA_REVISION}" |
4 | DISTRO_CODENAME = "master" | 4 | DISTRO_CODENAME = "master" |
5 | SDK_VENDOR = "-pokysdk" | 5 | SDK_VENDOR = "-pokysdk" |
6 | SDK_VERSION = "${@d.getVar('DISTRO_VERSION').replace('snapshot-${DATE}', 'snapshot')}" | 6 | SDK_VERSION = "${@d.getVar('DISTRO_VERSION').replace('snapshot-${DATE}', 'snapshot')}" |