* Re: Buildhistory, was Re: [OE-core] do rootfs does not create log files
@ 2012-02-06 9:04 ` Andreas Müller
0 siblings, 0 replies; 18+ 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] 18+ messages in thread
* Re: [oe] Buildhistory, was Re: do rootfs does not create log files
2012-02-06 9:04 ` Buildhistory, was Re: [OE-core] " Andreas Müller
@ 2012-02-06 9:06 ` Andreas Müller
-1 siblings, 0 replies; 18+ 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] 18+ messages in thread
* Re: [OE-core] Buildhistory, was Re: do rootfs does not create log files
@ 2012-02-06 9:06 ` Andreas Müller
0 siblings, 0 replies; 18+ 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] 18+ messages in thread
* Re: [oe] Buildhistory, was Re: do rootfs does not create log files
2012-02-06 9:04 ` Buildhistory, was Re: [OE-core] " Andreas Müller
@ 2012-02-06 9:09 ` Koen Kooi
-1 siblings, 0 replies; 18+ 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] 18+ messages in thread
* Re: [OE-core] Buildhistory, was Re: do rootfs does not create log files
@ 2012-02-06 9:09 ` Koen Kooi
0 siblings, 0 replies; 18+ 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] 18+ messages in thread
* Re: [oe] Buildhistory, was Re: do rootfs does not create log files
2012-02-06 9:04 ` Buildhistory, was Re: [OE-core] " Andreas Müller
@ 2012-02-06 9:28 ` Richard Purdie
-1 siblings, 0 replies; 18+ 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] 18+ messages in thread
* Re: [OE-core] Buildhistory, was Re: do rootfs does not create log files
@ 2012-02-06 9:28 ` Richard Purdie
0 siblings, 0 replies; 18+ 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] 18+ messages in thread