mirror of
https://git.yoctoproject.org/poky
synced 2026-04-21 21:32:12 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
91db7ae0d1
commit
154aacd8c3
@@ -134,3 +134,15 @@ GI_DATA_ENABLED_libc-musl_armv7ve = "False"
|
||||
|
||||
# Can't be built with ccache
|
||||
CCACHE_DISABLE = "1"
|
||||
|
||||
PACKAGE_PREPROCESS_FUNCS += "src_package_preprocess"
|
||||
src_package_preprocess () {
|
||||
# Trim build paths from comments in generated sources to ensure reproducibility
|
||||
sed -i -e "s,${WORKDIR},,g" \
|
||||
${B}/DerivedSources/webkit2gtk/webkit2/*.cpp \
|
||||
${B}/DerivedSources/ForwardingHeaders/JavaScriptCore/*.h \
|
||||
${B}/DerivedSources/JavaScriptCore/*.h \
|
||||
${B}/DerivedSources/JavaScriptCore/yarr/*.h \
|
||||
${B}/DerivedSources/MiniBrowser/*.c
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user