[yocto] How can I use PREFERRED_VERSION_ ?

Anders Darander anders at chargestorm.se
Tue Aug 15 05:43:44 PDT 2017


* Riko <antonius.riko at gmail.com> [170815 14:36]:

> is openembedded-core layer equal to meta-openembedded layer ?

Did you read my reply to your other thread?

> this conf was working before :

> BBLAYERS ?= " \
>   /home/bianchi/poky/meta \
>   /home/bianchi/poky/meta-poky \
>   /home/bianchi/poky/meta-yocto-bsp \
>   /home/bianchi/poky/openembedded-core \

>   /home/bianchi77/poky/meta-openembedded \
This isn't a layer, remove this line.

And ensure that you all your layers are from the same release branches.

Cheers,
Anders

>   /home/bianchi77/poky/meta-openembedded/meta-oe \
>   /home/bianchi77/poky/meta-openembedded/meta-xfce \
>   /home/bianchi77/poky/meta-openembedded/meta-gnome \
>   /home/bianchi77/poky/meta-openembedded/meta-python \
>   /home/bianchi77/poky/meta-openembedded/meta-multimedia \
>   /home/bianchi77/poky/meta-openembedded/meta-networking \


> On 15/08/17 17:20, Martin Jansa wrote:
> > and you should start by not including 2 different versions of
> > openembedded-core/meta in your builds.

> > Then you won't need PREFERRED_VERSION for openssl and the issue with
> > wic.vmdk you reported elsewhere will also probably disappear.

> > On Tue, Aug 15, 2017 at 7:31 AM, Khem Raj <raj.khem at gmail.com
> > <mailto:raj.khem at gmail.com>> wrote:

> >     On Mon, Aug 14, 2017 at 7:15 PM, Riko <antonius.riko at gmail.com
> >     <mailto:antonius.riko at gmail.com>> wrote:
> >     > Dear Yocto Team Members,

> >     > How can I use PREFERRED_VERSION_ ?



> >     read through
> >     http://www.yoctoproject.org/docs/latest/ref-manual/ref-manual.html#var-PREFERRED_VERSION
> >     <http://www.yoctoproject.org/docs/latest/ref-manual/ref-manual.html#var-PREFERRED_VERSION>

> >     > ERROR: Multiple versions of openssl are due to be built

> >     (/home/bianchi/poky/openembedded-core/meta/recipes-connectivity/openssl/openssl_1.1.0f.bb
> >     <http://openssl_1.1.0f.bb>

> >     /home/bianchi/poky/meta/recipes-connectivity/openssl/openssl_1.0.2k.bb
> >     <http://openssl_1.0.2k.bb>).
> >     > Only one version of a given PN should be built in any given
> >     build. You
> >     > likely need to set PREFERRED_VERSION_openssl to select the
> >     correct version
> >     > or don't depend on multiple versions.


> >     > Regards,

> >     > Riko

> >     > --
> >     > _______________________________________________
> >     > yocto mailing list
> >     > yocto at yoctoproject.org <mailto:yocto at yoctoproject.org>
> >     > https://lists.yoctoproject.org/listinfo/yocto
> >     <https://lists.yoctoproject.org/listinfo/yocto>
> >     --
> >     _______________________________________________
> >     yocto mailing list
> >     yocto at yoctoproject.org <mailto:yocto at yoctoproject.org>
> >     https://lists.yoctoproject.org/listinfo/yocto
> >     <https://lists.yoctoproject.org/listinfo/yocto>
-- 
Anders Darander, Senior System Architect
ChargeStorm AB / eStorm AB



More information about the yocto mailing list