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>
This commit is contained in:
douglas.royds
2018-12-14 13:59:50 +13:00
committed by Khem Raj
parent 3eb2001cda
commit 39a33ccca5
@@ -78,6 +78,8 @@ PERLPROG_append = "${@bb.utils.contains('PACKAGECONFIG', 'perl', ' -I${WORKDIR}'
HAS_PERL = "${@bb.utils.contains('PACKAGECONFIG', 'perl', '1', '0', d)}" HAS_PERL = "${@bb.utils.contains('PACKAGECONFIG', 'perl', '1', '0', d)}"
PTEST_BUILD_HOST_FILES += "net-snmp-config gen-variables"
do_configure_prepend() { do_configure_prepend() {
sed -i -e "s|I/usr/include|I${STAGING_INCDIR}|g" \ sed -i -e "s|I/usr/include|I${STAGING_INCDIR}|g" \
"${S}"/configure \ "${S}"/configure \