From 917953761ca32ec871d1b411a03a95ef2e50bda0 Mon Sep 17 00:00:00 2001 From: Catalin Enache Date: Wed, 27 Jul 2016 13:32:36 +0300 Subject: libvirt: add missing configuration file openvzutilstest.conf file is needed by openvzutilstest test Signed-off-by: Catalin Enache Signed-off-by: Bruce Ashfield --- .../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 00000000..f6f6e256 --- /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 +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 +--- + 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 be219103..b11f514a 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" -- cgit v1.2.3-54-g00ecf