mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-03 14:19:52 +00:00
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 <alperyasinak1@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -93,6 +93,10 @@ do_install () {
|
|||||||
sed -i "s#PCP_SORT_PROG=.*#PCP_SORT_PROG=sort#" ${D}/${sysconfdir}/pcp.conf
|
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_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 "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 \
|
PACKAGES += " ${PN}-export-zabbix-agent ${PN}-testsuite \
|
||||||
|
|||||||
Reference in New Issue
Block a user