[yocto] Build History Folder

Paul Eggleton paul.eggleton at linux.intel.com
Wed Jun 4 14:12:08 PDT 2014


On Wednesday 04 June 2014 20:59:22 Nicolas Dechesne wrote:
> On Wed, Jun 4, 2014 at 8:35 PM, Bharath Chandra
> 
> <ellurubharath29 at gmail.com> wrote:
> > I want to capture build history while building an image and I have done
> > the
> > following settings in conf/local.conf file.
> > 
> >      INHERIT += "buildhistory"
> >      BUILDHISTORY_COMMIT = "1"
> > 
> > as suggested in
> > http://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#mainta
> > ining-build-output-quality
> > 
> > 
> > But, the problem is buildhistory/images folder is being created but
> > buildhistory/packages
> > 
> > folder is not being created. Any kind of suggestions on this issue would
> > be helpful.
> 
> maybe a dumb question... but have you actually built any package? if a
> package is re-used from sstate, then it's not built, and no statistics
> are generated.

This is true of 1.5 and older, but in 1.6, packages whose contents are 
restored from shared state *will* be captured in buildhistory. (However, if 
you built an image and then afterwards enabled buildhistory and built the 
image again, you wouldn't have any package information collected.)

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the yocto mailing list