All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Fix python install in multilib case.
@ 2016-08-01  5:00 Jeremy Puhlman
  2016-08-05  1:46 ` Bruce Ashfield
  0 siblings, 1 reply; 2+ messages in thread
From: Jeremy Puhlman @ 2016-08-01  5:00 UTC (permalink / raw)
  To: meta-virtualization; +Cc: Jeremy Puhlman

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



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Fix python install in multilib case.
  2016-08-01  5:00 [PATCH] Fix python install in multilib case Jeremy Puhlman
@ 2016-08-05  1:46 ` Bruce Ashfield
  0 siblings, 0 replies; 2+ messages in thread
From: Bruce Ashfield @ 2016-08-05  1:46 UTC (permalink / raw)
  To: Jeremy Puhlman; +Cc: meta-virtualization

[-- Attachment #1: Type: text/plain, Size: 1680 bytes --]

merged.

Bruce

On Mon, Aug 1, 2016 at 1:00 AM, Jeremy Puhlman <jpuhlman@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@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"

[-- Attachment #2: Type: text/html, Size: 2518 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-08-05  1:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-01  5:00 [PATCH] Fix python install in multilib case Jeremy Puhlman
2016-08-05  1:46 ` Bruce Ashfield

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.