Replacing Openssl with a custom version?

3 messages, 3 authors, 2017-10-10 · open the first message on its own page

Replacing Openssl with a custom version?

From: Ryan Pabis (pabisr) <hidden>
Date: 2017-10-10 18:38:08

All,

I’m trying to build, link and install our Cisco version of ssl.  And I’ve been able to compile and link it, however I don’t understand how to install our cisco version INSTEAD of openssl.

Any help is greatly appreciated.

Regards,
Ryan

How to use same user in two recipes?

From: Fabien Lahoudere <hidden>
Date: 2017-10-10 20:01:47

Hello

I want to use the same user in two different recipe. 
I create the user in recipe A.bb and it works fine.
Now I want to use the same user in B.bb so I add DEPENDS = "A" thinking that sysroot will be
populated with A.bb users.

But when I bitbake the recipe, user is not found. 
I conclude that I have to use USERADD_* in each recipe, right?

What happen if I use different USERADD_PARAM_${PN} in each recipe?

I also try to use EXTRA_USERS_PARAMS but without success?

Is there a way to populate sysroot with users?

Thanks

-- 
Fabien

Re: Replacing Openssl with a custom version?

From: Paul Eggleton <hidden>
Date: 2017-10-10 21:19:33

Hi Ryan,

On Wednesday, 11 October 2017 7:37:02 AM NZDT Ryan Pabis (pabisr) wrote:
I’m trying to build, link and install our Cisco version of ssl.  And I’ve
been able to compile and link it, however I don’t understand how to install
our cisco version INSTEAD of openssl.
The easiest way would be to have your recipe add "openssl" (and possibly 
"openssl10" in master / upcoming 2.5 release) to PROVIDES i.e.

PROVIDES += "openssl openssl10"

Then, in your configuration (distro config or inc file required from there 
typically) you would add this assuming your custom openssl recipe were called 
openssl-cisco:

PREFERRED_PROVIDER_openssl = "openssl-cisco"
PREFERRED_PROVIDER_openssl10 = "openssl-cisco"

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help