libvirt: Remove numactl from PACKAGECONFIG for arm
PATCH 1/1 libvirt: Remove numactl from PACKAGECONFIG for arm
From: He Zhe <[email protected]>
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 <[email protected]>
--- recipes-extended/libvirt/libvirt_5.5.0.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
recipes-extended/libvirt/libvirt_5.5.0.bb +4 -1
@@ -192,13 +192,16 @@ PACKAGECONFIG ??= "qemu yajl openvz vmware vbox esx iproute2 lxc test \ ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux audit libcap-ng', '', d)} \ ${@bb.utils.contains('DISTRO_FEATURES', 'xen', 'libxl', '', d)} \ ${@bb.utils.contains('DISTRO_FEATURES', 'polkit', 'polkit', '', d)} \ - ${@bb.utils.contains('KARCH', 'arm', '', 'numactl', d)} \ " # qemu is NOT compatible with mips64 PACKAGECONFIG_remove_mipsarchn32 = "qemu" PACKAGECONFIG_remove_mipsarchn64 = "qemu" +# numactl is NOT compatible with arm +PACKAGECONFIG_remove_arm = "numactl" +PACKAGECONFIG_remove_armeb = "numactl" + # enable,disable,depends,rdepends # PACKAGECONFIG[gnutls] = ",,,gnutls-bin"
Signature · 1 line
2.7.4
merged.
Bruce
Quoted 47 lines · On Tue, Jul 30, 2019 at 2:52 AM <[email protected]> wrote:
From: He Zhe <[email protected]>
b5b5def ("libvirt: add hook support") introduces a wrong check against KARCH
which is not defined.This patch use
TARGET_ARCHoverrides to remove numactl from PACKAGECONFIG for
32-bit arm arches.Signed-off-by He Zhe <[email protected]>--- recipes-extended/libvirt/libvirt_5.5.0.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)recipes-extended/libvirt/libvirt_5.5.0.bb +4
-2@@ -192,13 +192,16 @@ PACKAGECONFIG ??= "qemu yajl openvz vmware vbox esx iproute2 lxc test \ ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux audit libcap-ng', '', d)} \ ${@bb.utils.contains('DISTRO_FEATURES', 'xen', 'libxl', '', d)} \ ${@bb.utils.contains('DISTRO_FEATURES', 'polkit', 'polkit', '', d)} \ - ${@bb.utils.contains('KARCH', 'arm', '', 'numactl', d)} \ " # qemu is NOT compatible with mips64 PACKAGECONFIG_remove_mipsarchn32 = "qemu" PACKAGECONFIG_remove_mipsarchn64 = "qemu" +# numactl is NOT compatible with arm +PACKAGECONFIG_remove_arm = "numactl" +PACKAGECONFIG_remove_armeb = "numactl" + # enable,disable,depends,rdepends # PACKAGECONFIG[gnutls] = ",,,gnutls-bin" --2.7.4
Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II