[OE-core] [PATCH 1/7] perl: remove empty directories to clean QA Warnings
Saul Wold
sgw at linux.intel.com
Thu Mar 1 07:26:04 UTC 2012
WARNING: For recipe perl, the following files/directories were installed but not shipped in any package:
WARNING: /usr/lib/perl/site_perl
WARNING: /usr/lib/perl/site_perl/5.14.2
Signed-off-by: Saul Wold <sgw at linux.intel.com>
---
meta/recipes-devtools/perl/perl_5.14.2.bb | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/meta/recipes-devtools/perl/perl_5.14.2.bb b/meta/recipes-devtools/perl/perl_5.14.2.bb
index 0abefe4..6703b5c 100644
--- a/meta/recipes-devtools/perl/perl_5.14.2.bb
+++ b/meta/recipes-devtools/perl/perl_5.14.2.bb
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://Copying;md5=2b4c6ffbcfcbdee469f02565f253d81a \
# We need gnugrep (for -I)
DEPENDS = "virtual/db grep-native"
DEPENDS += "gdbm zlib"
-PR = "r2"
+PR = "r3"
# 5.10.1 has Module::Build built-in
PROVIDES += "libmodule-build-perl"
@@ -190,8 +190,10 @@ do_install() {
ln -sf perl ${D}/${libdir}/perl5
- # Remove unwanted file
+ # Remove unwanted file and empty directories
rm -f ${D}/${libdir}/perl/${PV}/.packlist
+ rmdir ${D}/${libdir}/perl/site_perl/${PV}
+ rmdir ${D}/${libdir}/perl/site_perl
# Fix up shared library
mv ${D}/${libdir}/perl/${PV}/CORE/libperl.so ${D}/${libdir}/libperl.so.${PV}
--
1.7.7.6
More information about the Openembedded-core
mailing list