]> code.ossystems Code Review - openembedded-core.git/commitdiff
perl-native: Remove .packlist file
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 4 Feb 2017 17:31:17 +0000 (17:31 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 7 Feb 2017 14:47:20 +0000 (14:47 +0000)
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.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/perl/perl-native_5.24.0.bb

index af2ad7b510387b18dabeed40f367f7461da9f515..42162574b077a0959846a53cc29fd509a16d40cd 100644 (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"