From a6653e6dd42910ea2ad83aa1cd87ae7828555caf Mon Sep 17 00:00:00 2001 From: Persian Prince Date: Fri, 25 Jun 2021 03:43:57 +0430 Subject: samba: Don't guess dirs for perllocal.pod removing We're not living in a perfect world so avoid build failures like: ERROR: samba-4.14.5-r0 do_package_qa: QA Issue: samba-pidl contains perllocal.pod (/usr/lib/perl5/5.34.0/x86_64-linux/perllocal.pod), should not be installed [perllocalpod] ERROR: samba-4.14.5-r0 do_package_qa: QA run found fatal errors. Please consider fixing them. Signed-off-by: Khem Raj --- meta-networking/recipes-connectivity/samba/samba_4.14.5.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta-networking') diff --git a/meta-networking/recipes-connectivity/samba/samba_4.14.5.bb b/meta-networking/recipes-connectivity/samba/samba_4.14.5.bb index 82108842f..018bbf163 100644 --- a/meta-networking/recipes-connectivity/samba/samba_4.14.5.bb +++ b/meta-networking/recipes-connectivity/samba/samba_4.14.5.bb @@ -209,7 +209,7 @@ do_install_append() { fi oe_runmake -C ${S}/pidl DESTDIR=${D} install_vendor - rm -rf ${D}${libdir}/perl5/${PERLVERSION}/${BUILD_SYS}/perllocal.pod + find ${D}${libdir}/ -type f -name "perllocal.pod" | xargs rm -f rm -rf ${D}${libdir}/perl5/vendor_perl/${PERLVERSION}/${BUILD_SYS}/auto/Parse/Pidl/.packlist } -- cgit v1.2.3-54-g00ecf