[OE-core] [PATCH] python3: Add recommended modules to nativesdk install

Tom Hochstein tom.hochstein at nxp.com
Sat Apr 7 15:37:07 UTC 2018


A colleague pointed out that what we installed in the SDK for python 3 was not functional, and that a minimal set of modules was required.  I'm not an expert, but I found a similar line in the python 2 recipe and thought it might be what was needed here.

Tom

-----Original Message-----
From: Richard Purdie [mailto:richard.purdie at linuxfoundation.org] 
Sent: Thursday, April 5, 2018 8:56 AM
To: Tom Hochstein <tom.hochstein at nxp.com>; openembedded-core at lists.openembedded.org
Subject: Re: [OE-core] [PATCH] python3: Add recommended modules to nativesdk install

On Wed, 2018-04-04 at 14:25 -0500, Tom Hochstein wrote:
> The python3 installation in the SDK did not include the minimum set of 
> modules.
> 
> Signed-off-by: Tom Hochstein <tom.hochstein at nxp.com>
> ---
>  meta/recipes-devtools/python/python3_3.5.5.bb | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/meta/recipes-devtools/python/python3_3.5.5.bb
> b/meta/recipes-devtools/python/python3_3.5.5.bb
> index d458d32..f893b84 100644
> --- a/meta/recipes-devtools/python/python3_3.5.5.bb
> +++ b/meta/recipes-devtools/python/python3_3.5.5.bb
> @@ -211,6 +211,7 @@ py_package_preprocess () {
>  
>  # manual dependency additions
>  RPROVIDES_${PN}-modules = "${PN}"
> +RRECOMMENDS_${PN}-core_append_class-nativesdk = " nativesdk-python3-
> modules"
>  RRECOMMENDS_${PN}-crypt = "openssl"
>  RRECOMMENDS_${PN}-crypt_class-nativesdk = "nativesdk-openssl"

This doesn't look correct, if you want the SDK to contain all python modules, surely you'd just add nativesdk-python3-modules rather than forcing this everywhere?

Cheers,

Richard


More information about the Openembedded-core mailing list