diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-02-04 17:31:17 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-02-07 14:50:09 +0000 |
commit | 4764c113f988e596f30e484720e694b413211da9 (patch) | |
tree | 873034f5beea3240aadc5fdd21be9d46dd6d1395 | |
parent | c8b280e8a47b36abfb4368b3f1023ba57eb5bc5a (diff) | |
download | poky-4764c113f988e596f30e484720e694b413211da9.tar.gz |
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>
-rw-r--r-- | meta/recipes-devtools/perl/perl-native_5.24.0.bb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl/perl-native_5.24.0.bb b/meta/recipes-devtools/perl/perl-native_5.24.0.bb index af2ad7b510..42162574b0 100644 --- a/meta/recipes-devtools/perl/perl-native_5.24.0.bb +++ b/meta/recipes-devtools/perl/perl-native_5.24.0.bb | |||
@@ -106,6 +106,10 @@ do_install () { | |||
106 | for f in `grep -Il '#! *${bindir}/perl' ${D}/${bindir}/*`; do | 106 | for f in `grep -Il '#! *${bindir}/perl' ${D}/${bindir}/*`; do |
107 | sed -i -e 's|${bindir}/perl|/usr/bin/env nativeperl|' $f | 107 | sed -i -e 's|${bindir}/perl|/usr/bin/env nativeperl|' $f |
108 | done | 108 | done |
109 | |||
110 | # The packlist is large with hardcoded paths meaning it needs relocating | ||
111 | # so just remove it. | ||
112 | rm ${D}${libdir}/perl/${PV}/.packlist | ||
109 | } | 113 | } |
110 | 114 | ||
111 | SYSROOT_PREPROCESS_FUNCS += "perl_sysroot_create_wrapper" | 115 | SYSROOT_PREPROCESS_FUNCS += "perl_sysroot_create_wrapper" |