[OE-core] [PATCH] packagegroup-self-hosted: port to Python 3

Ross Burton ross.burton at intel.com
Fri Jun 10 11:38:52 UTC 2016


A self-hosting packagegroup needs to ship Python 3 for bitbake, not Python 2.

Remove python-compiler as it was a standard module in Py2 and removed in Py3.

Remove python-misc as it is pulled in via python3-modules.

Remove python-rpm as it is only required by Smart, and if smart is installed
then python-rpm will be too.

[ YOCTO #9713 ]

Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/recipes-core/packagegroups/packagegroup-self-hosted.bb | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/meta/recipes-core/packagegroups/packagegroup-self-hosted.bb b/meta/recipes-core/packagegroups/packagegroup-self-hosted.bb
index c43e7e8..4e7fd4d 100644
--- a/meta/recipes-core/packagegroups/packagegroup-self-hosted.bb
+++ b/meta/recipes-core/packagegroups/packagegroup-self-hosted.bb
@@ -148,12 +148,9 @@ RDEPENDS_packagegroup-self-hosted-extended = "\
     perl-dev \
     perl-modules \
     perl-pod \
-    python \
-    python-compiler \
-    python-git \
-    python-misc \
-    python-modules \
-    python-rpm \
+    python3 \
+    python3-modules \
+    python3-git \
     quota \
     readline \
     rpm \
-- 
2.8.0.rc3




More information about the Openembedded-core mailing list