bitbake/utils: Convert vercmp_string() to use vercmp internally
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 4 May 2012 14:03:33 +0000 (15:03 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 4 May 2012 15:44:57 +0000 (16:44 +0100)
commitb5caaae80be09a68dd5e16e6b2f5aa60c8554346
tree1f08f357fcb418543fd542a9cf020fbdd35e2d2a
parentc78b403a1333ae8d787cfe5426860a4e70aeaf72
bitbake/utils: Convert vercmp_string() to use vercmp internally

Having two different version comparision algorithms in bitbake has never seemed
like a sensible idea. Worryingly, they also return different results to each other.

The vercmp_string API is relatively unused with no users in OE-Core or BitBake
itself for example. This patch converts it to use vercmp internalls, bringing
consitency to the comparisions which is easy now we have other recently added
functions. Yes, this changes behaviour but in this case I'd prefer we were
consistent than having two different comparisions.

(Bitbake rev: a569c816e016447d60624c59a750709d59a0f455)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/utils.py