pcp: Fix contains reference to TMPDIR [buildpaths] warnings
PATCH 1/1 pcp: Fix contains reference to TMPDIR [buildpaths] warnings
WARNING: pcp-6.0.5-r0 do_package_qa: QA Issue: File /etc/pcp.conf in package pcp contains reference to TMPDIR [buildpaths]
WARNING: pcp-6.0.5-r0 do_package_qa: QA Issue: File /usr/include/pcp/builddefs in package pcp-dev contains reference to TMPDIR [buildpaths]
Signed-off-by alperak <[email protected]>
--- meta-oe/recipes-support/pcp/pcp_6.0.5.bb | 4 ++++ 1 file changed, 4 insertions(+)
meta-oe/recipes-support/pcp/pcp_6.0.5.bb +4 -0
@@ -93,6 +93,10 @@ do_install () { sed -i "s#PCP_SORT_PROG=.*#PCP_SORT_PROG=sort#" ${D}/${sysconfdir}/pcp.conf sed -i "s#PCP_ECHO_PROG=.*#PCP_ECHO_PROG=echo#" ${D}/${sysconfdir}/pcp.conf sed -i "s#PCP_WHICH_PROG=.*#PCP_WHICH_PROG=which#" ${D}/${sysconfdir}/pcp.conf + sed -i -e 's#${RECIPE_SYSROOT}##g' ${D}/${sysconfdir}/pcp.conf + sed -i -e 's#${RECIPE_SYSROOT}##g' \ + -e 's#${RECIPE_SYSROOT_NATIVE}##g' \ + -e 's#${TMPDIR}##g' ${D}${includedir}/pcp/builddefs } PACKAGES += " ${PN}-export-zabbix-agent ${PN}-testsuite \
Signature · 1 line
2.25.1