mirror of
https://git.yoctoproject.org/poky
synced 2026-04-30 12:32:12 +02:00
igt-gpu-tools: do not write shortened git commit hash into binaries
Shortened hashes are prone to collisions, and in this case git lengthens the hash to resolve the collision. This in turn breaks reproducibility, depending on whether the colliding hash is present in the history or not. This has been observed here: http://autobuilder.yocto.io/pub/repro-fail/oe-reproducible-20230917-br60if6q/packages/diff-html/ (From OE-Core rev: a74e1eff93d4de5724481e3298308a6d925a4512) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
81ef24bac0
commit
61b5be2944
@@ -26,7 +26,7 @@ PACKAGE_BEFORE_PN = "${PN}-benchmarks ${PN}-tests"
|
||||
|
||||
PACKAGECONFIG[chamelium] = "-Dchamelium=enabled,-Dchamelium=disabled,gsl xmlrpc-c"
|
||||
|
||||
EXTRA_OEMESON = "-Ddocs=disabled -Drunner=enabled -Dsrcdir=/usr/src/debug/${PN}/${PV}-${PR}/git/"
|
||||
EXTRA_OEMESON = "-Ddocs=disabled -Drunner=enabled -Dsrcdir=/usr/src/debug/${PN}/${PV}-${PR}/git/ -Dversion_hash=${PV}"
|
||||
COMPATIBLE_HOST = "(x86_64.*|i.86.*|arm.*|aarch64).*-linux"
|
||||
COMPATIBLE_HOST:libc-musl:class-target = "null"
|
||||
SECURITY_LDFLAGS = "${SECURITY_X_LDFLAGS}"
|
||||
|
||||
Reference in New Issue
Block a user