From: Ross Burton Date: Thu, 18 Dec 2025 20:53:18 +0000 (+0000) Subject: kea: remove more host paths X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=20a01ae1b5f08edbdb53ad4b87fe62e47fb3ed40;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git kea: remove more host paths If ccache is in use then the full path to ccache is resolved, and ends up in both config.report and then config_report.cc. This results in build paths in libkea-cfgrpt.so.3.0.0, so we should also remove HOSTTOOLS_DIR from these files to ensure both reproducibility and no host contamination. Signed-off-by: Ross Burton Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-connectivity/kea/kea_3.0.1.bb b/meta/recipes-connectivity/kea/kea_3.0.1.bb index 8729b1162e..a4950e3bc1 100644 --- a/meta/recipes-connectivity/kea/kea_3.0.1.bb +++ b/meta/recipes-connectivity/kea/kea_3.0.1.bb @@ -57,7 +57,9 @@ do_configure:prepend() { # patch out build host paths for reproducibility do_compile:prepend:class-target() { - sed -i -e "s,${WORKDIR},,g" ${B}/config.report + sed -i -e "s,${WORKDIR},,g" -e "s,${HOSTTOOLS_DIR}/,,g" \ + ${B}/config.report \ + ${B}/src/lib/process/cfgrpt/config_report.cc } do_install:append() {