All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-cloud-services][PATCH] qemu: Add packageconfig for libseccomp to avoid rdepend QA warning
@ 2016-05-20  6:27 zhe.he
  2016-05-20 16:33 ` Bruce Ashfield
  0 siblings, 1 reply; 4+ messages in thread
From: zhe.he @ 2016-05-20  6:27 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] 4+ messages in thread

* Re: [meta-cloud-services][PATCH] qemu: Add packageconfig for libseccomp to avoid rdepend QA warning
  2016-05-20  6:27 [meta-cloud-services][PATCH] qemu: Add packageconfig for libseccomp to avoid rdepend QA warning zhe.he
@ 2016-05-20 16:33 ` Bruce Ashfield
  2016-05-20 16:41   ` akuster
  0 siblings, 1 reply; 4+ messages in thread
From: Bruce Ashfield @ 2016-05-20 16:33 UTC (permalink / raw)
  To: He Zhe; +Cc: meta-virtualization

[-- Attachment #1: Type: text/plain, Size: 1617 bytes --]

merged to master.

Bruce

On Fri, May 20, 2016 at 2:27 AM, <zhe.he@windriver.com> wrote:

> 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
>
> --
> _______________________________________________
> meta-virtualization mailing list
> meta-virtualization@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-virtualization
>



-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end"

[-- Attachment #2: Type: text/html, Size: 2438 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [meta-cloud-services][PATCH] qemu: Add packageconfig for libseccomp to avoid rdepend QA warning
  2016-05-20 16:33 ` Bruce Ashfield
@ 2016-05-20 16:41   ` akuster
  2016-05-20 19:46     ` Bruce Ashfield
  0 siblings, 1 reply; 4+ messages in thread
From: akuster @ 2016-05-20 16:41 UTC (permalink / raw)
  To: Bruce Ashfield, He Zhe; +Cc: meta-virtualization

On 5/20/16 9:33 AM, Bruce Ashfield wrote:
> merged to master.
> 

Wont this make a depends on the meta-security layer where libseccomp lives?

- Armin


> Bruce
> 
> On Fri, May 20, 2016 at 2:27 AM, <zhe.he@windriver.com
> <mailto:zhe.he@windriver.com>> wrote:
> 
>     From: He Zhe <zhe.he@windriver.com <mailto: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
>     <mailto: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
> 
>     --
>     _______________________________________________
>     meta-virtualization mailing list
>     meta-virtualization@yoctoproject.org
>     <mailto:meta-virtualization@yoctoproject.org>
>     https://lists.yoctoproject.org/listinfo/meta-virtualization
> 
> 
> 
> 
> -- 
> "Thou shalt not follow the NULL pointer, for chaos and madness await
> thee at its end"
> 
> 


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [meta-cloud-services][PATCH] qemu: Add packageconfig for libseccomp to avoid rdepend QA warning
  2016-05-20 16:41   ` akuster
@ 2016-05-20 19:46     ` Bruce Ashfield
  0 siblings, 0 replies; 4+ messages in thread
From: Bruce Ashfield @ 2016-05-20 19:46 UTC (permalink / raw)
  To: akuster@mvista; +Cc: meta-virtualization

[-- Attachment #1: Type: text/plain, Size: 2497 bytes --]

On Fri, May 20, 2016 at 12:41 PM, akuster@mvista <akuster@mvista.com> wrote:

> On 5/20/16 9:33 AM, Bruce Ashfield wrote:
> > 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


>
> - Armin
>
>
> > Bruce
> >
> > On Fri, May 20, 2016 at 2:27 AM, <zhe.he@windriver.com
> > <mailto:zhe.he@windriver.com>> wrote:
> >
> >     From: He Zhe <zhe.he@windriver.com <mailto: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
> >     <mailto: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
> >
> >     --
> >     _______________________________________________
> >     meta-virtualization mailing list
> >     meta-virtualization@yoctoproject.org
> >     <mailto:meta-virtualization@yoctoproject.org>
> >     https://lists.yoctoproject.org/listinfo/meta-virtualization
> >
> >
> >
> >
> > --
> > "Thou shalt not follow the NULL pointer, for chaos and madness await
> > thee at its end"
> >
> >
>



-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end"

[-- Attachment #2: Type: text/html, Size: 4150 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-05-20 19:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-20  6:27 [meta-cloud-services][PATCH] qemu: Add packageconfig for libseccomp to avoid rdepend QA warning zhe.he
2016-05-20 16:33 ` Bruce Ashfield
2016-05-20 16:41   ` akuster
2016-05-20 19:46     ` Bruce Ashfield

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.