summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJiaying Song <jiaying.song.cn@windriver.com>2025-06-20 12:12:55 +0800
committerKhem Raj <raj.khem@gmail.com>2025-06-25 06:44:50 -0700
commitcce20b5124e28ee55adf03fe062084f38d065580 (patch)
tree7e07a79ef98fe8b0146c695384b40879aa86b3b2
parent9fd087d29861383ef5b2261a97c220bd895c3142 (diff)
downloadmeta-openembedded-cce20b5124e28ee55adf03fe062084f38d065580.tar.gz
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 <jiaying.song.cn@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-support/xmlsec1/xmlsec1_1.3.7.bb7
1 files 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 () {
54} 54}
55 55
56do_install:append() { 56do_install:append() {
57 for i in ${bindir}/xmlsec1-config ${libdir}/xmlsec1Conf.sh \ 57 for i in \
58 ${libdir}/pkgconfig/xmlsec1-openssl.pc; do 58 ${bindir}/xmlsec1-config \
59 ${libdir}/xmlsec1Conf.sh \
60 ${libdir}/pkgconfig/xmlsec1-openssl.pc \
61 ${libdir}/pkgconfig/xmlsec1-gnutls.pc; do
59 sed -i -e "s@${RECIPE_SYSROOT}@@g" ${D}$i 62 sed -i -e "s@${RECIPE_SYSROOT}@@g" ${D}$i
60 done 63 done
61} 64}