[meta-virtualization] [PATCH] libvirt: add missing configuration file
Catalin Enache
catalin.enache at windriver.com
Wed Jul 27 03:32:36 PDT 2016
openvzutilstest.conf file is needed by openvzutilstest test
Signed-off-by: Catalin Enache <catalin.enache at windriver.com>
---
.../libvirt/libvirt/install-missing-file.patch | 44 ++++++++++++++++++++++
recipes-extended/libvirt/libvirt_1.3.2.bb | 1 +
2 files changed, 45 insertions(+)
create mode 100644 recipes-extended/libvirt/libvirt/install-missing-file.patch
diff --git a/recipes-extended/libvirt/libvirt/install-missing-file.patch b/recipes-extended/libvirt/libvirt/install-missing-file.patch
new file mode 100644
index 0000000..f6f6e25
--- /dev/null
+++ b/recipes-extended/libvirt/libvirt/install-missing-file.patch
@@ -0,0 +1,44 @@
+From 0780181a3285511f166487a54ebc231fc657edfe Mon Sep 17 00:00:00 2001
+From: Catalin Enache <catalin.enache at windriver.com>
+Date: Mon, 25 Jul 2016 16:38:51 +0300
+Subject: [PATCH] Install missing conf file
+
+openvzutilstest.conf file is needed by openvzutilstest test.
+
+Signed-off-by: Catalin Enache <catalin.enache at windriver.com>
+---
+ tests/Makefile.am | 4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
+
+diff --git a/tests/Makefile.am b/tests/Makefile.am
+index 02e0dd8..187fbca 100644
+--- a/tests/Makefile.am
++++ b/tests/Makefile.am
+@@ -155,6 +155,7 @@ EXTRA_DIST = \
+ xml2vmxdata
+
+ test_helpers = commandhelper ssh test_conf
++test_misc =
+ test_programs = virshtest sockettest \
+ nodeinfotest virbuftest \
+ commandtest seclabeltest \
+@@ -259,6 +260,7 @@ endif WITH_LXC
+
+ if WITH_OPENVZ
+ test_programs += openvzutilstest
++test_misc += openvzutilstest.conf
+ endif WITH_OPENVZ
+
+ if WITH_ESX
+@@ -1293,7 +1295,7 @@ endif ! WITH_CIL
+
+ buildtest-TESTS: $(TESTS) $(test_libraries) $(test_helpers)
+
+-PTESTS = $(TESTS) $(test_helpers) test-lib.sh schematestutils.sh
++PTESTS = $(TESTS) $(test_helpers) $(test_misc) test-lib.sh schematestutils.sh
+
+ install-ptest:
+ list='$(TESTS) $(test_helpers) test-lib.sh schematestutils.sh'
+--
+2.7.4
+
diff --git a/recipes-extended/libvirt/libvirt_1.3.2.bb b/recipes-extended/libvirt/libvirt_1.3.2.bb
index 42066c1..0da768e 100644
--- a/recipes-extended/libvirt/libvirt_1.3.2.bb
+++ b/recipes-extended/libvirt/libvirt_1.3.2.bb
@@ -33,6 +33,7 @@ SRC_URI = "http://libvirt.org/sources/libvirt-${PV}.tar.gz;name=libvirt \
file://libvirt-use-pkg-config-to-locate-libcap.patch \
file://0001-to-fix-build-error.patch \
file://Revert-build-add-prefix-to-SYSTEMD_UNIT_DIR.patch \
+ file://install-missing-file.patch \
"
SRC_URI[libvirt.md5sum] = "b48b06bbc7efbe9973ed0f3f223d6da2"
--
2.7.4
More information about the meta-virtualization
mailing list