Skip to content
This repository was archived by the owner on Aug 5, 2022. It is now read-only.

Commit 1f7300f

Browse files
committed
python: runtime and packaging changes
After dropping gdbm and db from DEPENDS, we also need to make sure the corresponding ${PN}-* packages don't get added in PACKAGES/PROVIDES/RDEPENDS. Without this, the package managers run into dependency issues when installing, e.g., python(3)-modules that depend on non-existent packages. While we're at it, it's good time to move python-runtime image feature to use Python3. Signed-off-by: Mikko Ylinen <mikko.ylinen@linux.intel.com>
1 parent 9b31868 commit 1f7300f

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

meta-refkit-core/recipes-core/packagegroups/packagegroup-python-runtime.bb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ LICENSE = "MIT"
44
inherit packagegroup
55

66
RDEPENDS_${PN} = " \
7-
python-modules \
7+
python3-modules \
88
"

meta-refkit-core/recipes-devtools/python/refkit-python.inc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# have this configurable, here it only depends on the "refkit-config"
44
# distro feature.
55
DEPENDS_remove_refkit-config = "readline gdbm db"
6-
PACKAGES_remove_refkit-config = "${PN}-readline"
7-
PROVIDES_remove_refkit-config = "${PN}-readline"
6+
PACKAGES_remove_refkit-config = "${PN}-readline ${PN}-gdbm ${PN}-db"
7+
PROVIDES_remove_refkit-config = "${PN}-readline ${PN}-gdbm ${PN}-db"
88
RRECOMMENDS_${PN}-core_remove_refkit-config = "${PN}-readline"
9-
RDEPENDS_${PN}-modules_remove_refkit-config = "${PN}-readline"
9+
RDEPENDS_${PN}-modules_remove_refkit-config = "${PN}-readline ${PN}-gdbm ${PN}-db"

0 commit comments

Comments
 (0)