From f919d1196215f28dbae9e2bda8c356ca2113852e Mon Sep 17 00:00:00 2001 From: Jiaying Song Date: Fri, 20 Jun 2025 12:12:55 +0800 Subject: xmlsec1: avoid hardcoded ${RECIPE_SYSROOT} in xmlsec1-gnutls.pc Fix do_package_qa error by removing ${RECIPE_SYSROOT} from the installed xmlsec1-gnutls.pc file. This ensures the generated .pc file does not leak build-time paths, complying with QA checks. Fixes QA error: ERROR: xmlsec1-1.3.7-r0.wr2500 do_package_qa: QA Issue: File /usr/lib/pkgconfig/xmlsec1-gnutls.pc in package xmlsec1-dev contains reference to TMPDIR [buildpaths] Signed-off-by: Jiaying Song Signed-off-by: Armin Kuster --- meta-oe/recipes-support/xmlsec1/xmlsec1_1.3.7.bb | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/meta-oe/recipes-support/xmlsec1/xmlsec1_1.3.7.bb b/meta-oe/recipes-support/xmlsec1/xmlsec1_1.3.7.bb index 2fdfd55f24..0f4ae205b1 100644 --- a/meta-oe/recipes-support/xmlsec1/xmlsec1_1.3.7.bb +++ b/meta-oe/recipes-support/xmlsec1/xmlsec1_1.3.7.bb @@ -54,8 +54,11 @@ do_compile_ptest () { } do_install:append() { - for i in ${bindir}/xmlsec1-config ${libdir}/xmlsec1Conf.sh \ - ${libdir}/pkgconfig/xmlsec1-openssl.pc; do + for i in \ + ${bindir}/xmlsec1-config \ + ${libdir}/xmlsec1Conf.sh \ + ${libdir}/pkgconfig/xmlsec1-openssl.pc \ + ${libdir}/pkgconfig/xmlsec1-gnutls.pc; do sed -i -e "s@${RECIPE_SYSROOT}@@g" ${D}$i done } -- cgit v1.2.3-54-g00ecf