aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordouglas.royds <douglas.royds@taitradio.com>2018-12-14 13:59:50 +1300
committerKhem Raj <raj.khem@gmail.com>2018-12-13 21:18:42 -0800
commit39a33ccca5a5a317fe97c454e80d0fb51582ccc2 (patch)
tree286327141dfbcb139feba3a7e4252f293dfa263a
parent3eb2001cdacbf7b6a6d9efdb8c4a8cd9d3e40bf1 (diff)
downloadmeta-openembedded-contrib-39a33ccca5a5a317fe97c454e80d0fb51582ccc2.tar.gz
meta-openembedded-contrib-39a33ccca5a5a317fe97c454e80d0fb51582ccc2.tar.bz2
meta-openembedded-contrib-39a33ccca5a5a317fe97c454e80d0fb51582ccc2.zip
net-snmp: reproducibility: Strip host paths from ptest files
net-snmp also installs net-snmp-config and gen-variables files that need to have host paths stripped. Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb2
1 files changed, 2 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 0250743e74..e1c780b4d6 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
@@ -78,6 +78,8 @@ PERLPROG_append = "${@bb.utils.contains('PACKAGECONFIG', 'perl', ' -I${WORKDIR}'
HAS_PERL = "${@bb.utils.contains('PACKAGECONFIG', 'perl', '1', '0', d)}"
+PTEST_BUILD_HOST_FILES += "net-snmp-config gen-variables"
+
do_configure_prepend() {
sed -i -e "s|I/usr/include|I${STAGING_INCDIR}|g" \
"${S}"/configure \