From 8f05d9c2dbc4da5e458eec354b5b2d9749bbbfc8 Mon Sep 17 00:00:00 2001 From: Lei Maohui Date: Thu, 15 Sep 2022 13:07:52 +0800 Subject: [PATCH] exiv2: Fix buildpaths warning. Remove the build path from file exiv2Config.cmake. Signed-off-by: Lei Maohui Signed-off-by: Khem Raj --- meta-oe/recipes-support/exiv2/exiv2_0.27.3.bb | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/meta-oe/recipes-support/exiv2/exiv2_0.27.3.bb b/meta-oe/recipes-support/exiv2/exiv2_0.27.3.bb index 31afe78e45..1380638ba7 100644 --- a/meta-oe/recipes-support/exiv2/exiv2_0.27.3.bb +++ b/meta-oe/recipes-support/exiv2/exiv2_0.27.3.bb @@ -21,3 +21,10 @@ SRC_URI += "file://0001-Use-compiler-fcf-protection-only-if-compiler-arch-su.pat S = "${WORKDIR}/${BPN}-${PV}-Source" inherit cmake gettext + +do_install:append:class-target() { + # reproducibility: remove build host path + sed -i ${D}${libdir}/cmake/exiv2/exiv2Config.cmake \ + -e 's:${STAGING_DIR_HOST}::g' +} +