[OE-core] [PATCH 3/6] perl-native: Remove .packinfo file
Martin Jansa
martin.jansa at gmail.com
Mon Feb 6 19:26:53 UTC 2017
On Mon, Feb 06, 2017 at 03:52:11PM +0000, Richard Purdie wrote:
> 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.
-1
The subject says .packinfo, but the change is for .packlist.
>
> Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
> ---
> meta/recipes-devtools/perl/perl-native_5.24.0.bb | 4 ++++
> 1 file changed, 4 insertions(+)
>
> 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 af2ad7b..4216257 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 () {
> 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"
> --
> 2.7.4
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
--
Martin 'JaMa' Jansa jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20170206/ebbda5f1/attachment-0002.sig>
More information about the Openembedded-core
mailing list