diff options
author | Yi Zhao <yi.zhao@windriver.com> | 2021-09-23 14:37:18 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2021-09-24 08:12:36 -0700 |
commit | ce9a5941f90a4e2c0514df7503786cbc2188d08e (patch) | |
tree | 37e37afcace166bfc289f46f1df28e409812e07e /meta-networking/recipes-protocols/net-snmp | |
parent | 1e3a6e7be33eb28a3733e7f3066d98fcc881ac75 (diff) | |
download | meta-openembedded-contrib-ce9a5941f90a4e2c0514df7503786cbc2188d08e.tar.gz |
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>
Diffstat (limited to 'meta-networking/recipes-protocols/net-snmp')
-rw-r--r-- | meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.1.bb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.1.bb b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.1.bb index e6ea2ddae5..e5a28de40d 100644 --- a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.1.bb +++ b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.1.bb @@ -151,6 +151,10 @@ do_install:append() { -i ${D}${bindir}/net-snmp-config 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() { |