]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
igt-gpu-tools: do not write shortened git commit hash into binaries
authorAlexander Kanavin <alex.kanavin@gmail.com>
Sun, 17 Sep 2023 19:30:43 +0000 (21:30 +0200)
committerSteve Sakoman <steve@sakoman.com>
Fri, 13 Oct 2023 02:23:08 +0000 (16:23 -1000)
commite0cdfefe3054a2278f7db5d382045304b710118b
tree0afdbc6106faf8d4ecb372498e9147b733da421d
parent776053f4af19e9c2de7ce725e6ec94312028fa7f
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/

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a74e1eff93d4de5724481e3298308a6d925a4512)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb