diff options
author | Jiaying Song <jiaying.song.cn@windriver.com> | 2025-06-20 12:12:55 +0800 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2025-07-06 19:23:22 -0400 |
commit | f919d1196215f28dbae9e2bda8c356ca2113852e (patch) | |
tree | e3e3dce8a5999afc81d4e4606086465e40b37f93 | |
parent | 372974d1708ee57f3a779a9a035f0baffdcce9a6 (diff) | |
download | meta-openembedded-f919d1196215f28dbae9e2bda8c356ca2113852e.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: Armin Kuster <akuster808@gmail.com>
-rw-r--r-- | meta-oe/recipes-support/xmlsec1/xmlsec1_1.3.7.bb | 7 |
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 | ||
56 | do_install:append() { | 56 | do_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 | } |