> On Wed, 24 Jan 2024 at 04:22, Lyu, William via lists.openembedded.org
> <[email protected]> wrote:
>> +    # modules are manually split (eg. perl-module-unicore). Also, the split
>> +    # packages should not include packages defined in RPROVIDES:${PN}. In
>> +    # addition, "perl-module-config-git" is not a valid package as
>> +    # Config_git.pl is listed under FILES:${PN}.
>> +    empty_module_pkgs = d.getVar(d.expand("RPROVIDES:${PN}")).split() + 
>> ['perl-module-config-git']
> 
> Nearly there - I think it's better to add perl-module-config-git to
> RPROVIDES:perl, and avoid special casing here.

It makes perfect sense to me now. perl-module-config-git is just like 
perl-module-strict. As the file - "${libdir}/perl5/${PV}/strict.pm" - 
corresponding to perl-module-strict is already listed under FILES:${PN}, ${PN} 
is effectively runtime-providing (RPROVIDES) perl-module-strict. Similarly, we 
see that the file - "${libdir}/perl5/${PV}/*/Config_git.pl" - corresponding to 
perl-module-config-git is also listed under FILES:${PN}, ${PN} is effectively 
runtime-providing (RPROVIDES) perl-module-config-it.

I will submit a new patch. 

Thanks!
William

> 
> Alex
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#194295): 
https://lists.openembedded.org/g/openembedded-core/message/194295
Mute This Topic: https://lists.openembedded.org/mt/103888731/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to