Hi Martin,

On 11/23/22 06:25, Martin wrote:
thanks for reply, i original method was specified the package version in 
local.conf by PREFEREED_VERSION.

i wondering if configure package version in package group via RDEPENDS makes it 
possible? but it seems impossible.

what situations allow REDPENDS to specify a version? thanks.


As far as I remember, RDEPENDS is handled by the package manager when installing the package. So I imagine this is a way to make sure that a filesystem is not built with two packages that are incompatible at runtime by failing when creating the filesystem. The choice of which version to build is a responsibility of Bitbake which happens way before RDEPENDS.

Also, chant #1 of Yocto applies:
recipe data is local, config data is global.
So you cannot impact one recipe from another, this implies you cannot pick a version of one recipe from another, you can only say whether you're compatible with it.

Cheers,
Quentin
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#58627): https://lists.yoctoproject.org/g/yocto/message/58627
Mute This Topic: https://lists.yoctoproject.org/mt/95192012/21656
Mute #bitbake:https://lists.yoctoproject.org/g/yocto/mutehashtag/bitbake
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to