diff options
| -rw-r--r-- | recipes-extended/libvirt/libvirt-python.inc | 4 | ||||
| -rw-r--r-- | recipes-extended/libvirt/libvirt/install-missing-file.patch | 17 | ||||
| -rw-r--r-- | recipes-extended/libvirt/libvirt/runptest.patch | 56 | ||||
| -rw-r--r-- | recipes-extended/libvirt/libvirt/tools-add-libvirt-net-rpc-to-virt-host-validate-when.patch | 33 | ||||
| -rw-r--r-- | recipes-extended/libvirt/libvirt_5.3.0.bb (renamed from recipes-extended/libvirt/libvirt_4.9.0.bb) | 8 |
5 files changed, 52 insertions, 66 deletions
diff --git a/recipes-extended/libvirt/libvirt-python.inc b/recipes-extended/libvirt/libvirt-python.inc index ae43ba80..95543282 100644 --- a/recipes-extended/libvirt/libvirt-python.inc +++ b/recipes-extended/libvirt/libvirt-python.inc | |||
| @@ -18,8 +18,8 @@ FILES_${PN}-python = "${bindir}/* ${libdir}/* ${libdir}/${PYTHON_DIR}/*" | |||
| 18 | SRC_URI += "http://libvirt.org/sources/python/libvirt-python-${PV}.tar.gz;name=libvirt_python" | 18 | SRC_URI += "http://libvirt.org/sources/python/libvirt-python-${PV}.tar.gz;name=libvirt_python" |
| 19 | SRC_URI += "file://libvirt_api_xml_path.patch;patchdir=../libvirt-python-${PV}" | 19 | SRC_URI += "file://libvirt_api_xml_path.patch;patchdir=../libvirt-python-${PV}" |
| 20 | 20 | ||
| 21 | SRC_URI[libvirt_python.md5sum] = "cba7dc90d564aa8c267c38d452b83f80" | 21 | SRC_URI[libvirt_python.md5sum] = "b7e086e080e5681bece9e87db5a88afa" |
| 22 | SRC_URI[libvirt_python.sha256sum] = "01c4becf50b521a9e3d1b48a3a79d83cb389d86d760b895d911d78f5b6ae7b60" | 22 | SRC_URI[libvirt_python.sha256sum] = "5213f995cb55a2f770aa36704b60313958c7ff1fde8cca39028ea889cc9f30ff" |
| 23 | 23 | ||
| 24 | export LIBVIRT_API_PATH = "${S}/docs/libvirt-api.xml" | 24 | export LIBVIRT_API_PATH = "${S}/docs/libvirt-api.xml" |
| 25 | export LIBVIRT_CFLAGS = "-I${S}/include" | 25 | export LIBVIRT_CFLAGS = "-I${S}/include" |
diff --git a/recipes-extended/libvirt/libvirt/install-missing-file.patch b/recipes-extended/libvirt/libvirt/install-missing-file.patch index cb5a20e3..94c72998 100644 --- a/recipes-extended/libvirt/libvirt/install-missing-file.patch +++ b/recipes-extended/libvirt/libvirt/install-missing-file.patch | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | From 0780181a3285511f166487a54ebc231fc657edfe Mon Sep 17 00:00:00 2001 | 1 | From 4aea9dbeb7f7990ac5a2227d80251570b4a5bca1 Mon Sep 17 00:00:00 2001 |
| 2 | From: Catalin Enache <catalin.enache@windriver.com> | 2 | From: Dengke Du <dengke.du@windriver.com> |
| 3 | Date: Mon, 25 Jul 2016 16:38:51 +0300 | 3 | Date: Wed, 8 May 2019 17:24:17 +0800 |
| 4 | Subject: [PATCH] Install missing conf file | 4 | Subject: [PATCH] Install missing conf file |
| 5 | 5 | ||
| 6 | openvzutilstest.conf file is needed by openvzutilstest test. | 6 | openvzutilstest.conf file is needed by openvzutilstest test. |
| @@ -12,15 +12,17 @@ Signed-off-by: Catalin Enache <catalin.enache@windriver.com> | |||
| 12 | Signed-off-by: Kai Kang <kai.kang@windriver.com> | 12 | Signed-off-by: Kai Kang <kai.kang@windriver.com> |
| 13 | [MA: Update context for v4.3.0] | 13 | [MA: Update context for v4.3.0] |
| 14 | Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> | 14 | Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> |
| 15 | [DDU: Update context for v5.3.0] | ||
| 16 | Signed-off-by: Dengke Du <dengke.du@windriver.com> | ||
| 15 | --- | 17 | --- |
| 16 | tests/Makefile.am | 4 +++- | 18 | tests/Makefile.am | 4 +++- |
| 17 | 1 file changed, 3 insertions(+), 1 deletion(-) | 19 | 1 file changed, 3 insertions(+), 1 deletion(-) |
| 18 | 20 | ||
| 19 | diff --git a/tests/Makefile.am b/tests/Makefile.am | 21 | diff --git a/tests/Makefile.am b/tests/Makefile.am |
| 20 | index 65f776e..8a6fd44 100644 | 22 | index 7d0387e..68c3561 100644 |
| 21 | --- a/tests/Makefile.am | 23 | --- a/tests/Makefile.am |
| 22 | +++ b/tests/Makefile.am | 24 | +++ b/tests/Makefile.am |
| 23 | @@ -173,6 +173,7 @@ EXTRA_DIST = \ | 25 | @@ -168,6 +168,7 @@ EXTRA_DIST = \ |
| 24 | $(NULL) | 26 | $(NULL) |
| 25 | 27 | ||
| 26 | test_helpers = commandhelper ssh | 28 | test_helpers = commandhelper ssh |
| @@ -28,7 +30,7 @@ index 65f776e..8a6fd44 100644 | |||
| 28 | test_programs = virshtest sockettest \ | 30 | test_programs = virshtest sockettest \ |
| 29 | virhostcputest virbuftest \ | 31 | virhostcputest virbuftest \ |
| 30 | commandtest seclabeltest \ | 32 | commandtest seclabeltest \ |
| 31 | @@ -305,6 +306,7 @@ endif WITH_LXC | 33 | @@ -303,6 +304,7 @@ endif WITH_LXC |
| 32 | 34 | ||
| 33 | if WITH_OPENVZ | 35 | if WITH_OPENVZ |
| 34 | test_programs += openvzutilstest | 36 | test_programs += openvzutilstest |
| @@ -36,7 +38,7 @@ index 65f776e..8a6fd44 100644 | |||
| 36 | endif WITH_OPENVZ | 38 | endif WITH_OPENVZ |
| 37 | 39 | ||
| 38 | if WITH_ESX | 40 | if WITH_ESX |
| 39 | @@ -1488,7 +1490,7 @@ endif ! WITH_CIL | 41 | @@ -1539,7 +1541,7 @@ endif ! WITH_CIL |
| 40 | 42 | ||
| 41 | buildtest-TESTS: $(TESTS) $(test_libraries) $(test_helpers) | 43 | buildtest-TESTS: $(TESTS) $(test_libraries) $(test_helpers) |
| 42 | 44 | ||
| @@ -45,7 +47,6 @@ index 65f776e..8a6fd44 100644 | |||
| 45 | 47 | ||
| 46 | install-ptest: | 48 | install-ptest: |
| 47 | list='$(TESTS) $(test_helpers) test-lib.sh virschematest' | 49 | list='$(TESTS) $(test_helpers) test-lib.sh virschematest' |
| 48 | |||
| 49 | -- | 50 | -- |
| 50 | 2.7.4 | 51 | 2.7.4 |
| 51 | 52 | ||
diff --git a/recipes-extended/libvirt/libvirt/runptest.patch b/recipes-extended/libvirt/libvirt/runptest.patch index 457e8218..bc97ba61 100644 --- a/recipes-extended/libvirt/libvirt/runptest.patch +++ b/recipes-extended/libvirt/libvirt/runptest.patch | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | From 94478517c4f9950b28be3a348387db6ede3db812 Mon Sep 17 00:00:00 2001 | 1 | From 52fc46b4f8cfd36476f59c0796f4f39686b53953 Mon Sep 17 00:00:00 2001 |
| 2 | From: Mark Asselstine <mark.asselstine@windriver.com> | 2 | From: Dengke Du <dengke.du@windriver.com> |
| 3 | Date: Mon, 4 Jun 2018 11:55:37 -0400 | 3 | Date: Wed, 8 May 2019 10:20:47 +0800 |
| 4 | Subject: [PATCH] Add 'install-ptest' rule. | 4 | Subject: [PATCH] Add 'install-ptest' rule |
| 5 | 5 | ||
| 6 | Change TESTS_ENVIRONMENT to allow running outside build dir. | 6 | Change TESTS_ENVIRONMENT to allow running outside build dir. |
| 7 | 7 | ||
| @@ -15,15 +15,17 @@ Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> | |||
| 15 | Signed-off-by: He Zhe <zhe.he@windriver.com> | 15 | Signed-off-by: He Zhe <zhe.he@windriver.com> |
| 16 | [MA: Update context for v4.3.0] | 16 | [MA: Update context for v4.3.0] |
| 17 | Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> | 17 | Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> |
| 18 | [DDU: Update context for v5.3.0] | ||
| 19 | Signed-off-by: Dengke Du <dengke.du@windriver.com> | ||
| 18 | --- | 20 | --- |
| 19 | tests/Makefile.am | 74 +++++++++++++++++++++++++++++++++++++++++++++---------- | 21 | tests/Makefile.am | 68 ++++++++++++++++++++++++++++++++++++++++++++++++------- |
| 20 | 1 file changed, 61 insertions(+), 13 deletions(-) | 22 | 1 file changed, 60 insertions(+), 8 deletions(-) |
| 21 | 23 | ||
| 22 | diff --git a/tests/Makefile.am b/tests/Makefile.am | 24 | diff --git a/tests/Makefile.am b/tests/Makefile.am |
| 23 | index 7b93fbd..edc1eb9 100644 | 25 | index 46d94d2..7d0387e 100644 |
| 24 | --- a/tests/Makefile.am | 26 | --- a/tests/Makefile.am |
| 25 | +++ b/tests/Makefile.am | 27 | +++ b/tests/Makefile.am |
| 26 | @@ -35,11 +35,13 @@ INCLUDES = \ | 28 | @@ -29,11 +29,13 @@ AM_CPPFLAGS = \ |
| 27 | 29 | ||
| 28 | WARN_CFLAGS += $(RELAXED_FRAME_LIMIT_CFLAGS) | 30 | WARN_CFLAGS += $(RELAXED_FRAME_LIMIT_CFLAGS) |
| 29 | 31 | ||
| @@ -31,50 +33,32 @@ index 7b93fbd..edc1eb9 100644 | |||
| 31 | + | 33 | + |
| 32 | AM_CFLAGS = \ | 34 | AM_CFLAGS = \ |
| 33 | - -Dabs_builddir="\"$(abs_builddir)\"" \ | 35 | - -Dabs_builddir="\"$(abs_builddir)\"" \ |
| 34 | - -Dabs_topbuilddir="\"$(abs_topbuilddir)\"" \ | 36 | - -Dabs_top_builddir="\"$(abs_top_builddir)\"" \ |
| 35 | - -Dabs_srcdir="\"$(abs_srcdir)\"" \ | 37 | - -Dabs_srcdir="\"$(abs_srcdir)\"" \ |
| 36 | - -Dabs_topsrcdir="\"$(abs_topsrcdir)\"" \ | 38 | - -Dabs_top_srcdir="\"$(abs_top_srcdir)\"" \ |
| 37 | + -Dabs_builddir="\"$(PTEST_DIR)/tests\"" \ | 39 | + -Dabs_builddir="\"$(PTEST_DIR)/tests\"" \ |
| 38 | + -Dabs_topbuilddir="\"$(PTEST_DIR)\"" \ | 40 | + -Dabs_top_builddir="\"$(PTEST_DIR)\"" \ |
| 39 | + -Dabs_srcdir="\"$(PTEST_DIR)/tests\"" \ | 41 | + -Dabs_srcdir="\"$(PTEST_DIR)/tests\"" \ |
| 40 | + -Dabs_topsrcdir="\"$(PTEST_DIR)\"" \ | 42 | + -Dabs_top_srcdir="\"$(PTEST_DIR)\"" \ |
| 41 | $(LIBXML_CFLAGS) \ | 43 | $(LIBXML_CFLAGS) \ |
| 42 | $(LIBNL_CFLAGS) \ | 44 | $(LIBNL_CFLAGS) \ |
| 43 | $(GNUTLS_CFLAGS) \ | 45 | $(GNUTLS_CFLAGS) \ |
| 44 | @@ -64,7 +66,7 @@ QEMULIB_LDFLAGS = \ | 46 | @@ -465,10 +467,10 @@ TESTS = $(test_programs) \ |
| 45 | $(MINGW_EXTRA_LDFLAGS) | ||
| 46 | 47 | ||
| 47 | INCLUDES += \ | ||
| 48 | - -DTEST_DRIVER_DIR=\"$(top_builddir)/src/.libs\" | ||
| 49 | + -DTEST_DRIVER_DIR=\"$(PTEST_DIR)/src/.libs\" | ||
| 50 | |||
| 51 | PROBES_O = | ||
| 52 | if WITH_DTRACE_PROBES | ||
| 53 | @@ -466,17 +468,15 @@ TESTS = $(test_programs) \ | ||
| 54 | # Also, BSD sh doesn't like 'a=b b=$$a', so we can't use an | ||
| 55 | # intermediate shell variable, but must do all the expansion in make | ||
| 56 | |||
| 57 | -lv_abs_top_builddir=$(shell cd '$(top_builddir)' && pwd) | ||
| 58 | - | ||
| 59 | VIR_TEST_EXPENSIVE ?= $(VIR_TEST_EXPENSIVE_DEFAULT) | 48 | VIR_TEST_EXPENSIVE ?= $(VIR_TEST_EXPENSIVE_DEFAULT) |
| 60 | TESTS_ENVIRONMENT = \ | 49 | TESTS_ENVIRONMENT = \ |
| 61 | - abs_top_builddir=$(lv_abs_top_builddir) \ | 50 | - abs_top_builddir="$(abs_top_builddir)" \ |
| 62 | - abs_top_srcdir=`cd '$(top_srcdir)'; pwd` \ | 51 | - abs_top_srcdir="$(abs_top_srcdir)" \ |
| 63 | - abs_builddir=$(abs_builddir) \ | 52 | - abs_builddir="$(abs_builddir)" \ |
| 64 | - abs_srcdir=$(abs_srcdir) \ | 53 | - abs_srcdir="$(abs_srcdir)" \ |
| 65 | - CONFIG_HEADER="$(lv_abs_top_builddir)/config.h" \ | ||
| 66 | + abs_top_builddir="$(PTEST_DIR)" \ | 54 | + abs_top_builddir="$(PTEST_DIR)" \ |
| 67 | + abs_top_srcdir="$(PTEST_DIR)" \ | 55 | + abs_top_srcdir="$(PTEST_DIR)" \ |
| 68 | + abs_builddir="$(PTEST_DIR)/tests" \ | 56 | + abs_builddir="$(PTEST_DIR)/tests" \ |
| 69 | + abs_srcdir="$(PTEST_DIR)/tests" \ | 57 | + abs_srcdir="$(PTEST_DIR)/tests" \ |
| 70 | + CONFIG_HEADER="$(PTEST_DIR)/config.h" \ | ||
| 71 | SHELL="$(SHELL)" \ | 58 | SHELL="$(SHELL)" \ |
| 72 | - LIBVIRT_DRIVER_DIR="$(lv_abs_top_builddir)/src/.libs" \ | ||
| 73 | + LIBVIRT_DRIVER_DIR="$(PTEST_DIR)/src/.libs" \ | ||
| 74 | LIBVIRT_AUTOSTART=0 \ | 59 | LIBVIRT_AUTOSTART=0 \ |
| 75 | LC_ALL=C \ | 60 | LC_ALL=C \ |
| 76 | VIR_TEST_EXPENSIVE=$(VIR_TEST_EXPENSIVE) \ | 61 | @@ -1535,5 +1537,55 @@ else ! WITH_CIL |
| 77 | @@ -1486,5 +1486,55 @@ else ! WITH_CIL | ||
| 78 | EXTRA_DIST += objectlocking.ml | 62 | EXTRA_DIST += objectlocking.ml |
| 79 | endif ! WITH_CIL | 63 | endif ! WITH_CIL |
| 80 | 64 | ||
diff --git a/recipes-extended/libvirt/libvirt/tools-add-libvirt-net-rpc-to-virt-host-validate-when.patch b/recipes-extended/libvirt/libvirt/tools-add-libvirt-net-rpc-to-virt-host-validate-when.patch index 5f6f9502..d49776c1 100644 --- a/recipes-extended/libvirt/libvirt/tools-add-libvirt-net-rpc-to-virt-host-validate-when.patch +++ b/recipes-extended/libvirt/libvirt/tools-add-libvirt-net-rpc-to-virt-host-validate-when.patch | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | From f73c5c61c921bf773dcba5e4234e23afce5dbe7f Mon Sep 17 00:00:00 2001 | 1 | From ae4b40a1b3cb63a322716b6ad1762d53ada249e1 Mon Sep 17 00:00:00 2001 |
| 2 | From: Bruce Ashfield <bruce.ashfield@windriver.com> | 2 | From: Dengke Du <dengke.du@windriver.com> |
| 3 | Date: Fri, 2 Aug 2013 11:38:43 -0400 | 3 | Date: Tue, 7 May 2019 15:26:32 +0800 |
| 4 | Subject: [PATCH] tools: add libvirt-net-rpc to virt-host-validate when TLS is | 4 | Subject: [PATCH] tools: add libvirt-net-rpc to virt-host-validate when TLS is |
| 5 | enabled | 5 | enabled |
| 6 | 6 | ||
| @@ -13,17 +13,19 @@ Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> | |||
| 13 | Signed-off-by: Yunguo Wei <yunguo.wei@windriver.com> | 13 | Signed-off-by: Yunguo Wei <yunguo.wei@windriver.com> |
| 14 | [MA: rebase to v4.3.0] | 14 | [MA: rebase to v4.3.0] |
| 15 | Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> | 15 | Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> |
| 16 | [ddu: rebase to v5.3.0] | ||
| 17 | Signed-off-by: Dengke Du <dengke.du@windriver.com> | ||
| 16 | --- | 18 | --- |
| 17 | examples/Makefile.am | 19 +++++++++++++++++++ | 19 | examples/Makefile.am | 19 +++++++++++++++++++ |
| 18 | tools/Makefile.am | 13 +++++++++++++ | 20 | tools/Makefile.am | 12 ++++++++++++ |
| 19 | 2 files changed, 32 insertions(+) | 21 | 2 files changed, 31 insertions(+) |
| 20 | 22 | ||
| 21 | diff --git a/examples/Makefile.am b/examples/Makefile.am | 23 | diff --git a/examples/Makefile.am b/examples/Makefile.am |
| 22 | index 7069d74..c8893e3 100644 | 24 | index ee7d3e6..7a5fd73 100644 |
| 23 | --- a/examples/Makefile.am | 25 | --- a/examples/Makefile.am |
| 24 | +++ b/examples/Makefile.am | 26 | +++ b/examples/Makefile.am |
| 25 | @@ -39,6 +39,10 @@ LDADD = $(STATIC_BINARIES) $(WARN_CFLAGS) $(COVERAGE_LDFLAGS) \ | 27 | @@ -34,6 +34,10 @@ LDADD = $(STATIC_BINARIES) $(WARN_CFLAGS) \ |
| 26 | $(top_builddir)/src/libvirt.la $(top_builddir)/gnulib/lib/libgnu.la \ | 28 | $(top_builddir)/src/libvirt.la \ |
| 27 | $(top_builddir)/src/libvirt-admin.la | 29 | $(top_builddir)/src/libvirt-admin.la |
| 28 | 30 | ||
| 29 | +if WITH_GNUTLS | 31 | +if WITH_GNUTLS |
| @@ -33,7 +35,7 @@ index 7069d74..c8893e3 100644 | |||
| 33 | noinst_PROGRAMS=dominfo/info1 dommigrate/dommigrate domsuspend/suspend \ | 35 | noinst_PROGRAMS=dominfo/info1 dommigrate/dommigrate domsuspend/suspend \ |
| 34 | domtop/domtop hellolibvirt/hellolibvirt object-events/event-test \ | 36 | domtop/domtop hellolibvirt/hellolibvirt object-events/event-test \ |
| 35 | openauth/openauth rename/rename admin/list_servers admin/list_clients \ | 37 | openauth/openauth rename/rename admin/list_servers admin/list_clients \ |
| 36 | @@ -70,6 +74,21 @@ admin_logging_SOURCES = admin/logging.c | 38 | @@ -65,6 +69,21 @@ admin_logging_SOURCES = admin/logging.c |
| 37 | INSTALL_DATA_LOCAL = | 39 | INSTALL_DATA_LOCAL = |
| 38 | UNINSTALL_LOCAL = | 40 | UNINSTALL_LOCAL = |
| 39 | 41 | ||
| @@ -52,14 +54,14 @@ index 7069d74..c8893e3 100644 | |||
| 52 | + $(NULL) | 54 | + $(NULL) |
| 53 | +endif | 55 | +endif |
| 54 | + | 56 | + |
| 55 | if WITH_APPARMOR_PROFILES | 57 | if WITH_NWFILTER |
| 56 | apparmordir = $(sysconfdir)/apparmor.d/ | 58 | NWFILTER_DIR = "$(DESTDIR)$(sysconfdir)/libvirt/nwfilter" |
| 57 | apparmor_DATA = \ | 59 | |
| 58 | diff --git a/tools/Makefile.am b/tools/Makefile.am | 60 | diff --git a/tools/Makefile.am b/tools/Makefile.am |
| 59 | index 1452d98..204e772 100644 | 61 | index c6064de..1ac8445 100644 |
| 60 | --- a/tools/Makefile.am | 62 | --- a/tools/Makefile.am |
| 61 | +++ b/tools/Makefile.am | 63 | +++ b/tools/Makefile.am |
| 62 | @@ -188,6 +188,13 @@ virt_host_validate_LDADD = \ | 64 | @@ -188,6 +188,12 @@ virt_host_validate_LDADD = \ |
| 63 | ../gnulib/lib/libgnu.la \ | 65 | ../gnulib/lib/libgnu.la \ |
| 64 | $(NULL) | 66 | $(NULL) |
| 65 | 67 | ||
| @@ -69,11 +71,10 @@ index 1452d98..204e772 100644 | |||
| 69 | + $(NULL) | 71 | + $(NULL) |
| 70 | +endif | 72 | +endif |
| 71 | + | 73 | + |
| 72 | + | ||
| 73 | virt_host_validate_CFLAGS = \ | 74 | virt_host_validate_CFLAGS = \ |
| 74 | $(AM_CFLAGS) \ | 75 | $(AM_CFLAGS) \ |
| 75 | $(NULL) | 76 | $(NULL) |
| 76 | @@ -268,6 +275,12 @@ virt_admin_CFLAGS = \ | 77 | @@ -265,6 +271,12 @@ virt_admin_CFLAGS = \ |
| 77 | $(READLINE_CFLAGS) | 78 | $(READLINE_CFLAGS) |
| 78 | BUILT_SOURCES = | 79 | BUILT_SOURCES = |
| 79 | 80 | ||
diff --git a/recipes-extended/libvirt/libvirt_4.9.0.bb b/recipes-extended/libvirt/libvirt_5.3.0.bb index 813d95ec..c54a99e2 100644 --- a/recipes-extended/libvirt/libvirt_4.9.0.bb +++ b/recipes-extended/libvirt/libvirt_5.3.0.bb | |||
| @@ -38,8 +38,8 @@ SRC_URI = "http://libvirt.org/sources/libvirt-${PV}.tar.xz;name=libvirt \ | |||
| 38 | file://hook_support.py \ | 38 | file://hook_support.py \ |
| 39 | " | 39 | " |
| 40 | 40 | ||
| 41 | SRC_URI[libvirt.md5sum] = "aaf7b265ac2013d6eb184a86b5f7eeb9" | 41 | SRC_URI[libvirt.md5sum] = "1cfaaf3717783ba19850b5ac04f7e76a" |
| 42 | SRC_URI[libvirt.sha256sum] = "4fd4bfe7312b7996a817c7919cf0062de0d5b3c400c93bd30855a46c40dd455a" | 42 | SRC_URI[libvirt.sha256sum] = "8564bdd506817b3957fa67e4f06b217922d30f19e416c4dc620995fd155dc101" |
| 43 | 43 | ||
| 44 | inherit autotools gettext update-rc.d pkgconfig ptest systemd useradd | 44 | inherit autotools gettext update-rc.d pkgconfig ptest systemd useradd |
| 45 | USERADD_PACKAGES = "${PN}" | 45 | USERADD_PACKAGES = "${PN}" |
| @@ -131,6 +131,7 @@ FILES_${PN} += "${libdir}/libvirt/connection-driver \ | |||
| 131 | ${@bb.utils.contains('PACKAGECONFIG', 'polkit', '${datadir}/polkit-1', '', d)} \ | 131 | ${@bb.utils.contains('PACKAGECONFIG', 'polkit', '${datadir}/polkit-1', '', d)} \ |
| 132 | ${datadir}/bash-completion/completions/vsh \ | 132 | ${datadir}/bash-completion/completions/vsh \ |
| 133 | ${datadir}/bash-completion/completions/virt-admin \ | 133 | ${datadir}/bash-completion/completions/virt-admin \ |
| 134 | /usr/lib/firewalld/zones/libvirt.xml \ | ||
| 134 | " | 135 | " |
| 135 | 136 | ||
| 136 | FILES_${PN}-dbg += "${libdir}/libvirt/connection-driver/.debug ${libdir}/libvirt/lock-driver/.debug" | 137 | FILES_${PN}-dbg += "${libdir}/libvirt/connection-driver/.debug ${libdir}/libvirt/lock-driver/.debug" |
| @@ -182,7 +183,7 @@ PRIVATE_LIBS_${PN}-ptest = " \ | |||
| 182 | #PACKAGECONFIG ??= "xen libxl xen-inotify test remote libvirtd" | 183 | #PACKAGECONFIG ??= "xen libxl xen-inotify test remote libvirtd" |
| 183 | 184 | ||
| 184 | # full config | 185 | # full config |
| 185 | PACKAGECONFIG ??= "qemu yajl uml openvz vmware vbox esx iproute2 lxc test \ | 186 | PACKAGECONFIG ??= "qemu yajl openvz vmware vbox esx iproute2 lxc test \ |
| 186 | remote macvtap libvirtd netcf udev python ebtables \ | 187 | remote macvtap libvirtd netcf udev python ebtables \ |
| 187 | fuse iproute2 firewalld libpcap \ | 188 | fuse iproute2 firewalld libpcap \ |
| 188 | ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux audit libcap-ng', '', d)} \ | 189 | ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux audit libcap-ng', '', d)} \ |
| @@ -201,7 +202,6 @@ PACKAGECONFIG[qemu] = "--with-qemu --with-qemu-user=qemu --with-qemu-group=qemu, | |||
| 201 | PACKAGECONFIG[yajl] = "--with-yajl,--without-yajl,yajl,yajl" | 202 | PACKAGECONFIG[yajl] = "--with-yajl,--without-yajl,yajl,yajl" |
| 202 | PACKAGECONFIG[xenapi] = "--with-xenapi,--without-xenapi,," | 203 | PACKAGECONFIG[xenapi] = "--with-xenapi,--without-xenapi,," |
| 203 | PACKAGECONFIG[libxl] = "--with-libxl=${STAGING_DIR_TARGET}/lib,--without-libxl,xen," | 204 | PACKAGECONFIG[libxl] = "--with-libxl=${STAGING_DIR_TARGET}/lib,--without-libxl,xen," |
| 204 | PACKAGECONFIG[uml] = "--with-uml, --without-uml,," | ||
| 205 | PACKAGECONFIG[openvz] = "--with-openvz,--without-openvz,," | 205 | PACKAGECONFIG[openvz] = "--with-openvz,--without-openvz,," |
| 206 | PACKAGECONFIG[vmware] = "--with-vmware,--without-vmware,," | 206 | PACKAGECONFIG[vmware] = "--with-vmware,--without-vmware,," |
| 207 | PACKAGECONFIG[phyp] = "--with-phyp,--without-phyp,," | 207 | PACKAGECONFIG[phyp] = "--with-phyp,--without-phyp,," |
