<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 27, 2014 at 10:49 AM, Richard Purdie <span dir="ltr">&lt;<a href="mailto:richard.purdie@linuxfoundation.org" target="_blank">richard.purdie@linuxfoundation.org</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On Thu, 2014-03-27 at 10:21 -0700, Chris Larson wrote:<br>
&gt;<br>
&gt; On Mon, Mar 24, 2014 at 8:10 PM, Robert Yang<br>
&gt; &lt;<a href="mailto:liezhi.yang@windriver.com">liezhi.yang@windriver.com</a>&gt; wrote:<br>
&gt;         If we run &quot;bitbake -S base-files&quot; today, and re-run it<br>
&gt;         <span class="aBn" tabindex="0"><span class="aQJ">tomorrow</span></span> with<br>
&gt;         nothing changed, we would see that the do_install.sigdata<br>
&gt;         changes<br>
&gt;         because of:<br>
&gt;<br>
&gt;         do_intall -&gt; do_install_basefilesissue -&gt; DISTRO_VERSION -&gt;<br>
&gt;         DATE<br>
&gt;<br>
&gt;         We had set:<br>
&gt;         IMAGE_NAME[vardepsexclude] += &quot;DATETIME&quot;<br>
&gt;         in meta/conf/bitbake.conf, we can set a similar line in<br>
&gt;         <a href="http://base-files_3.0.14.bb" target="_blank">base-files_3.0.14.bb</a> to fix the problem.<br>
&gt;<br>
&gt;         [YOCTO #6032]<br>
&gt;<br>
&gt;         Signed-off-by: Robert Yang &lt;<a href="mailto:liezhi.yang@windriver.com">liezhi.yang@windriver.com</a>&gt;<br>
&gt;<br>
&gt; Wont&#39;t this mean base-files wouldn&#39;t be rebuilt when the day changes?<br>
&gt; This seems problematic to me. I think this is a legitimate case for a<br>
&gt; checksum change. If the distro version changes due to the date<br>
&gt; changing, and the base-files includes the distro version in the issue<br>
&gt; file, then we&#39;d *want* base-files to rebuild to ensure the issue file<br>
&gt; is correct, otherwise it&#39;d be inaccurate, no?<br>
&gt;<br>
</div>I&#39;m torn on this. Package feed creators probably don&#39;t want a package<br>
feed where the package changes daily but I can see this from both sides,<br>
I have often wondered why my build was rebuilding base-files...</blockquote></div><br>Perhaps we should either not use DATE/TIME in the distro version at all, or have a variable which is the current date, and a variable which locks to the date of the creation of the TMPDIR but doesn&#39;t change after that, or something, as a more persistent build environment identifier to use for such cases. *shrug*<br>

-- <br>Christopher Larson<br>clarson at kergoth dot com<br>Founder - BitBake, OpenEmbedded, OpenZaurus<br>Maintainer - Tslib<br>Senior Software Engineer, Mentor Graphics
</div></div>