[yocto] How to remove openssl from sysroots

Alexander Kanavin alex.kanavin at gmail.com
Sun Jul 8 01:07:12 PDT 2018


If the issue is that openssl is 'out of date', then oe-core already
provides a 1.1 version that can be selected via PREFERRED_VERSION as
well.

What is the specific need for the 3rd party version?

Alex

2018-07-08 0:41 GMT+02:00 Burton, Ross <ross.burton at intel.com>:
> Presumably you've a recipe for the vendor openssl.  If it has the same
> name but is a different version then just set PREFERRED_VERSION.  If
> it has a different name too, it should PROVIDE openssl and you can
> just set PREFERRED_PROVIDER.
>
> If it doesn't do either of those things, then it is broken.
>
> Ross
>
> On 6 July 2018 at 23:06, Raymond Yeung <rksyeung at hotmail.com> wrote:
>> I've changed the subject heading to make it more specific to our problem.
>> Hopefully this generates some responses.
>>
>>
>> It has been blocking us for close to one week now.  We want to use our 3rd
>> party vendor openssl, not the one that comes with the source.  Apparently,
>> even with "minimal" instead of "base" or "sato" cannot exclude it.
>>
>>
>> Any idea [e.g. how do we systematically find out how it's included now, and
>> possibly what other packages/recipes we may also need to remove due to
>> dependency]?
>>
>>
>> Thanks,
>>
>> Raymond
>>
>>
>>
>> ________________________________
>> From: Raymond Yeung <rksyeung at hotmail.com>
>> Sent: Monday, July 2, 2018 11:05 PM
>> To: yocto at yoctoproject.org
>> Subject: How to remove a package from a build
>>
>>
>> We've our own non-yocto openssl that we want to use.  At the moment, we're
>> using "sato" image, rather than "minimal" and includes its openssl that is
>> out-of-date.  What is the best way to exclude it from our image (and from
>> sysroots)?
>>
>>
>> We have thought about two ideas -
>>
>>
>> Use smaller image like core-image-base, or core-image-full-cmdline (but not
>> -minimal that may remove too much functionality).
>> Use INSTALL_IMAGE_remove += " openssl"
>>
>>
>> Would either one work?  Also, how do I follow the .bb files etc (e.g.
>> starting from the one for sato) to trace down which sub-package includes
>> openssl?
>>
>>
>> Thanks,
>>
>> Raymond
>>
>>
>> --
>> _______________________________________________
>> yocto mailing list
>> yocto at yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
>>
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto


More information about the yocto mailing list