From 0fc059102928ac010968b7e708b47b2cf69ff65f Mon Sep 17 00:00:00 2001 From: Donald Buczek Date: Thu, 19 Oct 2017 15:09:38 +0200 Subject: [PATCH] perl-modules: Exclude perllocal.pod from image perllocal.pod is supposed to be appended to by make install. This doesn't make sense, when we install into another destdir and distribute the package as a tar archive. Remove perllocal.pod from the archive. --- buildtypes/perl-module-makemaker.sh.in | 1 + buildtypes/perl-module.sh.in | 1 + 2 files changed, 2 insertions(+) diff --git a/buildtypes/perl-module-makemaker.sh.in b/buildtypes/perl-module-makemaker.sh.in index 4d4c997..67e8d5a 100644 --- a/buildtypes/perl-module-makemaker.sh.in +++ b/buildtypes/perl-module-makemaker.sh.in @@ -53,4 +53,5 @@ bee_install() { start_cmd make ${BEE_MAKEFLAGS} \ install \ "${@}" + find ${D} -name perllocal.pod -exec rm {} \; } diff --git a/buildtypes/perl-module.sh.in b/buildtypes/perl-module.sh.in index 3d1457f..ae16b73 100644 --- a/buildtypes/perl-module.sh.in +++ b/buildtypes/perl-module.sh.in @@ -53,4 +53,5 @@ bee_install() { start_cmd ./Build \ install \ "${@}" + find ${D} -name perllocal.pod -exec rm {} \; }