]> 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>
Mon, 5 Apr 2021 14:27:43 +0000 (15:27 +0100)
commit61d6584eeadb42943a020c4168f398e7abb377e2
treecedd995509f497a16fde2d61eb5ecc557a178b4d
parent2256afc652d69e720a31f7c5858d5ab32b0065f2
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