[yocto] Package specific version dependencies

Francesco Del Degan f.deldegan at endian.com
Tue Aug 6 02:28:40 PDT 2013


Paul Eggleton <paul.eggleton at linux.intel.com>
writes:

> Hi Francesco,
>
> On Tuesday 06 August 2013 09:55:06 Francesco Del Degan wrote:
>> Playing with RDEPENDS variable i'm facing the needs to
>> specify a dependency based on specific version of a package
>> (greather than, in my specific case).
>> 
>> The underlying package managers supports declaring dependencies
>> including version relationships, for example:
>> 
>> Rpm:  Requires: package_xxx >= 1.0.27
>> Deb:  Depends: libc6 (>= 2.2.1)
>> Okpg: Depends: xfree (>= 6.0), glib2
>> 
>> Is this feature just missing in yocto or it's explicitly denied
>> for some reason?
>
> This should work, in fact we use it (with =) in conjunction with EXTENDPKGV 
> when we want to force packages from the same recipe to upgrade in lock-step.
>
> Have you tried adding these specifications to an RDEPENDS value?

Great, works so good! I just looked at RDEPENDS variable documentation
and missed the examples and/or other recipes.

Thank you!
  Francesco

>
> Cheers,
> Paul




More information about the yocto mailing list