mirror of
https://git.yoctoproject.org/poky
synced 2026-02-20 08:29:42 +01:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
bec2e54d54
commit
51ab1879a7
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user