Skip to contentSkip to conversation

libvirt: fix PTEST_DIR

PATCH In review Mihaela Sendrea 2 participants 2 messages May 30, 2014 – Jun 3, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libvirt: fix PTEST_DIR

The default PTEST_DIR only works for 32bit.

---
 recipes-extended/libvirt/libvirt/runptest.patch |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-extended/libvirt/libvirt/runptest.patch +1 -1
index cdc0f65..873a959 100644
@@ -12,7 +12,7 @@ Index: libvirt-1.2.4/tests/Makefile.am
  	-I$(top_srcdir)/src/conf \
  	$(GETTEXT_CPPFLAGS)
  
-+PTEST_DIR ?= /usr/lib/libvirt/ptest
++PTEST_DIR ?= $(libdir)/libvirt/ptest
 +
  AM_CFLAGS = \
 -	-Dabs_builddir="\"$(abs_builddir)\"" \
Signature · 1 line
1.7.10.4
#1 lore raw
Quoted 1 line · Mihaela Sendrea

The default PTEST_DIR only works for 32bit.

Looks fine to me. I grabbed and applied these to master and daisy.

Bruce

Quoted 27 lines
---
 recipes-extended/libvirt/libvirt/runptest.patch |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-extended/libvirt/libvirt/runptest.patch +1 -2
index cdc0f65..873a959 100644
@@ -12,7 +12,7 @@ Index: libvirt-1.2.4/tests/Makefile.am
        -I$(top_srcdir)/src/conf \
        $(GETTEXT_CPPFLAGS)
 
-+PTEST_DIR ?= /usr/lib/libvirt/ptest
++PTEST_DIR ?= $(libdir)/libvirt/ptest
 +
  AM_CFLAGS = \
 -      -Dabs_builddir="\"$(abs_builddir)\"" \
--

1.7.10.4

--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization

Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"