diff options
author | hongxu <hongxu.jia@eng.windriver.com> | 2025-02-10 15:46:59 +0800 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2025-02-18 19:29:47 +0000 |
commit | c0fac810d979d9330e4b41c82f2b76796f303bd4 (patch) | |
tree | 6df5197b956ecc234f1648c74dcf54c9256ae7d0 | |
parent | d329e8245e96eeabab3fe5f0bc35269bf055d01e (diff) | |
download | meta-virtualization-c0fac810d979d9330e4b41c82f2b76796f303bd4.tar.gz |
libvirt: add json-c for driver_qemu
After upstreamm applied commit [meson: switch checks to depend on
json-c as well as yajl][1], json-c is required to build QEMU driver.
Depending on your distro configuration, json-c may or may not be
pulled in as a dependency via elfutils.
To ensure we are distro configuration independent, we explicitly
add json-c as a depdendency when the qemu_driver is used.
[1] https://github.com/libvirt/libvirt/commit/28c987263980afc5b606a36a8d264b68cb01e9b9
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
-rw-r--r-- | recipes-extended/libvirt/libvirt_git.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-extended/libvirt/libvirt_git.bb b/recipes-extended/libvirt/libvirt_git.bb index b6539bfa..b6f46722 100644 --- a/recipes-extended/libvirt/libvirt_git.bb +++ b/recipes-extended/libvirt/libvirt_git.bb | |||
@@ -149,7 +149,7 @@ PACKAGECONFIG:remove:armeb = "numactl" | |||
149 | # enable,disable,depends,rdepends | 149 | # enable,disable,depends,rdepends |
150 | # | 150 | # |
151 | PACKAGECONFIG[gnutls] = ",,,gnutls-bin" | 151 | PACKAGECONFIG[gnutls] = ",,,gnutls-bin" |
152 | PACKAGECONFIG[qemu] = "-Ddriver_qemu=enabled -Dqemu_user=qemu -Dqemu_group=qemu,-Ddriver_qemu=disabled,qemu," | 152 | PACKAGECONFIG[qemu] = "-Ddriver_qemu=enabled -Dqemu_user=qemu -Dqemu_group=qemu,-Ddriver_qemu=disabled,qemu json-c," |
153 | PACKAGECONFIG[libxl] = "-Ddriver_libxl=enabled,-Ddriver_libxl=disabled,xen," | 153 | PACKAGECONFIG[libxl] = "-Ddriver_libxl=enabled,-Ddriver_libxl=disabled,xen," |
154 | PACKAGECONFIG[openvz] = "-Ddriver_openvz=enabled,-Ddriver_openvz=disabled,," | 154 | PACKAGECONFIG[openvz] = "-Ddriver_openvz=enabled,-Ddriver_openvz=disabled,," |
155 | PACKAGECONFIG[vmware] = "-Ddriver_vmware=enabled,-Ddriver_vmware=disabled,," | 155 | PACKAGECONFIG[vmware] = "-Ddriver_vmware=enabled,-Ddriver_vmware=disabled,," |