Hi,

On Tue, Nov 19, 2024 at 12:06:58AM -0800, emailaddress.ashish via 
lists.yoctoproject.org wrote:
> Hi Members ,
> 
> I want openssl-3.2.x build to use some file from openssl-3.0.8 build
> So this requires the same build to generate build for both version of openssl 
> .

Don't do this.

> Is there any preferred way which senior member can suggest orĀ  any sample 
> implementation for this
> 
> As of now i am looking at an logic where same build had two different recipe 
> in Yocto Rocko (openssl10_1.0.2r.bb
> openssl_1.1.1b.bb )
> https://git.yoctoproject.org/poky/tree/meta/recipes-connectivity/openssl?id=34fa190d957f19f69ede7af68f75e3beef3fc96a
> 
> We are working to get the openssl_3.2.2 with openssl_3.0.8 FIPS support.
> I have created an recipe and got all work done to have openssl-3.0.8 with 
> Fips on Yocto scrathgap.
> 
> Can senior members suggest proper way of doing this

First suggestion:

 * don't do this, really don't. Build only single version of openssl and convert
   all users to this version. Really, do this only!

Second workaround:

 * if you really, really can't do this, then the two openssl recipes need to be 
completely
   separated: different recipes names, different install binary names and/or 
paths for all installed
   files, convert all openssl users to use the 'correct' version etc etc. And 
of course no openssl
   upstream recipe will do this by default so it's up to you to change the 
recipe for this usecase
   which is very, very hard.

Really, use only single openssl version. The correct things are sometimes the 
hard
things to do, but nothing makes the easier things more correct. Workarounds are 
often
easy only initially and later on will lead to much more work, more workarounds 
and maintenance
chaos.

Cheers,

-Mikko
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#64297): https://lists.yoctoproject.org/g/yocto/message/64297
Mute This Topic: https://lists.yoctoproject.org/mt/109661395/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to