diff options
author | He Zhe <zhe.he@windriver.com> | 2019-07-30 14:52:22 +0800 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2019-07-31 22:15:23 -0400 |
commit | fc129dccd304bf5bf2f7e7241750354126714e0a (patch) | |
tree | 608eaa9455cb046d270a1d076ffc15dad0c2e1bd | |
parent | 4f870fa7553a93c43ceca5b9d8afaeda51744fdd (diff) | |
download | meta-virtualization-fc129dccd304bf5bf2f7e7241750354126714e0a.tar.gz |
libvirt: Remove numactl from PACKAGECONFIG for arm
b5b5def ("libvirt: add hook support") introduces a wrong check against KARCH
which is not defined.
This patch use TARGET_ARCH overrides to remove numactl from PACKAGECONFIG for
32-bit arm arches.
Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
-rw-r--r-- | recipes-extended/libvirt/libvirt_5.5.0.bb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/recipes-extended/libvirt/libvirt_5.5.0.bb b/recipes-extended/libvirt/libvirt_5.5.0.bb index 80f7a6cf..de936c4f 100644 --- a/recipes-extended/libvirt/libvirt_5.5.0.bb +++ b/recipes-extended/libvirt/libvirt_5.5.0.bb | |||
@@ -192,13 +192,16 @@ PACKAGECONFIG ??= "qemu yajl openvz vmware vbox esx iproute2 lxc test \ | |||
192 | ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux audit libcap-ng', '', d)} \ | 192 | ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux audit libcap-ng', '', d)} \ |
193 | ${@bb.utils.contains('DISTRO_FEATURES', 'xen', 'libxl', '', d)} \ | 193 | ${@bb.utils.contains('DISTRO_FEATURES', 'xen', 'libxl', '', d)} \ |
194 | ${@bb.utils.contains('DISTRO_FEATURES', 'polkit', 'polkit', '', d)} \ | 194 | ${@bb.utils.contains('DISTRO_FEATURES', 'polkit', 'polkit', '', d)} \ |
195 | ${@bb.utils.contains('KARCH', 'arm', '', 'numactl', d)} \ | ||
196 | " | 195 | " |
197 | 196 | ||
198 | # qemu is NOT compatible with mips64 | 197 | # qemu is NOT compatible with mips64 |
199 | PACKAGECONFIG_remove_mipsarchn32 = "qemu" | 198 | PACKAGECONFIG_remove_mipsarchn32 = "qemu" |
200 | PACKAGECONFIG_remove_mipsarchn64 = "qemu" | 199 | PACKAGECONFIG_remove_mipsarchn64 = "qemu" |
201 | 200 | ||
201 | # numactl is NOT compatible with arm | ||
202 | PACKAGECONFIG_remove_arm = "numactl" | ||
203 | PACKAGECONFIG_remove_armeb = "numactl" | ||
204 | |||
202 | # enable,disable,depends,rdepends | 205 | # enable,disable,depends,rdepends |
203 | # | 206 | # |
204 | PACKAGECONFIG[gnutls] = ",,,gnutls-bin" | 207 | PACKAGECONFIG[gnutls] = ",,,gnutls-bin" |