Skip to contentSkip to conversation

qemu: Add packageconfig for libseccomp to avoid rdepend QA warning

PATCH New [email protected] 1 participant 1 message May 20, 2016

lore
Share & tools
lore
#0 lore raw

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.

---
 meta-openstack/recipes-devtools/qemu/qemu_2.%.bbappend | 1 +
 1 file changed, 1 insertion(+)
meta-openstack/recipes-devtools/qemu/qemu_2.%.bbappend +1 -0
index ca8274e..9d774c4 100644
@@ -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