[oe] [PATCH] Epoch support for bitbake (was: Re: RFC: Xorg Version Numbering)

Richard Purdie rpurdie at rpsys.net
Mon Mar 19 23:14:53 UTC 2007


On Wed, 2007-01-31 at 16:40 +0100, pHilipp Zabel wrote:
> On 1/31/07, Richard Purdie <rpurdie at rpsys.net> wrote:
> > Can anyone remember the specifics of the problem with bitbake? I guess
> > its easy enough to test and find out...
> >
> > /me adds looking at this to his todo list...
> > (unless anyone beats me to it ;-)
> 
> After some discussion on IRC, I came up with the attached patch.
> It adds support for a new integer variable PE (package epoch) in the
> version comparison code and bitbake cache.
> It also changes the code that handles PREFERRED_VERSION to optionally
> allow specifying PE (similar to how it is done with PR already).
> Especially the provider.py part is just a quick proof of concept. It
> always selects
> the package with the highest epoch first if the epoch is not
> explicitly mentioned
> in PREFERRED_VERSION.

Thanks for this, I just checked it in unchanged to bitbake trunk
(1.9.x). If people test it and are happy, I'm happy for it to be
backported for 1.8.2 too, at which point OE.dev can maybe start to rely
upon it.

Cheers,

Richard







More information about the Openembedded-devel mailing list