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>
This commit is contained in:
Alexander Kanavin
2020-12-03 16:07:29 +01:00
committed by Richard Purdie
parent b70318797c
commit bf1521fbf1

View File

@@ -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')}"