mirror of
https://git.yoctoproject.org/poky
synced 2026-04-07 05:02:22 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
996448e2f4
commit
4e3aed3189
@@ -131,3 +131,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