diff options
author | Ovidiu Panait <ovidiu.panait@windriver.com> | 2017-12-12 15:15:12 +0200 |
---|---|---|
committer | Joe MacDonald <joe_macdonald@mentor.com> | 2018-01-08 12:05:05 -0500 |
commit | 3b0b5aa94a363d8046c6edac5868174ddd69c2eb (patch) | |
tree | 6bad1cca18176121f5e8d7987326db18f482f4f7 /meta-networking | |
parent | 3da22ee40420fbea6c75ff07225470353fb0a5e8 (diff) | |
download | meta-openembedded-3b0b5aa94a363d8046c6edac5868174ddd69c2eb.tar.gz |
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@windriver.com>
Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Diffstat (limited to 'meta-networking')
-rw-r--r-- | meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb | 4 |
1 files changed, 4 insertions, 0 deletions
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 849ae0763..3c0587469 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() { | |||
118 | sed -e "s@^NSC_SRCDIR=.*@NSC_SRCDIR=.@g" \ | 118 | sed -e "s@^NSC_SRCDIR=.*@NSC_SRCDIR=.@g" \ |
119 | -i ${D}${bindir}/net-snmp-create-v3-user | 119 | -i ${D}${bindir}/net-snmp-create-v3-user |
120 | sed -e "s@^NSC_SRCDIR=.*@NSC_SRCDIR=.@g" \ | 120 | sed -e "s@^NSC_SRCDIR=.*@NSC_SRCDIR=.@g" \ |
121 | -e "s@${STAGING_DIR_NATIVE}[=]*@@g" \ | ||
122 | -e "s@${STAGING_DIR_HOST}[=]*@@g" \ | ||
123 | -e "s@${WORKDIR}[=]*@@g" \ | ||
124 | -e "s@${D}@@g" \ | ||
121 | -i ${D}${bindir}/net-snmp-config | 125 | -i ${D}${bindir}/net-snmp-config |
122 | 126 | ||
123 | if [ "${HAS_PERL}" = "1" ]; then | 127 | if [ "${HAS_PERL}" = "1" ]; then |