To fix confilict error with python3-pbr.
PATCH 1/1 To fix confilict error with python3-pbr.
Signed-off-by Lei Maohui <[email protected]>
--- meta-python/recipes-devtools/python/python-pbr_4.2.0.bb | 6 ++++++ 1 file changed, 6 insertions(+)
meta-python/recipes-devtools/python/python-pbr_4.2.0.bb +6 -0
@@ -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 +} +
Signature · 1 line
2.7.4
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
Quoted 30 lines
-----Original Message-----
From: Lei, Maohui
Sent: Monday, April 15, 2019 1:57 PM
To: [email protected]
Cc: Lei, Maohui
Subject: [oe] [meta-python][PATCH] To fix confilict error with python3-pbr.Signed-off-by Lei Maohui <[email protected]>--- meta-python/recipes-devtools/python/python-pbr_4.2.0.bb | 6 ++++++ 1 file changed, 6 insertions(+)meta- renamed from meta-python/recipes-devtools/python/python-pbr_4.2.0.bb +0
-0python/recipes-devtools/python/python-pbr_4.2.0.bb index 3248772..361f2a4 100644
meta-python/recipes-devtools/python/python-pbr_4.2.0.bb +0
-0@@ -5,3 +5,9 @@ require recipes-devtools/python/python-pbr.inc SRC_URI[md5sum] = "6619780896ca81c7cd19c6e2f439b6c9" SRC_URI[sha256sum] ="
1b8be50d938c9bb75d0eaf7eda111eec1bf6dc88a62a6412e33bf077457e0f45"meta-python/recipes-devtools/python/python-pbr_4.2.0.bb +6
-1+do_install_append() { + if [ -f ${D}${bindir}/pbr ]; then + mv ${D}${bindir}/pbr ${D}${bindir}/pbr-2 + fi +} + --2.7.4