All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] qemu: Add packageconfig for libseccomp to avoid rdepend QA warning
@ 2016-05-20  6:25 zhe.he
  0 siblings, 0 replies; only message in thread
From: zhe.he @ 2016-05-20  6:25 UTC (permalink / raw)
  To: bruce.ashfield; +Cc: meta-virtualization

From: He Zhe <zhe.he@windriver.com>

"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 <zhe.he@windriver.com>
---
 meta-openstack/recipes-devtools/qemu/qemu_2.%.bbappend | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-openstack/recipes-devtools/qemu/qemu_2.%.bbappend b/meta-openstack/recipes-devtools/qemu/qemu_2.%.bbappend
index ca8274e..9d774c4 100644
--- a/meta-openstack/recipes-devtools/qemu/qemu_2.%.bbappend
+++ b/meta-openstack/recipes-devtools/qemu/qemu_2.%.bbappend
@@ -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"
-- 
1.9.1



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-05-20  6:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-20  6:25 [PATCH] qemu: Add packageconfig for libseccomp to avoid rdepend QA warning zhe.he

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.