diff options
| author | Roy Li <rongqing.li@windriver.com> | 2015-05-15 09:24:49 +0800 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2015-05-20 08:09:52 -0400 |
| commit | 1c1be83047035da25a14c28ac1f9453f7fdc67bc (patch) | |
| tree | 53fff8be64ff999e205b9af4247f08a0ebad5a4f | |
| parent | 0277cbcb47db4239d0a4aa3b37c5c6a705070951 (diff) | |
| download | meta-virtualization-1c1be83047035da25a14c28ac1f9453f7fdc67bc.tar.gz | |
libvirt: upgrade to 1.2.15
Remove libvirt-Fix-cannot-symlink-cpu_map.xml-error.patch, since
rules for install *.xml are changed, the race issue does not exist.
Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
| -rw-r--r-- | recipes-extended/libvirt/libvirt-python.inc | 4 | ||||
| -rw-r--r-- | recipes-extended/libvirt/libvirt/libvirt-Fix-cannot-symlink-cpu_map.xml-error.patch | 34 | ||||
| -rw-r--r-- | recipes-extended/libvirt/libvirt_1.2.15.bb (renamed from recipes-extended/libvirt/libvirt_1.2.12.bb) | 7 |
3 files changed, 5 insertions, 40 deletions
diff --git a/recipes-extended/libvirt/libvirt-python.inc b/recipes-extended/libvirt/libvirt-python.inc index 21cfa55e..550236ac 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] = "4255f2bfece23aacbc8d94256598b302" | 21 | SRC_URI[libvirt_python.md5sum] = "f13b566b54fe71ec0f26992aee11dd09" |
| 22 | SRC_URI[libvirt_python.sha256sum] = "432f438f9759e216424490f51a8804398b70fb1b2f2211f45fb05f72f5ad849f" | 22 | SRC_URI[libvirt_python.sha256sum] = "9a6dfbd487d49f887a41aca4bfb1b4e043fd9fbdfc041252cae84023f5c387ba" |
| 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/libvirt-Fix-cannot-symlink-cpu_map.xml-error.patch b/recipes-extended/libvirt/libvirt/libvirt-Fix-cannot-symlink-cpu_map.xml-error.patch deleted file mode 100644 index 090bc6ea..00000000 --- a/recipes-extended/libvirt/libvirt/libvirt-Fix-cannot-symlink-cpu_map.xml-error.patch +++ /dev/null | |||
| @@ -1,34 +0,0 @@ | |||
| 1 | libvirt: do_compile fails 'src/cpu/cpu_map.xml': No such file or directory' | ||
| 2 | |||
| 3 | In some very rare circumstances, libvirt's compile will try to create the | ||
| 4 | symlink for cpu_map.xml before creating the directory $(abs_builddir)/cpu. | ||
| 5 | |||
| 6 | Add a test to create this directory if it hasn't already been created. | ||
| 7 | |||
| 8 | Signed-off-by: Amy Fong <amy.fong@windriver.com> | ||
| 9 | |||
| 10 | --- | ||
| 11 | src/Makefile.am | 1 + | ||
| 12 | src/Makefile.in | 1 + | ||
| 13 | 2 files changed, 2 insertions(+) | ||
| 14 | |||
| 15 | --- a/src/Makefile.am | ||
| 16 | +++ b/src/Makefile.am | ||
| 17 | @@ -1053,6 +1053,7 @@ | ||
| 18 | libvirt_cpu_la_DEPENDENCIES = $(abs_builddir)/cpu/cpu_map.xml | ||
| 19 | |||
| 20 | $(abs_builddir)/cpu/cpu_map.xml: | ||
| 21 | + if [ ! -d $(abs_builddir)/cpu ]; then $(MKDIR_P) $(abs_builddir)/cpu/; fi | ||
| 22 | $(AM_V_GEN)ln -s $(abs_srcdir)/cpu/cpu_map.xml $@ | ||
| 23 | |||
| 24 | if WITH_VMX | ||
| 25 | --- a/src/Makefile.in | ||
| 26 | +++ b/src/Makefile.in | ||
| 27 | @@ -10338,6 +10338,7 @@ | ||
| 28 | $(srcdir)/lxc/lxc_controller_dispatch.h | ||
| 29 | |||
| 30 | $(abs_builddir)/cpu/cpu_map.xml: | ||
| 31 | + if [ ! -d $(abs_builddir)/cpu ]; then $(MKDIR_P) $(abs_builddir)/cpu/; fi | ||
| 32 | $(AM_V_GEN)ln -s $(abs_srcdir)/cpu/cpu_map.xml $@ | ||
| 33 | |||
| 34 | %protocol.c: %protocol.x %protocol.h $(srcdir)/rpc/genprotocol.pl | ||
diff --git a/recipes-extended/libvirt/libvirt_1.2.12.bb b/recipes-extended/libvirt/libvirt_1.2.15.bb index 298da2b5..8abd41ef 100644 --- a/recipes-extended/libvirt/libvirt_1.2.12.bb +++ b/recipes-extended/libvirt/libvirt_1.2.15.bb | |||
| @@ -30,12 +30,11 @@ SRC_URI = "http://libvirt.org/sources/libvirt-${PV}.tar.gz;name=libvirt \ | |||
| 30 | file://runptest.patch \ | 30 | file://runptest.patch \ |
| 31 | file://run-ptest \ | 31 | file://run-ptest \ |
| 32 | file://tests-allow-separated-src-and-build-dirs.patch \ | 32 | file://tests-allow-separated-src-and-build-dirs.patch \ |
| 33 | file://libvirt-Fix-cannot-symlink-cpu_map.xml-error.patch \ | ||
| 34 | file://libvirt-use-pkg-config-to-locate-libcap.patch \ | 33 | file://libvirt-use-pkg-config-to-locate-libcap.patch \ |
| 35 | " | 34 | " |
| 36 | 35 | ||
| 37 | SRC_URI[libvirt.md5sum] = "2ae99535265ce4687d8718d744024c27" | 36 | SRC_URI[libvirt.md5sum] = "08c2ea825d076ee67b1bbc600c220b97" |
| 38 | SRC_URI[libvirt.sha256sum] = "eff5227f774560d97f0b44402a444e821c51e8cd44add89f74bc3c1f4dede66a" | 37 | SRC_URI[libvirt.sha256sum] = "5f88041b8c212f8f687c672fe583108833240d6175b512ce4de92ab6660194c6" |
| 39 | 38 | ||
| 40 | inherit autotools gettext update-rc.d pkgconfig ptest | 39 | inherit autotools gettext update-rc.d pkgconfig ptest |
| 41 | 40 | ||
| @@ -102,7 +101,7 @@ FILES_${PN}-libvirtd = "${sysconfdir}/init.d \ | |||
| 102 | ${sysconfdir}/sysctl.d \ | 101 | ${sysconfdir}/sysctl.d \ |
| 103 | ${sysconfdir}/logrotate.d \ | 102 | ${sysconfdir}/logrotate.d \ |
| 104 | ${sysconfdir}/libvirt/libvirtd.conf \ | 103 | ${sysconfdir}/libvirt/libvirtd.conf \ |
| 105 | /usr/lib/sysctl.d/libvirtd.conf \ | 104 | /usr/lib/sysctl.d/60-libvirtd.conf \ |
| 106 | ${sbindir}/libvirtd" | 105 | ${sbindir}/libvirtd" |
| 107 | 106 | ||
| 108 | FILES_${PN}-virsh = "${bindir}/virsh" | 107 | FILES_${PN}-virsh = "${bindir}/virsh" |
