[OE-core] [PATCH 2/2] e2fsprogs: fix PV

Martin Jansa martin.jansa at gmail.com
Tue Jan 19 11:40:18 UTC 2016


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 <liezhi.yang at windriver.com>
> ---
>  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
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20160119/726a1321/attachment-0002.sig>


More information about the Openembedded-core mailing list