[yocto] PREFERRED_PROVIDER entry in local.conf
Paul Eggleton
paul.eggleton at linux.intel.com
Thu Apr 10 06:31:29 PDT 2014
Hi Romain,
On Tuesday 08 April 2014 18:10:11 Romain wrote:
> While building an image I get those notes, and I would like to lock down
> the providers for sshd and jpeg :
> NOTE: multiple providers are available for runtime sshd (openssh, dropbear)
> NOTE: consider defining a PREFERRED_PROVIDER entry to match sshd
> NOTE: multiple providers are available for jpeg (jpeg, libjpeg-turbo)
> NOTE: consider defining a PREFERRED_PROVIDER entry to match jpeg
>
> I tried a few syntax in the local.conf, but none of them seem to work :
> PREFERRED_PROVIDER_virtual/sshd = "ssh-server-openssh"
> PREFERRED_PROVIDER_sshd = "ssh-server-openssh"
> PREFERRED_PROVIDER_sshd = "openssh"
> PREFERRED_PROVIDER_openssh = "sshd"
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.)
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
More information about the yocto
mailing list