diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-02-06 23:57:28 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-02-08 13:20:01 +0000 |
commit | c0726d98e64535374af04c583d59e4f5d1bc6238 (patch) | |
tree | ac66e6704a70c7aa28b1f736cdc06d8d023a2154 /meta/recipes-graphics/wayland/libinput/determinism.patch | |
parent | d10da5f6e6d6d3600645dbe43ed412ff23b55095 (diff) | |
download | poky-c0726d98e64535374af04c583d59e4f5d1bc6238.tar.gz |
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>
Diffstat (limited to 'meta/recipes-graphics/wayland/libinput/determinism.patch')
-rw-r--r-- | meta/recipes-graphics/wayland/libinput/determinism.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/meta/recipes-graphics/wayland/libinput/determinism.patch b/meta/recipes-graphics/wayland/libinput/determinism.patch new file mode 100644 index 0000000000..cb554030cf --- /dev/null +++ b/meta/recipes-graphics/wayland/libinput/determinism.patch | |||
@@ -0,0 +1,21 @@ | |||
1 | This finds our outer git tree and that version information breaks | ||
2 | determinism of this recipe. Disable it. | ||
3 | |||
4 | RP 2020/2/6 | ||
5 | |||
6 | Upstream-Status: Pending | ||
7 | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> | ||
8 | |||
9 | Index: libinput-1.14.3/meson.build | ||
10 | =================================================================== | ||
11 | --- libinput-1.14.3.orig/meson.build | ||
12 | +++ libinput-1.14.3/meson.build | ||
13 | @@ -387,7 +387,7 @@ pkgconfig.generate( | ||
14 | libraries : lib_libinput | ||
15 | ) | ||
16 | |||
17 | -git_version_h = vcs_tag(command : ['git', 'describe'], | ||
18 | +git_version_h = vcs_tag(command : ['false'], | ||
19 | fallback : 'unknown', | ||
20 | input : 'src/libinput-git-version.h.in', | ||
21 | output :'libinput-git-version.h') | ||