diff options
author | Kai Kang <kai.kang@windriver.com> | 2024-08-20 17:10:43 +0800 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2024-09-03 02:09:16 +0000 |
commit | eaa2f96862fc916e114f1ca2524b1678d099c8e0 (patch) | |
tree | 160c1e8ca84931c5ca41d0e7af447f5e95734471 /recipes-extended | |
parent | e8b6a87d5b52693dbecbd70214b4fa4ef315b93e (diff) | |
download | meta-virtualization-eaa2f96862fc916e114f1ca2524b1678d099c8e0.tar.gz |
libvirt-virsh: rdepends on libvirt-libvirtd
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 <kai.kang@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'recipes-extended')
-rw-r--r-- | recipes-extended/libvirt/libvirt_git.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/recipes-extended/libvirt/libvirt_git.bb b/recipes-extended/libvirt/libvirt_git.bb index 706d4a40..d01eaaa4 100644 --- a/recipes-extended/libvirt/libvirt_git.bb +++ b/recipes-extended/libvirt/libvirt_git.bb | |||
@@ -85,6 +85,7 @@ FILES:${PN}-virsh = " \ | |||
85 | ${bindir}/virsh \ | 85 | ${bindir}/virsh \ |
86 | ${datadir}/bash-completion/completions/virsh \ | 86 | ${datadir}/bash-completion/completions/virsh \ |
87 | " | 87 | " |
88 | RDEPENDS:${PN}-virsh = "${PN}-libvirtd" | ||
88 | 89 | ||
89 | FILES:${PN} += "${libdir}/libvirt/connection-driver \ | 90 | FILES:${PN} += "${libdir}/libvirt/connection-driver \ |
90 | ${datadir}/augeas \ | 91 | ${datadir}/augeas \ |