<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 20 Nov 2019 at 23:53, Andre McCurdy <<a href="mailto:armccurdy@gmail.com">armccurdy@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Wed, Nov 20, 2019 at 2:41 PM Ryan Harkin <<a href="mailto:ryan.harkin@linaro.org" target="_blank">ryan.harkin@linaro.org</a>> wrote:<br>
> On Wed, 20 Nov 2019 at 21:29, Ryan Harkin <<a href="mailto:ryan.harkin@linaro.org" target="_blank">ryan.harkin@linaro.org</a>> wrote:<br>
>><br>
>> I pulled the whole openssl dir from your repo, added the layer.conf changes to my layer.conf and rebuilt openssl and my image.<br>
>><br>
>> Unfortunately, I still have no /usr/bin/openssl in my disk image. So I've added the RPROVIDES from Andre's in a vain attempt to get it to work:<br>
>><br>
>> RPROVIDES_${PN} += "openssl-bin"<br>
>><br>
>> ... although I'm not hopeful it'll do the trick...<br>
><br>
> It didn't work. Once thing that's puzzling me: where is the package "openssl-bin"? I can only find references to it, but no package.<br>
<br>
The "openssl-bin" package is created by the openssl 1.1.x recipe.<br>
<br>
Adding "openssl-bin" to RPROVIDES in the openssl 1.0.2 recipe is a<br>
solution for users who are switching from openssl 1.1.x back to 1.0.2<br>
and have an image which is tries to include the new openssl-bin<br>
package. I don't think that's what you are trying to do (?).<br></blockquote><div><br></div><div>Correct. I only tried it because the 1.0.2t recipe wasn't working.</div><div><br></div><div>To be clear - I have /usr/bin/openssl in my image when using 1.0.2p from the Poky Sumo branch. When I add the 1.0.2t recipe to my own layer, openssl builds without errors, but I don't get the binary.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
If you are using openssl 1.0.2 then the openssl command line tool is<br>
in the openssl package... so to include the openssl command line tool,<br>
add the "openssl" package to your image.<br>
<br>
If you are using openssl 1.1.x then the openssl command line tool is<br>
in the openssl-bin package... so to include the openssl command line<br>
tool, add the "openssl-bin" package to your image.<br>
<br>
But anyway, in all cases, the way to debug what's going on isn't to<br>
try random recipe changes and then rebuild the final image. Instead<br>
you should build your chosen version of openssl, look in the<br>
packages-split directory to see which package includes the openssl<br>
command line tool and then add that package to your image.<br></blockquote><div><br></div><div>I don't have a packages-split. I was unaware of it, and reading the manual, it seems I should have one. But I don't. Running 'bitbake -e openssl | grep "PKGDEST="' tells me I should have one, but there are no instances in a directory called "packages-split" in my tmp dir.</div><div> </div><div>Anyway, I'm giving up for now. I'll come back to another time... or more likely, get someone smarter than me to sort it out ;-)</div></div></div>