On Tue, Sep 15, 2015 at 11:31 PM, Erkka Kääriä <erkka.kaa...@intel.com> wrote:
> 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 bootstrap.pypa.io/get-pip.py).
>

this patch is OK. Although a proper division of modules would be a
nice improvement. misc is really not misc here as it is now.

> Signed-off-by: Erkka Kääriä <erkka.kaa...@intel.com>
> ---
>  meta/recipes-devtools/python/python_2.7.9.bb | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/meta/recipes-devtools/python/python_2.7.9.bb 
> b/meta/recipes-devtools/python/python_2.7.9.bb
> index ae45577..f7e2f27 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
>
> --
> 2.1.4
>
> ---------------------------------------------------------------------
> Intel Finland Oy
> Registered Address: PL 281, 00181 Helsinki
> Business Identity Code: 0357606 - 4
> Domiciled in Helsinki
>
> This e-mail and any attachments may contain confidential material for
> the sole use of the intended recipient(s). Any review or distribution
> by others is strictly prohibited. If you are not the intended
> recipient, please contact the sender and delete all copies.
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to