Hi, On Tue, Oct 04, 2022 at 11:44:51AM +0100, Richard Purdie wrote: > On Tue, 2022-10-04 at 13:11 +0300, Mikko Rapeli wrote: > > It sets environment variables etc correctly for openssl-native use. > > For most kernel side use cases are covered by plain openssl native > > wrapper but some out of tree e.g. python scripts may be not. > > When you say "out of tree", you mean scripts in the kernel we don't use > by default, or scripts that aren't in the kernel at all but some users > add?
Both. Same for u-boot which has internal signing scripts that require python3-cryptography-native which doesn't work out of the box. > I'd have thought the dependency on the class would be added where it > was being used? Yes, this could be done too, but I'd like to set a clear example in poky by using this bbclass. The root causes are not obvious when ../usr/bin/openssl works but ../usr/lib/libcrypto.so doesn't. Cheers, -Mikko
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#171387): https://lists.openembedded.org/g/openembedded-core/message/171387 Mute This Topic: https://lists.openembedded.org/mt/94110200/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-