perl-native: Remove .packlist file

This is large and needs fixups to relocate it in each case. We can drop it, save
the work and the ~150MB disk space its various copies take up. Its not needed
for anything that I can see.

(From OE-Core rev: 9792ba51c5caf56d182f1290df41f2a89b85f744)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie 2017-02-04 17:31:17 +00:00
parent c8b280e8a4
commit 4764c113f9
1 changed files with 4 additions and 0 deletions

View File

@ -106,6 +106,10 @@ do_install () {
for f in `grep -Il '#! *${bindir}/perl' ${D}/${bindir}/*`; do
sed -i -e 's|${bindir}/perl|/usr/bin/env nativeperl|' $f
done
# The packlist is large with hardcoded paths meaning it needs relocating
# so just remove it.
rm ${D}${libdir}/perl/${PV}/.packlist
}
SYSROOT_PREPROCESS_FUNCS += "perl_sysroot_create_wrapper"