<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 21 Nov 2019 at 13:39, Nicolas Dechesne &lt;<a href="mailto:nicolas.dechesne@linaro.org">nicolas.dechesne@linaro.org</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 Thu, Nov 21, 2019 at 2:15 PM Ryan Harkin &lt;<a href="mailto:ryan.harkin@linaro.org" target="_blank">ryan.harkin@linaro.org</a>&gt; wrote:<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Wed, 20 Nov 2019 at 23:53, Andre McCurdy &lt;<a href="mailto:armccurdy@gmail.com" target="_blank">armccurdy@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; 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;&gt; &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; &gt;&gt;<br>
&gt;&gt; &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; &gt;&gt;<br>
&gt;&gt; &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; &gt;&gt;<br>
&gt;&gt; &gt;&gt; RPROVIDES_${PN} += &quot;openssl-bin&quot;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; ... although I&#39;m not hopeful it&#39;ll do the trick...<br>
&gt;&gt; &gt;<br>
&gt;&gt; &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>
&gt;&gt;<br>
&gt;&gt; The &quot;openssl-bin&quot; package is created by the openssl 1.1.x recipe.<br>
&gt;&gt;<br>
&gt;&gt; Adding &quot;openssl-bin&quot; to RPROVIDES in the openssl 1.0.2 recipe is a<br>
&gt;&gt; solution for users who are switching from openssl 1.1.x back to 1.0.2<br>
&gt;&gt; and have an image which is tries to include the new openssl-bin<br>
&gt;&gt; package. I don&#39;t think that&#39;s what you are trying to do (?).<br>
&gt;<br>
&gt;<br>
&gt; Correct. I only tried it because the 1.0.2t recipe wasn&#39;t working.<br>
&gt;<br>
&gt; 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.<br>
&gt;<br>
&gt;&gt;<br>
&gt;&gt; If you are using openssl 1.0.2 then the openssl command line tool is<br>
&gt;&gt; in the openssl package... so to include the openssl command line tool,<br>
&gt;&gt; add the &quot;openssl&quot; package to your image.<br>
&gt;&gt;<br>
&gt;&gt; If you are using openssl 1.1.x then the openssl command line tool is<br>
&gt;&gt; in the openssl-bin package... so to include the openssl command line<br>
&gt;&gt; tool, add the &quot;openssl-bin&quot; package to your image.<br>
&gt;&gt;<br>
&gt;&gt; But anyway, in all cases, the way to debug what&#39;s going on isn&#39;t to<br>
&gt;&gt; try random recipe changes and then rebuild the final image. Instead<br>
&gt;&gt; you should build your chosen version of openssl, look in the<br>
&gt;&gt; packages-split directory to see which package includes the openssl<br>
&gt;&gt; command line tool and then add that package to your image.<br>
&gt;<br>
&gt;<br>
&gt; 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.<br>
<br>
most likely because you are using rm_work.<br></blockquote><div><br></div><div>Yes, I am! Thanks, Nico.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
&gt;<br>
&gt; 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 ;-)<br>
&gt; --<br>
&gt; _______________________________________________<br>
&gt; Openembedded-core mailing list<br>
&gt; <a href="mailto:Openembedded-core@lists.openembedded.org" target="_blank">Openembedded-core@lists.openembedded.org</a><br>
&gt; <a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core" rel="noreferrer" target="_blank">http://lists.openembedded.org/mailman/listinfo/openembedded-core</a><br>
</blockquote></div></div>