[oe-commits] [meta-openembedded] 29/35: net-snmp: fix invalid paths in target net-snmp-config
git at git.openembedded.org
git at git.openembedded.org
Mon Jan 8 19:41:03 UTC 2018
This is an automated email from the git hooks/post-receive script.
joe_macdonald pushed a commit to branch master
in repository meta-openembedded.
commit 3b0b5aa94a363d8046c6edac5868174ddd69c2eb
Author: Ovidiu Panait <ovidiu.panait at windriver.com>
AuthorDate: Tue Dec 12 15:15:12 2017 +0200
net-snmp: fix invalid paths in target net-snmp-config
Remove build host paths form target net-snmp-config.
Signed-off-by: Catalin Enache <catalin.enache at windriver.com>
Signed-off-by: Ovidiu Panait <ovidiu.panait at windriver.com>
Signed-off-by: Armin Kuster <akuster808 at gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald at mentor.com>
---
meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb
index 849ae07..3c05874 100644
--- a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb
+++ b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb
@@ -118,6 +118,10 @@ do_install_append() {
sed -e "s@^NSC_SRCDIR=.*@NSC_SRCDIR=. at g" \
-i ${D}${bindir}/net-snmp-create-v3-user
sed -e "s@^NSC_SRCDIR=.*@NSC_SRCDIR=. at g" \
+ -e "s@${STAGING_DIR_NATIVE}[=]*@@g" \
+ -e "s@${STAGING_DIR_HOST}[=]*@@g" \
+ -e "s@${WORKDIR}[=]*@@g" \
+ -e "s@${D}@@g" \
-i ${D}${bindir}/net-snmp-config
if [ "${HAS_PERL}" = "1" ]; then
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list