[yocto] Which bb is chosen when several versions are available

Rudolf J Streif rudolf.streif at gmail.com
Wed Jul 11 12:30:59 PDT 2018


The one with the higher version number unless explicitly overridden with
PREFERRED_VERSION_php.

However, if there is also a recipe with <PN>_git.bb then that one will
be chosen as git indicates the latest.

:rjs


On 07/11/2018 12:28 PM, Simon Chamlian wrote:
> Hi,
>
> In the BSP yocto image, I have 2 recipes:
>
> /sources/meta-openembedded/meta-oe/recipes-devtools/php
>
> drwxrwxr-x 2 jay jay  4096 Jun 28 09:48 php
> -rw-rw-r-- 1 jay jay   232 Jun 28 09:48 php_5.5.38.bb
> <http://php_5.5.38.bb>
> drwxrwxr-x 2 jay jay  4096 Jun 28 09:48 php-5.6.26
> -rw-rw-r-- 1 jay jay   291 Jun 28 09:48 php_5.6.26.bb
> <http://php_5.6.26.bb>
> -rw-rw-r-- 1 jay jay 11980 Jun 28 09:48 php.inc
>
>
> If I add in my image recipe:
> CORE_IMAGE_EXTRA_INSTALL += " \
>     php \  
> "
>
> which version will be included?
>
> Thanks,
> S
>
>
>

-- 
Rudolf J Streif

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20180711/0756c433/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20180711/0756c433/attachment.pgp>


More information about the yocto mailing list