python: ensure all of Python is installed in nativesdk
PATCH 1/2 python: ensure all of Python is installed in nativesdk
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.
--- meta/recipes-devtools/python/python_2.7.3.bb | 1 + 1 file changed, 1 insertion(+)
meta/recipes-devtools/python/python_2.7.3.bb +1 -0
@@ -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"
Signature · 1 line
1.7.10.4
PATCH 2/2 python: remove spurious nativesdk dependency
There's no need to add a dependency on python-crypt_class-native to nativesdk-openssl as the general dependency there is transformed appropriately.
Presumably this is cruft from back when SDK packages were suffixed instead of prefixed, and there were mapping problems.
--- meta/recipes-devtools/python/python_2.7.3.bb | 1 - 1 file changed, 1 deletion(-)
meta/recipes-devtools/python/python_2.7.3.bb +0 -1
@@ -163,7 +163,6 @@ 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" # package libpython2 PACKAGES =+ "lib${BPN}2"
Signature · 1 line
1.7.10.4
Quoted 24 lines · Ross Burton
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.
Signed-off-by Ross Burton <[email protected]>--- meta/recipes-devtools/python/python_2.7.3.bb | 1 + 1 file changed, 1 insertion(+)meta/recipes-devtools/python/python_2.7.3.bb +1
-1@@ -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" --1.7.10.4
Quoted 1 line
--
Is it worth referring to bug number 6735?
____________________________________________
Quoted 3 lines
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Quoted 2 lines · Laszlo Papp
Is it worth referring to bug number 6735?
Yes, done locally, thanks for reminding me.
Ross
Hi all,
Toolchains/SDK generated with Dizzy have the problem this commit fixes.
So could this be cherry-picked to Dizzy?
It applies just fine, there is no need to rework it.
-
Regards,
Javier Viguera
Quoted 22 lines · Ross Burton
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.
Signed-off-by Ross Burton <[email protected]>--- meta/recipes-devtools/python/python_2.7.3.bb | 1 + 1 file changed, 1 insertion(+)meta/recipes-devtools/python/python_2.7.3.bb +1
-0@@ -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"
CC'ing Armin to ensure that he see's this.
Ross
Quoted 49 lines · Javier Viguera
Hi all,
Toolchains/SDK generated with Dizzy have the problem this commit fixes.
So could this be cherry-picked to Dizzy?
It applies just fine, there is no need to rework it.
-
Regards,Javier Viguera
Quoted 26 lines · Ross Burton
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.Signed-off-by Ross Burton <ross.burton-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
--- meta/recipes-devtools/python/python_2.7.3.bb | 1 + 1 file changed, 1 insertion(+)meta/recipes-devtools/python/python_2.7.3.bb +1
-0@@ -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"Quoted 1 line
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
On 1/20/15, 7:48 AM, Burton, Ross wrote:
will get it. thanks.
Armin
Quoted 65 lines
CC'ing Armin to ensure that he see's this.
Ross
On 20 January 2015 at 09:36, Javier Viguera <[email protected] <mailto:[email protected]>> wrote:
Hi all, Toolchains/SDK generated with Dizzy have the problem this commit fixes. So could this be cherry-picked to Dizzy? It applies just fine, there is no need to rework it. - Regards, Javier Viguera On 01/12/14 17:36, Ross Burton wrote: 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. Signed-off-by: Ross Burton <[email protected] <mailto:[email protected]>> --- meta/recipes-devtools/python/python_2.7.3.bb <http://python_2.7.3.bb> | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-devtools/python/python_2.7.3.bb <http://python_2.7.3.bb> b/meta/recipes-devtools/python/python_2.7.3.bb <http://python_2.7.3.bb> index 50c751e..7f13e22 100644 --- a/meta/recipes-devtools/python/python_2.7.3.bb <http://python_2.7.3.bb> +++ b/meta/recipes-devtools/python/python_2.7.3.bb <http://python_2.7.3.bb> @@ -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" -- _______________________________________________ Openembedded-core mailing list [email protected] <mailto:[email protected]> http://lists.openembedded.org/mailman/listinfo/openembedded-core