diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2020-12-03 14:37:21 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-12-18 14:20:19 +0000 |
commit | 4e3aed3189b1be77ebe37706d428f3fe0a5658bd (patch) | |
tree | 8ee6daa565f732bb3a47b7483692cd9d26520771 /meta/recipes-sato | |
parent | 996448e2f4b1ae81d9df618ceca382c5eee991ad (diff) | |
download | poky-4e3aed3189b1be77ebe37706d428f3fe0a5658bd.tar.gz |
webkitgtk: fix reproducibility
(From OE-Core rev: ea8fc9c19e6fd35fc6cb561ff03fd15dd1b064e0)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1e7c673ab8d14766190843c6d8747510b37c71bf)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-sato')
-rw-r--r-- | meta/recipes-sato/webkit/webkitgtk_2.28.2.bb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/meta/recipes-sato/webkit/webkitgtk_2.28.2.bb b/meta/recipes-sato/webkit/webkitgtk_2.28.2.bb index 9cfec83ec7..cf6b2ffae7 100644 --- a/meta/recipes-sato/webkit/webkitgtk_2.28.2.bb +++ b/meta/recipes-sato/webkit/webkitgtk_2.28.2.bb | |||
@@ -131,3 +131,15 @@ GI_DATA_ENABLED_libc-musl_armv7ve = "False" | |||
131 | 131 | ||
132 | # Can't be built with ccache | 132 | # Can't be built with ccache |
133 | CCACHE_DISABLE = "1" | 133 | CCACHE_DISABLE = "1" |
134 | |||
135 | PACKAGE_PREPROCESS_FUNCS += "src_package_preprocess" | ||
136 | src_package_preprocess () { | ||
137 | # Trim build paths from comments in generated sources to ensure reproducibility | ||
138 | sed -i -e "s,${WORKDIR},,g" \ | ||
139 | ${B}/DerivedSources/webkit2gtk/webkit2/*.cpp \ | ||
140 | ${B}/DerivedSources/ForwardingHeaders/JavaScriptCore/*.h \ | ||
141 | ${B}/DerivedSources/JavaScriptCore/*.h \ | ||
142 | ${B}/DerivedSources/JavaScriptCore/yarr/*.h \ | ||
143 | ${B}/DerivedSources/MiniBrowser/*.c | ||
144 | } | ||
145 | |||