All of lore.kernel.org
 help / color / mirror / Atom feed
* Build History Folder
@ 2014-06-04 18:35 Bharath Chandra
  2014-06-04 18:59 ` Nicolas Dechesne
  0 siblings, 1 reply; 4+ messages in thread
From: Bharath Chandra @ 2014-06-04 18:35 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 588 bytes --]

Hi,

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#maintaining-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.



-- 
Thanks & Regards,
Bharath Chandra Elluru.
Contact Number:785-979-4875.

[-- Attachment #2: Type: text/html, Size: 1621 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Build History Folder
  2014-06-04 18:35 Build History Folder Bharath Chandra
@ 2014-06-04 18:59 ` Nicolas Dechesne
  2014-06-04 21:12   ` Paul Eggleton
  0 siblings, 1 reply; 4+ messages in thread
From: Nicolas Dechesne @ 2014-06-04 18:59 UTC (permalink / raw)
  To: Bharath Chandra; +Cc: Yocto list discussion

On Wed, Jun 4, 2014 at 8:35 PM, Bharath Chandra
<ellurubharath29@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#maintaining-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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Build History Folder
  2014-06-04 18:59 ` Nicolas Dechesne
@ 2014-06-04 21:12   ` Paul Eggleton
  2014-06-04 21:47     ` Bharath Chandra
  0 siblings, 1 reply; 4+ messages in thread
From: Paul Eggleton @ 2014-06-04 21:12 UTC (permalink / raw)
  To: yocto

On Wednesday 04 June 2014 20:59:22 Nicolas Dechesne wrote:
> On Wed, Jun 4, 2014 at 8:35 PM, Bharath Chandra
> 
> <ellurubharath29@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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Build History Folder
  2014-06-04 21:12   ` Paul Eggleton
@ 2014-06-04 21:47     ` Bharath Chandra
  0 siblings, 0 replies; 4+ messages in thread
From: Bharath Chandra @ 2014-06-04 21:47 UTC (permalink / raw)
  To: Paul Eggleton; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 1671 bytes --]

Thank you Paul,

I am new to yocto. I am trying to build the image from scratch again and
now the package folder is generated.
Thanks for the response.



On Wed, Jun 4, 2014 at 4:12 PM, Paul Eggleton <paul.eggleton@linux.intel.com
> wrote:

> On Wednesday 04 June 2014 20:59:22 Nicolas Dechesne wrote:
> > On Wed, Jun 4, 2014 at 8:35 PM, Bharath Chandra
> >
> > <ellurubharath29@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
>



-- 
Thanks & Regards,
Bharath Chandra Elluru.
Contact Number:785-979-4875.

[-- Attachment #2: Type: text/html, Size: 2558 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-06-04 21:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-04 18:35 Build History Folder Bharath Chandra
2014-06-04 18:59 ` Nicolas Dechesne
2014-06-04 21:12   ` Paul Eggleton
2014-06-04 21:47     ` Bharath Chandra

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.