mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-04 14:39:54 +00:00
net-snmp: remove perllocal.pod when enable packageconfig[perl]
Fixes: ERROR: net-snmp-5.9.1-r0 do_package_qa: QA Issue: net-snmp-perl-modules contains perllocal.pod (/usr/lib/perl5/5.34.0/x86_64-linux/perllocal.pod), should not be installed [perllocalpod] ERROR: net-snmp-5.9.1-r0 do_package_qa: QA run found fatal errors. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -151,6 +151,10 @@ do_install:append() {
|
|||||||
-i ${D}${bindir}/net-snmp-config
|
-i ${D}${bindir}/net-snmp-config
|
||||||
|
|
||||||
oe_multilib_header net-snmp/net-snmp-config.h
|
oe_multilib_header net-snmp/net-snmp-config.h
|
||||||
|
|
||||||
|
if [ "${HAS_PERL}" = "1" ]; then
|
||||||
|
find ${D}${libdir}/ -type f -name "perllocal.pod" | xargs rm -f
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install_ptest() {
|
do_install_ptest() {
|
||||||
|
|||||||
Reference in New Issue
Block a user