]> code.ossystems Code Review - openembedded-core.git/commit
perl: fix creation and generate new perl-rdepends.txt
authorAwais Belal <Awais_Belal@mentor.com>
Tue, 30 Mar 2021 07:29:22 +0000 (12:29 +0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 31 Mar 2021 07:51:04 +0000 (08:51 +0100)
commit1ae1ff8edc7452e731460a46927b69af001cdf21
tree326d2767a1d7ca9242cd0fb477a843da895fa7dc
parentb25506e94b07f9aa923326d4cd0f9515ae3cfe4f
perl: fix creation and generate new perl-rdepends.txt

The creation of perl-rdepends.txt simply copied over the
generated list (perl-rdepends.generated) to perl-rdepends.txt
while missing out the manual dependencies placed in
perl-rdepends.inc. This caused missing runtime dependencies.
Additionally, the mechanism always appended which then
produced duplicated lines in perl-rdepends.txt if the creation
function is run multiple times.
We now concatenate both the .inc and .generated to the final
.txt so manual and generated both types of dependencies make
it to the final configuration. A new perl-rdepends.txt is then
generated with these fixes.

Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/perl/files/perl-rdepends.txt
meta/recipes-devtools/perl/perl_5.32.1.bb