<div dir="ltr">Checksums don&#39;t need any special treatment with downloadfilename parameter.</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, May 7, 2018 at 5:48 PM, Trevor Woerner <span dir="ltr">&lt;<a href="mailto:twoerner@gmail.com" target="_blank">twoerner@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Martin,<br>
<span class=""><br>
On Mon 2018-05-07 @ 05:33:26 PM, Martin Jansa wrote:<br>
&gt; There is already a fix for this, see:<br>
&gt; <a href="http://lists.openembedded.org/pipermail/openembedded-core/2018-May/150423.html" rel="noreferrer" target="_blank">http://lists.openembedded.org/<wbr>pipermail/openembedded-core/<wbr>2018-May/150423.html</a><br>
<br>
</span>Oops, I should have checked, sorry!<br>
<span class=""><br>
&gt; Using github archives is even worse as they are regenerated from time to<br>
&gt; time.<br>
<br>
</span>Crazy! But good to know.<br>
<span class=""><br>
&gt; Also when you really want to use v${PV}.tar.gz archive, then<br>
&gt; use downloadfilename parameter to fetch it with some more meaningful<br>
&gt; filename and to prevent possible conflicts with other badly named tarballs.<br>
<br>
</span>Oh, I see, in one&#39;s own DL_DIR. So (not that this patch is relevant anymore)<br>
instead of:<br>
<span class=""><br>
  Â  Â  Â  -SRC_URI = &quot;<a href="http://www.efficios.com/files/babeltrace/babeltrace-${PV}.tar.bz2" rel="noreferrer" target="_blank">http://www.efficios.com/<wbr>files/babeltrace/babeltrace-${<wbr>PV}.tar.bz2</a> \<br>
  Â  Â  Â  -&quot;<br>
  Â  Â  Â  +SRC_URI = &quot;<a href="https://github.com/efficios/babeltrace/archive/v${PV}.tar.gz" rel="noreferrer" target="_blank">https://github.com/efficios/<wbr>babeltrace/archive/v${PV}.tar.<wbr>gz</a>&quot;<br>
<br>
</span>better:<br>
<span class=""><br>
  Â  Â  Â  -SRC_URI = &quot;<a href="http://www.efficios.com/files/babeltrace/babeltrace-${PV}.tar.bz2" rel="noreferrer" target="_blank">http://www.efficios.com/<wbr>files/babeltrace/babeltrace-${<wbr>PV}.tar.bz2</a> \<br>
  Â  Â  Â  -&quot;<br>
</span>  Â  Â  Â  +SRC_URI = &quot;<a href="https://github.com/efficios/babeltrace/archive/v${PV}.tar.gz;downloadfilename=babeltrace-v${PV}.tar.gz" rel="noreferrer" target="_blank">https://github.com/efficios/<wbr>babeltrace/archive/v${PV}.tar.<wbr>gz;downloadfilename=<wbr>babeltrace-v${PV}.tar.gz</a>&quot;<br>
<br>
In this case, would the checksums need a tweak too, or do they know to look<br>
for the downloadfilename file name?<br>
</blockquote></div><br></div>