mirror of
https://git.yoctoproject.org/poky
synced 2026-09-29 07:36:20 +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) 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')
|
||||||
@@ -14,6 +14,7 @@ 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://0001-adjust-for-64bit-time_t-for-32bit-architectures.patch \
|
file://0001-adjust-for-64bit-time_t-for-32bit-architectures.patch \
|
||||||
|
file://determinism.patch \
|
||||||
"
|
"
|
||||||
SRC_URI[md5sum] = "d052faa64eb6d2e649e582cc0fcf6e32"
|
SRC_URI[md5sum] = "d052faa64eb6d2e649e582cc0fcf6e32"
|
||||||
SRC_URI[sha256sum] = "0feb3a0589709cc1032893bfaf4c49150d5360bd9782bec888f9e4dd9044c5b7"
|
SRC_URI[sha256sum] = "0feb3a0589709cc1032893bfaf4c49150d5360bd9782bec888f9e4dd9044c5b7"
|
||||||
|
|||||||
Reference in New Issue
Block a user