[yocto] What's this

Gary Thomas gary at mlbassoc.com
Tue Jun 7 09:58:37 PDT 2016


On 2016-06-07 18:20, Burton, Ross wrote:
>
> On 7 June 2016 at 17:02, Burton, Ross <ross.burton at intel.com <mailto:ross.burton at intel.com>> wrote:
>
>     It means the hash calculated my the bitbake master was different to the hash calculated when the worker started up.
>     This usually means that you're using something like ${TIME} in the recipe but not marking it appropriatly so the
>     cache ignores it.  Do you have a base-files bbappend that writes a timestamp?
>
>
> The always wise Joshua reminds me that if your DISTRO_VERSION contains ${DATETIME} then this happens.  If you're doing
> this then you'll want to set [vardepsexclude] on DISTRO_VERSION to stop the DATETIME from getting into the cache (or not
> put the current date/time into the distro version).
>

Ah, that's probably it.  Exactly how do I set that exclusion?

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------



More information about the yocto mailing list