qemu: Add packageconfig for libseccomp to avoid rdepend QA warning
PATCH 1/1 qemu: Add packageconfig for libseccomp to avoid rdepend QA warning
From: He Zhe <[email protected]>
"WARNING: QA Issue: qemu rdepends on libseccomp, but it isn't a build dependency? [build-deps]"
Currently qemu itself checks and links with libsecomp(if version >= 2.1.1) for x86 and x86-64, since it is not specified in configure, and causes the above warning.
This patch adds packageconfig for libseccomp and set it disabled as default. This feature can be enabled whenever libseccomp exists and is needed.
Signed-off-by He Zhe <[email protected]>
--- meta-openstack/recipes-devtools/qemu/qemu_2.%.bbappend | 1 + 1 file changed, 1 insertion(+)
meta-openstack/recipes-devtools/qemu/qemu_2.%.bbappend +1 -0
@@ -1,4 +1,5 @@ PACKAGECONFIG[spice] = "--enable-spice,--disable-spice,spice," +PACKAGECONFIG[libseccomp] = "--enable-seccomp,--disable-seccomp,libseccomp,libseccomp" PACKAGECONFIG ?= "fdt spice virtfs libcap-ng" PACKAGECONFIG_class-native = "fdt"
Signature · 1 line
1.9.1