On Mon, Jan 18, 2016 at 07:23:03PM -0800, Robert Yang wrote:
> We had upgraded e2fsprogs from 1.42.9 to 1.43 (WIP), and used:
> PV = "1.42+1.43-git${SRCPV}"
> But:
> $ dpkg --compare-versions 1.42+1.43 gt 1.42.9 && echo greater || echo less
> less
> 
> It shows that 1.42+1.43 is less than 1.42.9, so this is a downgraded. Use
> PV = "1.42.13+git${SRCPV}"
> to fix the problem. 1.42.13 is the latest e2fsprogs 1.42 version.
> 
> Signed-off-by: Robert Yang <[email protected]>
> ---
>  meta/recipes-devtools/e2fsprogs/e2fsprogs_git.bb |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs_git.bb 
> b/meta/recipes-devtools/e2fsprogs/e2fsprogs_git.bb
> index b1b7931..60b2854 100644
> --- a/meta/recipes-devtools/e2fsprogs/e2fsprogs_git.bb
> +++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs_git.bb
> @@ -9,7 +9,7 @@ SRC_URI += "file://acinclude.m4 \
>  "
>  
>  SRCREV = "0f26747167cc9d82df849b0aad387bf824f04544"
> -PV = "1.42+1.43-git${SRCPV}"
> +PV = "1.42.13+git${SRCPV}"

If 0f26747167cc9d82df849b0aad387bf824f04544 is going to be released as
1.43, then it would be better to use 1.42.99+1.43+git${SRCPV} to make
sure, that hypothetical 1.42.14 will also sort lower than this future
1.43.

>  EXTRA_OECONF += "--libdir=${base_libdir} --sbindir=${base_sbindir} \
>                  --enable-elf-shlibs --disable-libuuid --disable-uuidd \
> -- 
> 1.7.9.5
> 
> -- 
> _______________________________________________
> Openembedded-core mailing list
> [email protected]
> http://lists.openembedded.org/mailman/listinfo/openembedded-core

-- 
Martin 'JaMa' Jansa     jabber: [email protected]

Attachment: signature.asc
Description: Digital signature

-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to