Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] qemu: Avoid accidental librdmacm linkage
@ 2022-07-11 12:24 Richard Purdie
  2022-07-11 18:42 ` [OE-core] " Peter Kjellerstedt
  2022-07-12  8:23 ` Khem Raj
  0 siblings, 2 replies; 4+ messages in thread
From: Richard Purdie @ 2022-07-11 12:24 UTC (permalink / raw)
  To: openembedded-core

Avoid accidentally linking to the rdma library from the host by
adding a PACKAGECONFIG for the option. This was found on new
Fedora 36 autobuilder workers.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 meta/recipes-devtools/qemu/qemu.inc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc
index ef4e949805b..e9095fd750f 100644
--- a/meta/recipes-devtools/qemu/qemu.inc
+++ b/meta/recipes-devtools/qemu/qemu.inc
@@ -186,6 +186,7 @@ PACKAGECONFIG[pulsedio] = "--enable-pa,--disable-pa,pulseaudio"
 PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux"
 PACKAGECONFIG[bpf] = "--enable-bpf,--disable-bpf,libbpf"
 PACKAGECONFIG[capstone] = "--enable-capstone,--disable-capstone"
+PACKAGECONFIG[rdma] = "--enable-dma,--disable-rdma"
 
 INSANE_SKIP:${PN} = "arch"
 
-- 
2.34.1



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

* RE: [OE-core] [PATCH] qemu: Avoid accidental librdmacm linkage
  2022-07-11 12:24 [PATCH] qemu: Avoid accidental librdmacm linkage Richard Purdie
@ 2022-07-11 18:42 ` Peter Kjellerstedt
  2022-07-12 10:31   ` Richard Purdie
  2022-07-12  8:23 ` Khem Raj
  1 sibling, 1 reply; 4+ messages in thread
From: Peter Kjellerstedt @ 2022-07-11 18:42 UTC (permalink / raw)
  To: Richard Purdie, openembedded-core@lists.openembedded.org

> -----Original Message-----
> From: openembedded-core@lists.openembedded.org <openembedded-
> core@lists.openembedded.org> On Behalf Of Richard Purdie
> Sent: den 11 juli 2022 14:24
> To: openembedded-core@lists.openembedded.org
> Subject: [OE-core] [PATCH] qemu: Avoid accidental librdmacm linkage
> 
> Avoid accidentally linking to the rdma library from the host by
> adding a PACKAGECONFIG for the option. This was found on new
> Fedora 36 autobuilder workers.
> 
> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
> ---
>  meta/recipes-devtools/qemu/qemu.inc | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-
> devtools/qemu/qemu.inc
> index ef4e949805b..e9095fd750f 100644
> --- a/meta/recipes-devtools/qemu/qemu.inc
> +++ b/meta/recipes-devtools/qemu/qemu.inc
> @@ -186,6 +186,7 @@ PACKAGECONFIG[pulsedio] = "--enable-pa,--disable-
> pa,pulseaudio"
>  PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux"
>  PACKAGECONFIG[bpf] = "--enable-bpf,--disable-bpf,libbpf"
>  PACKAGECONFIG[capstone] = "--enable-capstone,--disable-capstone"
> +PACKAGECONFIG[rdma] = "--enable-dma,--disable-rdma"

Shouldn't that be "--enable-rdma"?

> 
>  INSANE_SKIP:${PN} = "arch"
> 
> --
> 2.34.1

//Peter



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

* Re: [OE-core] [PATCH] qemu: Avoid accidental librdmacm linkage
  2022-07-11 12:24 [PATCH] qemu: Avoid accidental librdmacm linkage Richard Purdie
  2022-07-11 18:42 ` [OE-core] " Peter Kjellerstedt
@ 2022-07-12  8:23 ` Khem Raj
  1 sibling, 0 replies; 4+ messages in thread
From: Khem Raj @ 2022-07-12  8:23 UTC (permalink / raw)
  To: Richard Purdie, openembedded-core



On 7/11/22 1:24 PM, Richard Purdie wrote:
> Avoid accidentally linking to the rdma library from the host by
> adding a PACKAGECONFIG for the option. This was found on new
> Fedora 36 autobuilder workers.
> 
> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
> ---
>   meta/recipes-devtools/qemu/qemu.inc | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc
> index ef4e949805b..e9095fd750f 100644
> --- a/meta/recipes-devtools/qemu/qemu.inc
> +++ b/meta/recipes-devtools/qemu/qemu.inc
> @@ -186,6 +186,7 @@ PACKAGECONFIG[pulsedio] = "--enable-pa,--disable-pa,pulseaudio"
>   PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux"
>   PACKAGECONFIG[bpf] = "--enable-bpf,--disable-bpf,libbpf"
>   PACKAGECONFIG[capstone] = "--enable-capstone,--disable-capstone"
> +PACKAGECONFIG[rdma] = "--enable-dma,--disable-rdma"
                                    ^^

should this be rdma ?

>   
>   INSANE_SKIP:${PN} = "arch"
>   
> 
> 
> 
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#167867): https://lists.openembedded.org/g/openembedded-core/message/167867
> Mute This Topic: https://lists.openembedded.org/mt/92308429/1997914
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
> 


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

* Re: [OE-core] [PATCH] qemu: Avoid accidental librdmacm linkage
  2022-07-11 18:42 ` [OE-core] " Peter Kjellerstedt
@ 2022-07-12 10:31   ` Richard Purdie
  0 siblings, 0 replies; 4+ messages in thread
From: Richard Purdie @ 2022-07-12 10:31 UTC (permalink / raw)
  To: Peter Kjellerstedt, openembedded-core@lists.openembedded.org

On Mon, 2022-07-11 at 18:42 +0000, Peter Kjellerstedt wrote:
> > -----Original Message-----
> > From: openembedded-core@lists.openembedded.org <openembedded-
> > core@lists.openembedded.org> On Behalf Of Richard Purdie
> > Sent: den 11 juli 2022 14:24
> > To: openembedded-core@lists.openembedded.org
> > Subject: [OE-core] [PATCH] qemu: Avoid accidental librdmacm linkage
> > 
> > Avoid accidentally linking to the rdma library from the host by
> > adding a PACKAGECONFIG for the option. This was found on new
> > Fedora 36 autobuilder workers.
> > 
> > Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
> > ---
> >  meta/recipes-devtools/qemu/qemu.inc | 1 +
> >  1 file changed, 1 insertion(+)
> > 
> > diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-
> > devtools/qemu/qemu.inc
> > index ef4e949805b..e9095fd750f 100644
> > --- a/meta/recipes-devtools/qemu/qemu.inc
> > +++ b/meta/recipes-devtools/qemu/qemu.inc
> > @@ -186,6 +186,7 @@ PACKAGECONFIG[pulsedio] = "--enable-pa,--
> > disable-
> > pa,pulseaudio"
> >  PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux"
> >  PACKAGECONFIG[bpf] = "--enable-bpf,--disable-bpf,libbpf"
> >  PACKAGECONFIG[capstone] = "--enable-capstone,--disable-capstone"
> > +PACKAGECONFIG[rdma] = "--enable-dma,--disable-rdma"
> 
> Shouldn't that be "--enable-rdma"?

It should. I've tweaked the patch in master-next.

Cheers,

Richard


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

end of thread, other threads:[~2022-07-12 10:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-11 12:24 [PATCH] qemu: Avoid accidental librdmacm linkage Richard Purdie
2022-07-11 18:42 ` [OE-core] " Peter Kjellerstedt
2022-07-12 10:31   ` Richard Purdie
2022-07-12  8:23 ` Khem Raj

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox