summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2023-09-17 21:30:43 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-09-17 22:39:49 +0100
commit61b5be294435686422e916c108d928e818a44bca (patch)
tree150195d86ec5bbbb345665d8ace8f98d3a18b574 /meta/recipes-graphics
parent81ef24bac0aa82a91f00fc71fb541b3f5d9f9186 (diff)
downloadpoky-61b5be294435686422e916c108d928e818a44bca.tar.gz
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>
Diffstat (limited to 'meta/recipes-graphics')
-rw-r--r--meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb b/meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb
index f4799fbc77..6bbc601986 100644
--- a/meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb
+++ b/meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb
@@ -26,7 +26,7 @@ PACKAGE_BEFORE_PN = "${PN}-benchmarks ${PN}-tests"
26 26
27PACKAGECONFIG[chamelium] = "-Dchamelium=enabled,-Dchamelium=disabled,gsl xmlrpc-c" 27PACKAGECONFIG[chamelium] = "-Dchamelium=enabled,-Dchamelium=disabled,gsl xmlrpc-c"
28 28
29EXTRA_OEMESON = "-Ddocs=disabled -Drunner=enabled -Dsrcdir=/usr/src/debug/${PN}/${PV}-${PR}/git/" 29EXTRA_OEMESON = "-Ddocs=disabled -Drunner=enabled -Dsrcdir=/usr/src/debug/${PN}/${PV}-${PR}/git/ -Dversion_hash=${PV}"
30COMPATIBLE_HOST = "(x86_64.*|i.86.*|arm.*|aarch64).*-linux" 30COMPATIBLE_HOST = "(x86_64.*|i.86.*|arm.*|aarch64).*-linux"
31COMPATIBLE_HOST:libc-musl:class-target = "null" 31COMPATIBLE_HOST:libc-musl:class-target = "null"
32SECURITY_LDFLAGS = "${SECURITY_X_LDFLAGS}" 32SECURITY_LDFLAGS = "${SECURITY_X_LDFLAGS}"