summaryrefslogtreecommitdiffstats
path: root/recipes-extended/libvirt/libvirt_1.3.5.bb
Commit message (Collapse)AuthorAgeFilesLines
* libvirt: add DEPENDS for libdevmapperMark Asselstine2017-04-271-1/+1
| | | | | | | | | | | | | | | | | | Commit 8709d4504c35817ef1d7181b47ba96c3ca0c949e [lvm2: separate libdevmapper to avoid circular dependency] in meta-oe meant that our build would fail with checking for libdevmapper.h... no configure: error: You must install device-mapper-devel/libdevmapper >= 1.0.0 to compile libvirt Add the required DEPENDS for libdevmapper to get the build working as it did prior to this meta-oe change. NOTE: our previous dependency on lvm2 was not only to get libdevmapper functionality, so lvm2 remains a valid DEPENDS, so is left in place. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: Fix conditional dependencies on polkitRob Woolley2017-04-241-4/+13
| | | | | | | | | | | | | | | | | | | | The DIRFILES variable was a temporary workaround to resolve a do_rootfs RPM package conflict between libvirt and polkit. This happened because of the different permissions and ownership that the packages placed on ${datadir}/usr/share/polkit-1/rules.d. The behaviour is now conditional based on how PACKAGECONFIG is set. The polkit rules will be removed from the package if polkit is not enabled. If polkit is enabled the permissions and ownership are set to match those set by the polkit recipe. This uses the useradd enhancements for RSS. It requires that shadow-native be included as a DEPENDS to provide the useradd command in the native sysroot. Signed-off-by: Rob Woolley <rob.woolley@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: fix polkit file conflictBruce Ashfield2017-03-201-0/+2
| | | | | | | | | | | | The switch to RPM4 and dnf results in this error during rootfs construction: Error: Transaction check error: file /usr/share/polkit-1/rules.d conflicts between attempted installs of libvirt-1.3.5-r0.13.core2_64 and polkit-0.113-r0.9.core2_64 We can temporarily work around it by instructing RPM to not package/process the dirfiles. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: fix QA warning caused by missing acl build depZhenbo Gao2017-03-141-1/+1
| | | | | | | | | The patch fix the following QA warning: -- WARNING: QA Issue: libvirt rdepends on libacl, but it isn't a build dependency? [build-deps] Signed-off-by: Zhenbo Gao <zhenbo.gao@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: Place systemd units at appropriate location.Amarnath Valluri2017-02-091-1/+2
| | | | | | | | | | Systemd untis should be placed as per ${systemd_system_unitdir}. Patched the source code to support configure variable to set the systemd units directory. Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: add 'wireshark' packageconfigMark Asselstine2016-11-171-0/+1
| | | | | | | | | | | | | | | | | | | | libvirt by default has '--with-wireshark-dissector' set to 'check'. Therefor if wireshark is built before vs after libvirt this will result in a potentially unexpected difference in how libvirt is configured. Additionally the build of libvirt with wireshark capabilities enabled is currently broken and thus if attempted will result in the error: fatal error: ws_symbol_export.h: No such file or directory To prevent the random configuration of libvirt with respect to wireshark we add a new packageconfig for wireshark. NOTE that the wireshark recipe is currently incomplete so this new packageconfig will result in a build failure if used, until wireshark is updated to build libwsutil. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
* libvirt: remove .o files for ptestKai Kang2016-09-221-1/+1
| | | | | | | | | When do split_and_strip_files, it may calls debugedit to deal elf files. For ptest sub-package, it fails to run debugedit with .o files. So remove the .o files which are redundant to run ptest cases. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: Add missing test helpers and remove windows 1252He Zhe2016-09-061-0/+2
| | | | | | | | Add missing test helpers We don't support windows encoding so remove that case Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: update list of licensesMark Asselstine2016-08-311-2/+2
| | | | | | | | | | | | | | | | | Apparently if a license is listed for a package it must be included in the overall LICENSE variable otherwise you will get WARNINGS such as: WARNING: LICENSE_libvirt-ptest includes licenses (LGPLv2.1 GPLv2+) that are not listed in LICENSE We ensure that the license string is consistent between the LICENSE variable and the subpackage license string to remove this warning. Since '2+' is a superset of '2', ie. "version 2 or later", and actually is more reflective of the text found on the file headers and such we use GPLv2+ and LGPLv2.1+. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: fix CVE-2016-5008Kai Kang2016-08-161-0/+1
| | | | | | | | | Backport patch to fix CVE-2016-5008 from: https://libvirt.org/git/?p=libvirt.git;a=commit;h=f32441c Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: fix build error for armKai Kang2016-08-081-0/+1
| | | | | | | | | | | | | | | | | | | | | | When build for architecture that don't use gcc atomic ops but pthread, it fails to build for arm: | ../tools/nss/.libs/libnss_libvirt_impl.a(libvirt_nss_la-virobject.o): In function `virClassNew': | /buildarea2/kkang/builds/qemuarm-Aug03/bitbake_build/tmp/work/armv5e-wrs-linux-gnueabi/libvirt/1.3.5-r0/build/src/../../libvirt-1.3.5/src/util/virobject.c:153: undefined reference to `virAtomicLock' | ../tools/nss/.libs/libnss_libvirt_impl.a(libvirt_nss_la-virobject.o): In function `virObjectNew': | /buildarea2/kkang/builds/qemuarm-Aug03/bitbake_build/tmp/work/armv5e-wrs-linux-gnueabi/libvirt/1.3.5-r0/build/src/../../libvirt-1.3.5/src/util/virobject.c:205: undefined reference to `virAtomicLock' | ../tools/nss/.libs/libnss_libvirt_impl.a(libvirt_nss_la-virobject.o): In function `virObjectUnref': | /buildarea2/kkang/builds/qemuarm-Aug03/bitbake_build/tmp/work/armv5e-wrs-linux-gnueabi/libvirt/1.3.5-r0/build/src/../../libvirt-1.3.5/src/util/virobject.c:277: undefined reference to `virAtomicLock' | ../tools/nss/.libs/libnss_libvirt_impl.a(libvirt_nss_la-virobject.o): In function `virObjectRef': | /buildarea2/kkang/builds/qemuarm-Aug03/bitbake_build/tmp/work/armv5e-wrs-linux-gnueabi/libvirt/1.3.5-r0/build/src/../../libvirt-1.3.5/src/util/virobject.c:298: undefined reference to `virAtomicLock' | collect2: error: ld returned 1 exit status It is similar with: http://libvirt.org/git/?p=libvirt.git;a=commit;h=12dc729 Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: upgrade 1.3.2 -> 1.3.5Kai Kang2016-08-041-0/+288
Upgrade libvirt from 1.3.2 to 1.3.5. * update checksums and remove PR * remove trailing whitespace * remove backport patch 0001-fix-crash-in-getAllDomainStats.patch * update context of patches * remove libvirtd.socket from SYSTEMD_SERVICE which doesn't exist anymore * install test data which ptest requires Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Bruce Ashfield <bruce@zedd.org>