libvirt-virsh: rdepends on libvirt-libvirtd
PATCH 1/2 libvirt-virsh: rdepends on libvirt-libvirtd
From: Kai Kang <[email protected]>
virsh can not do anything without libvirt daemon running, such as
$ virsh list error: failed to connect to the hypervisor error: Operation not supported: Cannot use direct socket mode if no URI is set
So add libvirt-libvirtd to RDEPENDS of libvirt-virsh.
Signed-off-by Kai Kang <[email protected]>
--- recipes-extended/libvirt/libvirt_git.bb | 1 + 1 file changed, 1 insertion(+)
recipes-extended/libvirt/libvirt_git.bb +1 -0
@@ -85,6 +85,7 @@ FILES:${PN}-virsh = " \ ${bindir}/virsh \ ${datadir}/bash-completion/completions/virsh \ " +RDEPENDS:${PN}-virsh = "${PN}-libvirtd" FILES:${PN} += "${libdir}/libvirt/connection-driver \ ${datadir}/augeas \
Signature · 1 line
2.34.1
PATCH 2/2 virt-manager: update RDEPENDS for virt-manager-install
From: Kai Kang <[email protected]>
Update RDEPENDS for package virt-manager-install which are required by command virt-install. For example, the error is as follows when missing virsh:
Error launching ['virsh', '--connect', 'qemu:///system', 'console',
'myvm']: [Errno 2] No such file or directory
Signed-off-by Kai Kang <[email protected]>
--- recipes-extended/virt-manager/virt-manager_4.1.0.bb | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)
recipes-extended/virt-manager/virt-manager_4.1.0.bb +7 -1
@@ -35,7 +35,13 @@ RDEPENDS:${PN} = " \ python3-pygobject \ python3-requests \ " -RDEPENDS:${PN}-install = "${PN}-common" +RDEPENDS:${PN}-install = " \ + ${PN}-common \ + libvirt-virsh \ + libxml2-python \ + python3-pygobject \ + python3-requests \ +" SETUPTOOLS_INSTALL_ARGS += "${PACKAGECONFIG_CONFARGS}"
Signature · 1 line
2.34.1