Openembedded Core Discussions
 help / color / mirror / Atom feed
* do rootfs does not create log files
@ 2012-02-05 22:16 Andreas Müller
  2012-02-05 23:24 ` Khem Raj
  2012-02-06  7:46 ` Buildhistory, was " Koen Kooi
  0 siblings, 2 replies; 10+ messages in thread
From: Andreas Müller @ 2012-02-05 22:16 UTC (permalink / raw)
  To: openembedded-devel, openembedded-core

Hi,

is it a bug or a feature that do_rootfs does not create the package
information (packed_files / packages ..) in a deploy sub-folder did I
miss a switch for this?

Thanks in advance

Andreas



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

* Re: do rootfs does not create log files
  2012-02-05 22:16 do rootfs does not create log files Andreas Müller
@ 2012-02-05 23:24 ` Khem Raj
  2012-02-05 23:47   ` Andreas Müller
  2012-02-06  7:46 ` Buildhistory, was " Koen Kooi
  1 sibling, 1 reply; 10+ messages in thread
From: Khem Raj @ 2012-02-05 23:24 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer; +Cc: openembedded-devel

On Sun, Feb 5, 2012 at 2:16 PM, Andreas Müller
<schnitzeltony@googlemail.com> wrote:
> Hi,
>
> is it a bug or a feature that do_rootfs does not create the package
> information (packed_files / packages ..) in a deploy sub-folder did I
> miss a switch for this?
>

which files to be sure ?

> Thanks in advance
>
> Andreas
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core



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

* Re: do rootfs does not create log files
  2012-02-05 23:24 ` Khem Raj
@ 2012-02-05 23:47   ` Andreas Müller
  2012-02-05 23:58     ` Khem Raj
  0 siblings, 1 reply; 10+ messages in thread
