summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErkka Kääriä <erkka.kaaria@intel.com>2015-09-15 15:34:19 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-09-16 21:38:25 +0100
commit3273129552916659b2217e944eeaf8eb4c2ecf54 (patch)
treeba79162959f8d7e3f89f9cd3ea126d4a184d2467
parent547c2b30573ee0e9e796acf7d8f0411063033282 (diff)
downloadopenembedded-core-3273129552916659b2217e944eeaf8eb4c2ecf54.tar.gz
openembedded-core-3273129552916659b2217e944eeaf8eb4c2ecf54.tar.bz2
openembedded-core-3273129552916659b2217e944eeaf8eb4c2ecf54.zip
python: Add python-misc as rdependency to python-modules
Currently python-misc is not included even if python-modules is. This means some python scripts fail even if python-modules is included in the image (for example, get-pip.py at bootrap.pypa.io/get-pip.py). This patch adds python-misc as runtime dependency for python-modules. Signed-off-by: Erkka Kääriä <erkka.kaaria@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r--meta/recipes-devtools/python/python_2.7.9.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-devtools/python/python_2.7.9.bb b/meta/recipes-devtools/python/python_2.7.9.bb
index ae45577165..f7e2f272f4 100644
--- a/meta/recipes-devtools/python/python_2.7.9.bb
+++ b/meta/recipes-devtools/python/python_2.7.9.bb
@@ -161,7 +161,8 @@ FILES_${PN}-dbg += "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/.debug"
# catch all the rest (unsorted)
PACKAGES += "${PN}-misc"
FILES_${PN}-misc = "${libdir}/python${PYTHON_MAJMIN}"
-RDEPENDS_${PN}-ptest = "${PN}-modules ${PN}-misc"
+RDEPENDS_${PN}-modules += "${PN}-misc"
+RDEPENDS_${PN}-ptest = "${PN}-modules"
#inherit ptest after "require python-${PYTHON_MAJMIN}-manifest.inc" so PACKAGES doesn't get overwritten
inherit ptest