summaryrefslogtreecommitdiffstats
path: root/meta/recipes-sato/webkit
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-18 14:20:19 +0000
commit4e3aed3189b1be77ebe37706d428f3fe0a5658bd (patch)
tree8ee6daa565f732bb3a47b7483692cd9d26520771 /meta/recipes-sato/webkit
parent996448e2f4b1ae81d9df618ceca382c5eee991ad (diff)
downloadpoky-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/webkit')
-rw-r--r--meta/recipes-sato/webkit/webkitgtk_2.28.2.bb12
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
133CCACHE_DISABLE = "1" 133CCACHE_DISABLE = "1"
134
135PACKAGE_PREPROCESS_FUNCS += "src_package_preprocess"
136src_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