[yocto] PREFERRED_PROVIDER entry in local.conf

Paul Eggleton paul.eggleton at linux.intel.com
Thu Apr 10 08:16:29 PDT 2014


On Thursday 10 April 2014 15:53:12 Romain wrote:
> On 10 April 2014 14:31, Paul Eggleton <paul.eggleton at linux.intel.com>wrote:
> > Of these, only PREFERRED_PROVIDER_sshd = "openssh" would be expected to
> > work. However, testing it locally I think there is a problem here; I'll do
> > some more investigation.
> > 
> > That said, one workaround would be to find where you have "sshd" in
> > RDEPENDS or IMAGE_INSTALL and just use the specific name (openssh-sshd) in
> > there instead. (I'm assuming this is in one of your layers or modifications
> > since we don't have runtime dependencies on "sshd" in the core itself.)
>
> I am now using "openssh-sshd" in IMAGE_INSTALL and it solved the problem.

OK great. FYI I've filed the following bug for this issue:

  https://bugzilla.yoctoproject.org/show_bug.cgi?id=6149

> For jpeg unfortunately it can't be solved like this because others recipes
> depends on jpeg. I think the PREFERRED_PROVIDER is the only solution to
> choose between jpeg and libjpeg-turbo.

So for jpeg, PREFERRED_PROVIDER_jpeg will work, since that is a build-time 
dependency / provider situation which is definitely working.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the yocto mailing list