[oe] [RFC] Version sorting in BitBake

Denys Dmytriyenko denis at denix.org
Tue Oct 6 17:47:35 UTC 2009


On Tue, Oct 06, 2009 at 12:23:18PM -0300, Otavio Salvador wrote:
> Hello Denys,
> 
> On Tue, Oct 6, 2009 at 12:46 AM, Denys Dmytriyenko <denis at denix.org> wrote:
> [...]
> > PV1 = "2.6.29-${PR}+gitr${SRCREV}"
> > PV2 = "2.6.29+2.6.30-rc5-${PR}+gitr${SRCREV}"
> > PV3 = "2.6.30-${PR}+gitr${SRCREV}"
> >
> > That still works with opkg, as ipkg-compare-versions sorts above PVs as
> > expected - PV1 < PV2 < PV3
> >
> > But BitBake now has this flaw and sorts like this: PV2 < PV1 < PV3
> [...]
> 
> Please send the patch for people to review and would be nice to have
> it commited since many of us could have been using non-required
> overrides.

The patch was sent right after the first email:

http://thread.gmane.org/gmane.comp.handhelds.openembedded/26691/focus=26692

-- 
Denys




More information about the Openembedded-devel mailing list