[oe-commits] [meta-openembedded] 31/33: net-snmp: fix invalid paths in target net-snmp-config

git at git.openembedded.org git at git.openembedded.org
Wed Dec 27 15:39:36 UTC 2017


This is an automated email from the git hooks/post-receive script.

armin_kuster pushed a commit to branch master-next
in repository meta-openembedded.

commit 670048f291af053e9a18279d6b6460d46a66d5c9
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>
---
 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