Re: RDEPENDS of something provided by ALTERNATIVE


Richard Purdie
 

On Wed, 2022-08-03 at 09:25 +0200, Martin Jansa wrote:
You can use VIRTUAL-RUNTIME_sed variable instead of 'sed'
_everywhere_ and then change the preferred runtime provider in your
DISTRO config.

Similar case for "stat" from busybox in webOS OSE:
https://github.com/webosose/meta-webosose/search?q=VIRTUAL-RUNTIME_stat

and much worse case (because too many places add runtime dependency
on bash) to replace bash:
https://github.com/webosose/meta-webosose/search?q=VIRTUAL-RUNTIME_bash
see
https://bugzilla.yoctoproject.org/show_bug.cgi?id=9217#c5
This is where we should perhaps think about the filter variable option
Joshua and I have talked about periodically as that could handle this
in a much neater and generic way, at the unfortunate cost of
complexity.

The multilib code already tries to do this kind of remapping.

Cheers,

Richard

Join {yocto@lists.yoctoproject.org to automatically receive all group messages.