summaryrefslogtreecommitdiffstats
path: root/meta-networking
diff options
context:
space:
mode:
authorJeremy Puhlman <jpuhlman@mvista.com>2020-03-06 20:06:07 -0800
committerKhem Raj <raj.khem@gmail.com>2020-03-06 23:31:26 -0800
commitcd6b342f18e3b65283596fd87eab47a7234a7051 (patch)
treec597cac6ae999882a8dad3b954c765f36df7bd0b /meta-networking
parent49e60520ccf90bcaa9943aa253a8031634803ebf (diff)
downloadmeta-openembedded-cd6b342f18e3b65283596fd87eab47a7234a7051.tar.gz
net-snmp: fix reproducibilty issues in net-snmp-config
Both STAGING_HOST_DIR and -fmacro-prefix-map path to WORKDIR were encoded in the config. Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking')
-rw-r--r--meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb
index 9c2ffb2c7..5466649a8 100644
--- a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb
+++ b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb
@@ -124,11 +124,14 @@ do_install_append() {
124 -i ${D}${bindir}/net-snmp-create-v3-user 124 -i ${D}${bindir}/net-snmp-create-v3-user
125 sed -e 's@^NSC_SRCDIR=.*@NSC_SRCDIR=.@g' \ 125 sed -e 's@^NSC_SRCDIR=.*@NSC_SRCDIR=.@g' \
126 -e 's@[^ ]*-fdebug-prefix-map=[^ "]*@@g' \ 126 -e 's@[^ ]*-fdebug-prefix-map=[^ "]*@@g' \
127 -e 's@[^ ]*-fmacro-prefix-map=[^ "]*@@g' \
127 -e 's@[^ ]*--sysroot=[^ "]*@@g' \ 128 -e 's@[^ ]*--sysroot=[^ "]*@@g' \
128 -e 's@[^ ]*--with-libtool-sysroot=[^ "]*@@g' \ 129 -e 's@[^ ]*--with-libtool-sysroot=[^ "]*@@g' \
129 -e 's@[^ ]*--with-install-prefix=[^ "]*@@g' \ 130 -e 's@[^ ]*--with-install-prefix=[^ "]*@@g' \
130 -e 's@[^ ]*PKG_CONFIG_PATH=[^ "]*@@g' \ 131 -e 's@[^ ]*PKG_CONFIG_PATH=[^ "]*@@g' \
131 -e 's@[^ ]*PKG_CONFIG_LIBDIR=[^ "]*@@g' \ 132 -e 's@[^ ]*PKG_CONFIG_LIBDIR=[^ "]*@@g' \
133 -e 's@-L${STAGING_DIR_HOST}${libdir}@@g' \
134 -e 's@-I${STAGING_DIR_HOST}${includedir}@@g' \
132 -i ${D}${bindir}/net-snmp-config 135 -i ${D}${bindir}/net-snmp-config
133 136
134 if [ "${HAS_PERL}" = "1" ]; then 137 if [ "${HAS_PERL}" = "1" ]; then