summaryrefslogtreecommitdiffstats
path: root/recipes-extended/libvirt/libvirt_5.5.0.bb
Commit message (Collapse)AuthorAgeFilesLines
* libvirt: Do not change /var/lib/libvirt/qemu for mips and mips64 in do_installHe Zhe2019-07-251-3/+12
| | | | | | | | qemu does not support mips and mips64 and thus /var/lib/libvirt/qemu is not generated. Do not change it. Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* libvirt: libvirtd: Facilitate using tls connection modeHe Zhe2019-07-161-1/+27
| | | | | | | | | | | | | | | | | | | | | | tls is the default network connection mode of libvirtd upstream, though we use tcp mode as default. tls requires necessary keys and certificates of certificate authority, server and client to be properly generated and deployed. Otherwise servers and clients cannot be connected. This patch, - integrates sample keys and certificats of certificate authority, server and client for users to be able to use tls mode out of box. - sets default server IP address to 127.0.0.1 for users to use local client out of box. - integrates certtool and provides gnutls-help.py for users to generate keys and certificates on targets in their own ways. - adds a PACKAGECONFIG option "gnutls" to control all of the above integration but disables it to keep the same default behavior as before. Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* libvirt: Only add polkit to PACKAGECONFIG if polkit is in DISTRO_FEATURESMingli Yu2019-07-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | At first, the polkit support is always enabled in PACKAGECONFIG and since Feb 27 2014, use x11 DISTRO_FEATURES to control the polkit support with below commit. ========================================================= commit ce991a62d5f2ce006074ee4b8a97c6029308548c Author: Jonas Eriksson <jonas.eriksson@enea.com> Date: Thu Feb 27 17:10:09 2014 +0100 libvirt: Disable polkit driver when there is no x11 To avoid having the default build of libvirt depend on virtual/x11 through polkit and consolekit, check for x11 in DISTRO_FEATURES before enabling the polkit support in the default PKG_CONFIG. Signed-off-by: Jonas Eriksson <jonas.eriksson@enea.com> Acked-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> diff --git a/recipes-extended/libvirt/libvirt_1.2.1.bb b/recipes-extended/libvirt/libvirt_1.2.1.bb index 5365b8d..4c9cf36 100644 --- a/recipes-extended/libvirt/libvirt_1.2.1.bb +++ b/recipes-extended/libvirt/libvirt_1.2.1.bb @@ -109,10 +109,11 @@ INITSCRIPT_PARAMS_${PN}-libvirtd = "defaults 72" #PACKAGECONFIG ??= "xen libxl xen-inotify test remote libvirtd" # full config -PACKAGECONFIG ??= "qemu yajl uml openvz vmware vbox esx iproute2 polkit lxc test \ +PACKAGECONFIG ??= "qemu yajl uml openvz vmware vbox esx iproute2 lxc test \ remote macvtap libvirtd netcf udev python ebtables \ ${@base_contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)} \ ${@base_contains('DISTRO_FEATURES', 'xen', 'xen libxl xen-inotify', '', d)} \ + ${@base_contains('DISTRO_FEATURES', 'x11', 'polkit', '', d)} \ " ========================================================= After below commits to add polkit as a required distro feature in meta-oe, we should unify altogether to enable polkit if polkit distro feature is set. 97a1a55 polkit: add polkit as a required distro feature c049e02 polkit: inherit distro_features_check Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* libvirt: uprev to 5.5.xBruce Ashfield2019-07-121-0/+347
Upgrading to 5.5.x for libvirt. One pach refresh is required, but otherwise, build and runtime behaviour is identical to 5.3.x. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>