]> code.ossystems Code Review - openembedded-core.git/commit
insane: add check for perllocal.pod
authorRoss Burton <ross.burton@intel.com>
Fri, 4 Oct 2019 00:22:17 +0000 (01:22 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 8 Oct 2019 10:22:19 +0000 (11:22 +0100)
commit5d16d265cc61c4e279fe3bf66016a00d9daa4068
tree845b1660b2ea0c13aef484b1b7024a488d81c163
parentb1fffd407029d5936e01ba6988b9e82279d98285
insane: add check for perllocal.pod

perlocal.pod is an index file of locally installed modules and so shouldn't be
installed by any distribution packages.  cpan.bbclass already sets NO_PERLOCAL
to stop this file being generated by most Perl recipes, but if a recipe is using
MakeMaker directly (such as rrdtool) then they might not be doing this
correctly.

To avoid multiple packages shipping this file and then failing to install
together, add a QA test to check if this file exists and by default emit an
error if it does.

[ YOCTO #13491 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/insane.bbclass