[yocto] [meta-security][PATCH] xmlsec1: remove host paths from target files
wenzong.fan at windriver.com
wenzong.fan at windriver.com
Wed Apr 18 00:44:57 PDT 2018
From: Wenzong Fan <wenzong.fan at windriver.com>
Signed-off-by: Wenzong Fan <wenzong.fan at windriver.com>
---
recipes-security/xmlsec1/xmlsec1_1.2.25.bb | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/recipes-security/xmlsec1/xmlsec1_1.2.25.bb b/recipes-security/xmlsec1/xmlsec1_1.2.25.bb
index dbb6f7d..341ca08 100644
--- a/recipes-security/xmlsec1/xmlsec1_1.2.25.bb
+++ b/recipes-security/xmlsec1/xmlsec1_1.2.25.bb
@@ -46,7 +46,10 @@ do_compile_ptest () {
}
do_install_append() {
- sed -i -e "s@${STAGING_DIR}@@g" ${D}${bindir}/xmlsec1-config
+ for i in ${bindir}/xmlsec1-config ${libdir}/xmlsec1Conf.sh \
+ ${libdir}/pkgconfig/xmlsec1-openssl.pc; do
+ sed -i -e "s@${RECIPE_SYSROOT}@@g" ${D}$i
+ done
}
do_install_ptest () {
--
2.8.1
More information about the yocto
mailing list