Skip to contentSkip to conversation

net-snmp: reproducibility: Strip host paths from ptest files

PATCH New Douglas Royds 1 participant 1 message Dec 14, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb +2 -0
index 0250743e7..e1c780b4d 100644
@@ -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 \
Signature · 1 line
2.17.1