]> code.ossystems Code Review - openembedded-core.git/commitdiff
python: ensure all of Python is installed in nativesdk
authorRoss Burton <ross.burton@intel.com>
Mon, 1 Dec 2014 16:26:55 +0000 (16:26 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 5 Dec 2014 17:42:44 +0000 (17:42 +0000)
If any part of Python gets installed in a SDK, we need to ensure that all of
Python gets installed to avoid replacing python in the environment with a
minimal package set.

[ YOCTO #6735 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-devtools/python/python_2.7.3.bb

index 50c751e323bf46709470a64fa2fd8e7f8bdf0860..7f13e22f7fac66544dfab98102c69d784687bec3 100644 (file)
@@ -161,6 +161,7 @@ require python-${PYTHON_MAJMIN}-manifest.inc
 # manual dependency additions
 RPROVIDES_${PN}-core = "${PN}"
 RRECOMMENDS_${PN}-core = "${PN}-readline"
+RRECOMMENDS_${PN}-core_append_class-nativesdk = " nativesdk-python-modules"
 RRECOMMENDS_${PN}-crypt = "openssl"
 RRECOMMENDS_${PN}-crypt_class-nativesdk = "nativesdk-openssl"