<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 &lt;<a href="mailto:armccurdy@gmail.com">armccurdy@gmail.com</a>&gt; 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 &lt;<a href="mailto:ryan.harkin@linaro.org" target="_blank">ryan.harkin@linaro.org</a>&gt; wrote:<br>
&gt; On Wed, 20 Nov 2019 at 21:29, Ryan Harkin &lt;<a href="mailto:ryan.harkin@linaro.org" target="_blank">ryan.harkin@linaro.org</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; 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>
&gt;&gt;<br>
&gt;&gt; Unfortunately, I still have no /usr/bin/openssl in my disk image. So I&#39;ve added the RPROVIDES from Andre&#39;s in a vain attempt to get it to work:<br>
&gt;&gt;<br>
&gt;&gt; RPROVIDES_${PN} += &quot;openssl-bin&quot;<br>
&gt;&gt;<br>
&gt;&gt; ... although I&#39;m not hopeful it&#39;ll do the trick...<br>
&gt;<br>
&gt; It didn&#39;t work. Once thing that&#39;s puzzling me: where is the package &quot;openssl-bin&quot;? I can only find references to it, but no package.<br>
<br>
The &quot;openssl-bin&quot; package is created by the openssl 1.1.x recipe.<br>
<br>
Adding &quot;openssl-bin&quot; 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&#39;t think that&#39;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&#39;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&#39;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 &quot;openssl&quot; 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 &quot;openssl-bin&quot; package to your image.<br>
<br>
But anyway, in all cases, the way to debug what&#39;s going on isn&#39;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&#39;t have a packages-split. I was unaware of it, and reading the manual, it seems I should have one. But I don&#39;t. Running &#39;bitbake -e openssl | grep &quot;PKGDEST=&quot;&#39; tells me I should have one, but there are no instances in a directory called &quot;packages-split&quot; in my tmp dir.</div><div> </div><div>Anyway, I&#39;m giving up for now. I&#39;ll come back to another time... or more likely, get someone smarter than me to sort it out ;-)</div></div></div>