[meta-virtualization] [PATCH] Fix python install in multilib case.

Bruce Ashfield bruce.ashfield at gmail.com
Thu Aug 4 18:46:22 PDT 2016


merged.

Bruce

On Mon, Aug 1, 2016 at 1:00 AM, Jeremy Puhlman <jpuhlman at mvista.com> wrote:

> Currently libvirt python builds in the multilib case, but fails to
> install. Switch from PN to BPN, and fix compile to be consistent.
> ---
>  recipes-extended/libvirt/libvirt-python.inc | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/recipes-extended/libvirt/libvirt-python.inc
> b/recipes-extended/libvirt/libvirt-python.inc
> index 405d5f7..7a7a4cc 100644
> --- a/recipes-extended/libvirt/libvirt-python.inc
> +++ b/recipes-extended/libvirt/libvirt-python.inc
> @@ -42,14 +42,14 @@ python __anonymous () {
>
>  do_compile_append() {
>         if [ "${LIBVIRT_PYTHON_ENABLE}" = "1" ]; then
> -               cd ${WORKDIR}/libvirt-python-${PV} && \
> +               cd ${WORKDIR}/${BPN}-python-${PV} && \
>                   ${STAGING_BINDIR_NATIVE}/python-native/python setup.py
> build
>         fi
>  }
>
>  do_install_append() {
>         if [ "${LIBVIRT_PYTHON_ENABLE}" = "1" ]; then
> -               cd ${WORKDIR}/${PN}-python-${PV} && \
> +               cd ${WORKDIR}/${BPN}-python-${PV} && \
>                   ${STAGING_BINDIR_NATIVE}/python-native/python setup.py
> install \
>                         --install-lib=${D}/${PYTHON_SITEPACKAGES_DIR}
> ${LIBVIRT_INSTALL_ARGS}
>         fi
> --
> 2.6.2
>
> --
> _______________________________________________
> meta-virtualization mailing list
> meta-virtualization at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-virtualization
>



-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-virtualization/attachments/20160804/3ce6870a/attachment.html>


More information about the meta-virtualization mailing list