Hi,

I have no idea whether I should submit a patch to modify python3-pbr instead 
this patch. Because I noticed that Fedora install python3-pbr into 
${D}${bindir}/pbr-3.
But it is odd that modify oe-core to fix conflict error with meta-oe.


Best regards
Lei


> -----Original Message-----
> From: Lei, Maohui
> Sent: Monday, April 15, 2019 1:57 PM
> To: openembedded-devel@lists.openembedded.org
> Cc: Lei, Maohui
> Subject: [oe] [meta-python][PATCH] To fix confilict error with python3-pbr.
> 
> Signed-off-by: Lei Maohui <leimao...@cn.fujitsu.com>
> ---
>  meta-python/recipes-devtools/python/python-pbr_4.2.0.bb | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/meta-python/recipes-devtools/python/python-pbr_4.2.0.bb b/meta-
> python/recipes-devtools/python/python-pbr_4.2.0.bb
> index 3248772..361f2a4 100644
> --- a/meta-python/recipes-devtools/python/python-pbr_4.2.0.bb
> +++ b/meta-python/recipes-devtools/python/python-pbr_4.2.0.bb
> @@ -5,3 +5,9 @@ require recipes-devtools/python/python-pbr.inc
>  SRC_URI[md5sum] = "6619780896ca81c7cd19c6e2f439b6c9"
>  SRC_URI[sha256sum] =
> "1b8be50d938c9bb75d0eaf7eda111eec1bf6dc88a62a6412e33bf077457e0f45"
> 
> +do_install_append() {
> +        if [ -f ${D}${bindir}/pbr ]; then
> +                mv ${D}${bindir}/pbr ${D}${bindir}/pbr-2
> +        fi
> +}
> +
> --
> 2.7.4



-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Reply via email to