From: Andreas Müller @ 2012-02-05 23:47 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Mon, Feb 6, 2012 at 12:24 AM, Khem Raj <raj.khem@gmail.com> wrote:
> On Sun, Feb 5, 2012 at 2:16 PM, Andreas Müller
> <schnitzeltony@googlemail.com> wrote:
>> Hi,
>>
>> is it a bug or a feature that do_rootfs does not create the package
>> information (packed_files / packages ..) in a deploy sub-folder did I
>> miss a switch for this?
>>
>
> which files to be sure ?
I lost them because had several build from scratch. So I can't tell
their names :( but in

deploy/images/<machine-name> was a sub-folder for each image created
containing helpful files (which packages were installed / licenses /
file in image...

Andreas



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

* Re: do rootfs does not create log files
  2012-02-05 23:47   ` Andreas Müller
@ 2012-02-05 23:58     ` Khem Raj
  0 siblings, 0 replies; 10+ messages in thread
From: Khem Raj @ 2012-02-05 23:58 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Sun, Feb 5, 2012 at 3:47 PM, Andreas Müller
<schnitzeltony@googlemail.com> wrote:
>
>
> deploy/images/<machine-name> was a sub-folder for each image created
> containing helpful files (which packages were installed / licenses /
> file in image...

I am thinking you are talking about testlab you might have had
inherited this class
in your setup

on oe-core there is buildhistory which provides similar functionality



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

* Buildhistory, was Re: do rootfs does not create log files
  2012-02-05 22:16 do rootfs does not create log files Andreas Müller
  2012-02-05 23:24 ` Khem Raj
@ 2012-02-06  7:46 ` Koen Kooi
  2012-02-06  9:04   ` [oe] " Andreas Müller
       [not found]   ` <CALbNGRQBCeQj=0dHAwAddM5cvJZhKLzyk8J5+WLAh7QFQBx_rg@mail.gmail.com>
  1 sibling, 2 replies; 10+ messages in thread
From: Koen Kooi @ 2012-02-06  7:46 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer; +Cc: openembedded-devel


Op 5 feb. 2012, om 23:16 heeft Andreas Müller het volgende geschreven:

> Hi,
> 
> is it a bug or a feature that do_rootfs does not create the package
> information (packed_files / packages ..) in a deploy sub-folder did I
> miss a switch for this?

It's this one: http://git.angstrom-distribution.org/cgi-bin/cgit.cgi/meta-angstrom/commit/?id=370a884b2372b7ddd5f0876119b5f28a2b20074f

The matching commit it missing, but you can add something like this to your local.conf:

INHERIT += "buildhistory"
BUILDHISTORY_COMMIT = "1"
BUILDHISTORY_DIR = "/data/ssd/OE/buildhistory/"

That will create a tree that looks like https://github.com/Angstrom-distribution/buildhistory/. It it's missing a feature that you were using in testlab, let us know and Paul or I will try to add it to buildhistory.

regards,

Koen


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

* Re: [oe] Buildhistory, was Re: do rootfs does not create log files
  2012-02-06  7:46 ` Buildhistory, was " Koen Kooi
@ 2012-02-06  9:04   ` Andreas Müller
  2012-02-06  9:06     ` Andreas Müller
                       ` (2 more replies)
       [not found]   ` <CALbNGRQBCeQj=0dHAwAddM5cvJZhKLzyk8J5+WLAh7QFQBx_rg@mail.gmail.com>
  1 sibling, 3 replies; 10+ messages in thread
From: Andreas Müller @ 2012-02-06  9:04 UTC (permalink / raw)
  To: openembedded-devel; +Cc: openembedded-core

On Mon, Feb 6, 2012 at 8:46 AM, Koen Kooi <koen@dominion.thruhere.net> wrote:
>
> Op 5 feb. 2012, om 23:16 heeft Andreas Müller het volgende geschreven:
>
>> Hi,
>>
>> is it a bug or a feature that do_rootfs does not create the package
>> information (packed_files / packages ..) in a deploy sub-folder did I
>> miss a switch for this?
>
> It's this one: http://git.angstrom-distribution.org/cgi-bin/cgit.cgi/meta-angstrom/commit/?id=370a884b2372b7ddd5f0876119b5f28a2b20074f
>
> The matching commit it missing, but you can add something like this to your local.conf:
>
> INHERIT += "buildhistory"
> BUILDHISTORY_COMMIT = "1"
> BUILDHISTORY_DIR = "/data/ssd/OE/buildhistory/"
>
> That will create a tree that looks like https://github.com/Angstrom-distribution/buildhistory/. It it's missing a feature that you were using in testlab, let us know and Paul or I will try to add it to buildhistory.
>
> regards,
>
> Koen
Thanks for the info - will give buildhistory a test.

Without having experience on buildhistory I have a question: As you
might know there was a discussion about the order of packages in
bitbake.conf [1]. I have no idea of the workflow for this issue:

1. Enable buildhistory as said above
2. Build from scratch
3. change the PACKAGES order in bitbake.conf
4. ??

If I just rebuild without any PR-bumps I assume buildhistory can do
nothing for me. Correct?

Andreas



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

* Re: [oe] Buildhistory, was Re: do rootfs does not create log files
  2012-02-06  9:04   ` [oe] " Andreas Müller
@ 2012-02-06  9:06     ` Andreas Müller
  2012-02-06  9:09     ` Koen Kooi
  2012-02-06  9:28     ` Richard Purdie
  2 siblings, 0 replies; 10+ messages in thread
From: Andreas Müller @ 2012-02-06  9:06 UTC (permalink / raw)
  To: openembedded-devel; +Cc: openembedded-core

On Mon, Feb 6, 2012 at 10:04 AM, Andreas Müller
<schnitzeltony@googlemail.com> wrote:
> On Mon, Feb 6, 2012 at 8:46 AM, Koen Kooi <koen@dominion.thruhere.net> wrote:
>>
>> Op 5 feb. 2012, om 23:16 heeft Andreas Müller het volgende geschreven:
>>
>>> Hi,
>>>
>>> is it a bug or a feature that do_rootfs does not create the package
>>> information (packed_files / packages ..) in a deploy sub-folder did I
>>> miss a switch for this?
>>
>> It's this one: http://git.angstrom-distribution.org/cgi-bin/cgit.cgi/meta-angstrom/commit/?id=370a884b2372b7ddd5f0876119b5f28a2b20074f
>>
>> The matching commit it missing, but you can add something like this to your local.conf:
>>
>> INHERIT += "buildhistory"
>> BUILDHISTORY_COMMIT = "1"
>> BUILDHISTORY_DIR = "/data/ssd/OE/buildhistory/"
>>
>> That will create a tree that looks like https://github.com/Angstrom-distribution/buildhistory/. It it's missing a feature that you were using in testlab, let us know and Paul or I will try to add it to buildhistory.
>>
>> regards,
>>
>> Koen
> Thanks for the info - will give buildhistory a test.
>
> Without having experience on buildhistory I have a question: As you
> might know there was a discussion about the order of packages in
> bitbake.conf [1]. I have no idea of the workflow for this issue:
>
> 1. Enable buildhistory as said above
> 2. Build from scratch
> 3. change the PACKAGES order in bitbake.conf
> 4. ??
>
> If I just rebuild without any PR-bumps I assume buildhistory can do
> nothing for me. Correct?
>
> Andreas
>
[1] http://lists.linuxtogo.org/pipermail/openembedded-core/2012-January/016916.html



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

* Re: [oe] Buildhistory, was Re: do rootfs does not create log files
  2012-02-06  9:04   ` [oe] " Andreas Müller
  2012-02-06  9:06     ` Andreas Müller
@ 2012-02-06  9:09     ` Koen Kooi
  2012-02-06  9:28     ` Richard Purdie
  2 siblings, 0 replies; 10+ messages in thread
From: Koen Kooi @ 2012-02-06  9:09 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer; +Cc: openembedded-devel


Op 6 feb. 2012, om 10:04 heeft Andreas Müller het volgende geschreven:

> On Mon, Feb 6, 2012 at 8:46 AM, Koen Kooi <koen@dominion.thruhere.net> wrote:
>> 
>> Op 5 feb. 2012, om 23:16 heeft Andreas Müller het volgende geschreven:
>> 
>>> Hi,
>>> 
>>> is it a bug or a feature that do_rootfs does not create the package
>>> information (packed_files / packages ..) in a deploy sub-folder did I
>>> miss a switch for this?
>> 
>> It's this one: http://git.angstrom-distribution.org/cgi-bin/cgit.cgi/meta-angstrom/commit/?id=370a884b2372b7ddd5f0876119b5f28a2b20074f
>> 
>> The matching commit it missing, but you can add something like this to your local.conf:
>> 
>> INHERIT += "buildhistory"
>> BUILDHISTORY_COMMIT = "1"
>> BUILDHISTORY_DIR = "/data/ssd/OE/buildhistory/"
>> 
>> That will create a tree that looks like https://github.com/Angstrom-distribution/buildhistory/. It it's missing a feature that you were using in testlab, let us know and Paul or I will try to add it to buildhistory.
>> 
>> regards,
>> 
>> Koen
> Thanks for the info - will give buildhistory a test.
> 
> Without having experience on buildhistory I have a question: As you
> might know there was a discussion about the order of packages in
> bitbake.conf [1]. I have no idea of the workflow for this issue:
> 
> 1. Enable buildhistory as said above
> 2. Build from scratch
> 3. change the PACKAGES order in bitbake.conf
> 4. ??
> 
> If I just rebuild without any PR-bumps I assume buildhistory can do
> nothing for me. Correct?

No, buildhistory executes at every do_package step, so it will record changes even without PR bumps. Note that OE doesn't sort the RDEPENDS fields and friends, so you might see a diff where there is only a re-ordering.

regards,

Koen

regards,

Koen


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

* Re: [oe] Buildhistory, was Re: do rootfs does not create log files
  2012-02-06  9:04   ` [oe] " Andreas Müller
  2012-02-06  9:06     ` Andreas Müller
  2012-02-06  9:09     ` Koen Kooi
@ 2012-02-06  9:28     ` Richard Purdie
  2 siblings, 0 replies; 10+ messages in thread
From: Richard Purdie @ 2012-02-06  9:28 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer; +Cc: openembedded-devel

On Mon, 2012-02-06 at 10:04 +0100, Andreas Müller wrote:
> On Mon, Feb 6, 2012 at 8:46 AM, Koen Kooi <koen@dominion.thruhere.net> wrote:
> >
> > Op 5 feb. 2012, om 23:16 heeft Andreas Müller het volgende geschreven:
> >
> >> Hi,
> >>
> >> is it a bug or a feature that do_rootfs does not create the package
> >> information (packed_files / packages ..) in a deploy sub-folder did I
> >> miss a switch for this?
> >
> > It's this one: http://git.angstrom-distribution.org/cgi-bin/cgit.cgi/meta-angstrom/commit/?id=370a884b2372b7ddd5f0876119b5f28a2b20074f
> >
> > The matching commit it missing, but you can add something like this to your local.conf:
> >
> > INHERIT += "buildhistory"
> > BUILDHISTORY_COMMIT = "1"
> > BUILDHISTORY_DIR = "/data/ssd/OE/buildhistory/"
> >
> > That will create a tree that looks like https://github.com/Angstrom-distribution/buildhistory/. It it's missing a feature that you were using in testlab, let us know and Paul or I will try to add it to buildhistory.
> >
> > regards,
> >
> > Koen
> Thanks for the info - will give buildhistory a test.
> 
> Without having experience on buildhistory I have a question: As you
> might know there was a discussion about the order of packages in
> bitbake.conf [1]. I have no idea of the workflow for this issue:
> 
> 1. Enable buildhistory as said above
> 2. Build from scratch
> 3. change the PACKAGES order in bitbake.conf
> 4. ??
> 
> If I just rebuild without any PR-bumps I assume buildhistory can do
> nothing for me. Correct?

Do two build from scratch, one with the changed PACKAGES and one
without. Keep the same build history data in both builds. You'll then
see the differences between them recorded.

(Or diff the buildhistory from the two builds).

Cheers,

Richard




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

* Re: [oe] Buildhistory, was Re: do rootfs does not create log files
       [not found]     ` <13179298.lVtZb3KUcf@helios>
@ 2012-03-01 14:38       ` Andreas Müller
  0 siblings, 0 replies; 10+ messages in thread
From: Andreas Müller @ 2012-03-01 14:38 UTC (permalink / raw)
  To: openembedded-core

On Thu, Mar 1, 2012 at 3:31 PM, Paul Eggleton
<paul.eggleton@linux.intel.com> wrote:
> On Thursday 01 March 2012 13:38:04 Andreas Müller wrote:
>> Would it be big effort to have the package scripts (pre-/postinst,
>> postrm) handled by buildhistory?
>
> Do you mean you would like the contents of the scripts recorded in
> buildhistory?
Yes that's what I meant :)
> If so, I guess this is possible; if we just output each script
> to a separate file I don't think it should be too difficult. Making it work
> nicely if you switch back to the old (symlinked) mode would be an extra trick,
> though I'm starting to wonder if that's worth continuing to support.
>
> Cheers,
> Paul
>
> --
>
> Paul Eggleton
> Intel Open Source Technology Centre



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

end of thread, other threads:[~2012-03-01 14:47 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-05 22:16 do rootfs does not create log files Andreas Müller
2012-02-05 23:24 ` Khem Raj
2012-02-05 23:47   ` Andreas Müller
2012-02-05 23:58     ` Khem Raj
2012-02-06  7:46 ` Buildhistory, was " Koen Kooi
2012-02-06  9:04   ` [oe] " Andreas Müller
2012-02-06  9:06     ` Andreas Müller
2012-02-06  9:09     ` Koen Kooi
2012-02-06  9:28     ` Richard Purdie
     [not found]   ` <CALbNGRQBCeQj=0dHAwAddM5cvJZhKLzyk8J5+WLAh7QFQBx_rg@mail.gmail.com>
     [not found]     ` <13179298.lVtZb3KUcf@helios>
2012-03-01 14:38       ` Andreas Müller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox