[oe] [PATCH] Bitbake filterProviders does not respect sorted priorities

Holger Hans Peter Freyther holger+oe at freyther.de
Tue Sep 22 06:45:32 UTC 2009


On Monday 21 September 2009 22:07:40 Chris Conroy wrote:
> Cross-posting to the OE list since I haven't heard anything from the
> bitbake list after posting this last week. The providers code ignores
> package priorities and as a result unexpected packages can get chosen
> when using overlays with different priority settings.
> 
> Original message posted to bitbake mailing list:
> 
> I am using bitbake 1.8.13 within OE, and I ran into a problem today
> where the wrong package was being selected.
> 
> Digging into the problem, I found that the code that sorts packages does
> not respect the priority order.
> 
> By iterating over sortpkg_pn.keys() instead of pkg_pn.keys(), it
> produces the expected order based on the priorities I have set. Patch
> below:

Thanks again, I had hoped Richard would be able to comment. One of the biggest 
problems with bitbake is that the only regression testing possible is trying 
to build things, your description looks sound.

It would be great if someone could test and I'm happy to apply it then.


holger




More information about the Openembedded-devel mailing list