mirror of
https://git.yoctoproject.org/poky
synced 2026-04-21 03:32:12 +02:00
libinput: Fix determinism issue
The build was injection git information from the wrong git tree, stop this to allow reproducible builds. (From OE-Core rev: c3f6a6113f562ecdb13386c3ff52adb7973980a4) (From OE-Core rev: 22dc9a3314eef5925241a9a961bd79815d3172b6) (From OE-Core rev: f29b56b9c140a03edeba69ffc2dc9888b2fde106) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
21
meta/recipes-graphics/wayland/libinput/determinism.patch
Normal file
21
meta/recipes-graphics/wayland/libinput/determinism.patch
Normal file
@@ -0,0 +1,21 @@
|
||||
This finds our outer git tree and that version information breaks
|
||||
determinism of this recipe. Disable it.
|
||||
|
||||
RP 2020/2/6
|
||||
|
||||
Upstream-Status: Pending
|
||||
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
||||
|
||||
Index: libinput-1.14.3/meson.build
|
||||
===================================================================
|
||||
--- libinput-1.14.3.orig/meson.build
|
||||
+++ libinput-1.14.3/meson.build
|
||||
@@ -387,7 +387,7 @@ pkgconfig.generate(
|
||||
libraries : lib_libinput
|
||||
)
|
||||
|
||||
-git_version_h = vcs_tag(command : ['git', 'describe'],
|
||||
+git_version_h = vcs_tag(command : ['false'],
|
||||
fallback : 'unknown',
|
||||
input : 'src/libinput-git-version.h.in',
|
||||
output :'libinput-git-version.h')
|
||||
@@ -7,7 +7,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=1f2ea9ebff3a2c6d458faf58492efb63"
|
||||
|
||||
DEPENDS = "libevdev udev mtdev"
|
||||
|
||||
SRC_URI = "http://www.freedesktop.org/software/${BPN}/${BP}.tar.xz"
|
||||
SRC_URI = "http://www.freedesktop.org/software/${BPN}/${BP}.tar.xz \
|
||||
file://determinism.patch \
|
||||
"
|
||||
SRC_URI[md5sum] = "da29a704dc6f7ea2d5aac754db046340"
|
||||
SRC_URI[sha256sum] = "e333a3242835c019ca37d2cef8b51a87d3138eb47444119c0153dc7a8656ee70"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user