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.
--- 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
Bruce Ashfield
Appliedmerged to master.
Bruce
Quoted 39 lines · On Fri, May 20, 2016 at 2:27 AM, <[email protected]> wrote:
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"
--
1.9.1--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization
Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"
Quoted 2 lines · Bruce Ashfield
merged to master.
Wont this make a depends on the meta-security layer where libseccomp lives?
- Armin
Quoted 56 lines
Bruce
On Fri, May 20, 2016 at 2:27 AM, <[email protected] <mailto:[email protected]>> wrote:
From: He Zhe <[email protected] <mailto:[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]<mailto:[email protected]>>
---
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--
_______________________________________________
meta-virtualization mailing list
[email protected]
<mailto:[email protected]>
https://lists.yoctoproject.org/listinfo/meta-virtualizationSignature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"
Quoted 6 lines · On Fri, May 20, 2016 at 12:41 PM, akuster@mvista <[email protected]> wrote:
Quoted 2 lines · Bruce Ashfield
merged to master.
Wont this make a depends on the meta-security layer where libseccomp lives?
Yep. When enabled (which I have in other builds). But since it is off by default,
I'm fine with it.
Bruce
Quoted 61 lines
- Armin
Quoted 56 lines
Bruce
On Fri, May 20, 2016 at 2:27 AM, <[email protected] <mailto:[email protected]>> wrote:
From: He Zhe <[email protected] <mailto:[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]<mailto:[email protected]>>
---
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--
_______________________________________________
meta-virtualization mailing list
[email protected]
<mailto:[email protected]>
https://lists.yoctoproject.org/listinfo/meta-virtualization--
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"
Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"