[OE-core] [PATCH] os-release: Exclude DATETIME from sstate signature

Paul Eggleton paul.eggleton at linux.intel.com
Wed Aug 26 08:46:14 UTC 2015


On Wednesday 26 August 2015 09:41:17 Joshua Lock wrote:
> On 25/08/15 17:58, Richard Purdie wrote:
> > I'm torn over this, I can see someone wanting this to vary in each
> > build. What pushed me to believe its incorrect in its current form
> > is that it changes for every MACHINE build, making a complete mess
> > if you try and generate package feeds using it.
> 
> It's also worth pointing out that the BUILD_ID isn't included in the
> generated os-release file unless you add BUILD_ID to OS_RELEASE_FIELDS.
> 
> I'm personally not certain whether DATETIME makes sense as BUILD_ID a
> multi-MACHINE distro anyway.

Indeed, since you have to invoke bitbake multiple times, under those 
circumstances you probably ought to be pre-calculating the BUILD_ID and 
passing it into the build.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the Openembedded-core mailing list