[oe] AUTOREV and SRCPV

pieterg pieterg at gmx.com
Fri Jun 4 08:44:41 UTC 2010


On Friday 04 June 2010 10:30:57 Phil Blundell wrote:
> On Fri, 2010-06-04 at 10:24 +0200, pieterg wrote:
> > I probably don't know enough about the bitbake internals to see how to
> > fix my problem with that, could you please point me in the right
> > direction? I think in case of AUTOREV I would still need some way to
> > automatically include a sortable revision count in PKGV, so the actual
> > problem would only move from PV to PKGV.
>
> That's correct: essentially it is just moving the SRCPV-equivalent thing
> from PV to PKGV.  But, PKGV only needs to be evaluated during the
> do_package step, not at parse time, so you only incur the cost and risk
> of running git rev-list (or whatever) for packages that you are actually
> building rather than for all recipes in your source tree.

I'm starting to see your point. That would really allow a much nicer AUTOREV 
implementation.
But in that case I'm not getting away with a simple workaround I'm afraid...

Rgds, Pieter




More information about the Openembedded-devel mailing list