summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2020-12-03 14:37:21 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-12-09 12:20:33 +0000
commit154aacd8c33ba9f54d2a77bb64294ae3503cc09b (patch)
tree708926f53bb7262954fd427998b0d4331d46a6a2 /meta
parent91db7ae0d1a3155d4387a86a4ab1a3b36c2ae7b8 (diff)
downloadpoky-154aacd8c33ba9f54d2a77bb64294ae3503cc09b.tar.gz
webkitgtk: fix reproducibility
(From OE-Core rev: 1e7c673ab8d14766190843c6d8747510b37c71bf) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-sato/webkit/webkitgtk_2.30.2.bb12
1 files changed, 12 insertions, 0 deletions
diff --git a/meta/recipes-sato/webkit/webkitgtk_2.30.2.bb b/meta/recipes-sato/webkit/webkitgtk_2.30.2.bb
index 58b66c0f66..31370f3239 100644
--- a/meta/recipes-sato/webkit/webkitgtk_2.30.2.bb
+++ b/meta/recipes-sato/webkit/webkitgtk_2.30.2.bb
@@ -134,3 +134,15 @@ GI_DATA_ENABLED_libc-musl_armv7ve = "False"
134 134
135# Can't be built with ccache 135# Can't be built with ccache
136CCACHE_DISABLE = "1" 136CCACHE_DISABLE = "1"
137
138PACKAGE_PREPROCESS_FUNCS += "src_package_preprocess"
139src_package_preprocess () {
140 # Trim build paths from comments in generated sources to ensure reproducibility
141 sed -i -e "s,${WORKDIR},,g" \
142 ${B}/DerivedSources/webkit2gtk/webkit2/*.cpp \
143 ${B}/DerivedSources/ForwardingHeaders/JavaScriptCore/*.h \
144 ${B}/DerivedSources/JavaScriptCore/*.h \
145 ${B}/DerivedSources/JavaScriptCore/yarr/*.h \
146 ${B}/DerivedSources/MiniBrowser/*.c
147}
148