diff options
author | Saul Wold <sgw@linux.intel.com> | 2012-02-29 20:36:08 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-01 15:51:40 +0000 |
commit | 51ab1879a77c575f405fdbe1ff6c5aa991d66b1b (patch) | |
tree | e24e66c4641ad03ece87eb9a963f3794692a17b3 /meta/recipes-devtools/perl | |
parent | bec2e54d546751e5a3b1ab60a141e56d9392a135 (diff) | |
download | poky-51ab1879a77c575f405fdbe1ff6c5aa991d66b1b.tar.gz |
perl: remove empty directories to clean QA Warnings
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
(From OE-Core rev: 2bda13df6feee87ea6fcecdce96fb5234cfa5674)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/perl')
-rw-r--r-- | 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 0abefe4150..6703b5cb3b 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 \ | |||
7 | # We need gnugrep (for -I) | 7 | # We need gnugrep (for -I) |
8 | DEPENDS = "virtual/db grep-native" | 8 | DEPENDS = "virtual/db grep-native" |
9 | DEPENDS += "gdbm zlib" | 9 | DEPENDS += "gdbm zlib" |
10 | PR = "r2" | 10 | PR = "r3" |
11 | 11 | ||
12 | # 5.10.1 has Module::Build built-in | 12 | # 5.10.1 has Module::Build built-in |
13 | PROVIDES += "libmodule-build-perl" | 13 | PROVIDES += "libmodule-build-perl" |
@@ -190,8 +190,10 @@ do_install() { | |||
190 | 190 | ||
191 | ln -sf perl ${D}/${libdir}/perl5 | 191 | ln -sf perl ${D}/${libdir}/perl5 |
192 | 192 | ||
193 | # Remove unwanted file | 193 | # Remove unwanted file and empty directories |
194 | rm -f ${D}/${libdir}/perl/${PV}/.packlist | 194 | rm -f ${D}/${libdir}/perl/${PV}/.packlist |
195 | rmdir ${D}/${libdir}/perl/site_perl/${PV} | ||
196 | rmdir ${D}/${libdir}/perl/site_perl | ||
195 | 197 | ||
196 | # Fix up shared library | 198 | # Fix up shared library |
197 | mv ${D}/${libdir}/perl/${PV}/CORE/libperl.so ${D}/${libdir}/libperl.so.${PV} | 199 | mv ${D}/${libdir}/perl/${PV}/CORE/libperl.so ${D}/${libdir}/libperl.so.${PV} |