Some recipes uses v or r prefixes in versions that makes wrong comparisions over recipes like lz4 r123 > 128.
Signed-off-by: Aníbal Limón <[email protected]> --- meta/lib/oe/recipeutils.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/meta/lib/oe/recipeutils.py b/meta/lib/oe/recipeutils.py index f3da864..90dfba2 100644 --- a/meta/lib/oe/recipeutils.py +++ b/meta/lib/oe/recipeutils.py @@ -644,6 +644,12 @@ def get_recipe_pv_without_srcpv(pv, uri_type): pv = m.group('ver') pfx = m.group('pfx') sfx = m.group('sfx') + else: + regex = re.compile("(?P<pfx>(v|r|))(?P<ver>((\d+[\.\-_]*)+))") + m = regex.match(pv) + if m: + pv = m.group('ver') + pfx = m.group('pfx') return (pv, pfx, sfx) -- 1.9.1 -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
