* [Buildroot] [PATCH next v2] qemu: enable seccomp if libseccomp is selected
@ 2018-11-25 1:21 Carlos Santos
2018-11-25 8:21 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Carlos Santos @ 2018-11-25 1:21 UTC (permalink / raw)
To: buildroot
It is required to use qemu with libvirt and allows us to resume working
on the libvirt package (https://patchwork.ozlabs.org/patch/841613).
Signed-off-by: Carlos Santos <casantos@datacom.com.br>
---
Supersedes: https://patchwork.ozlabs.org/patch/1000481/
---
Changes v1->v2:
- Do not introduce an explicit option, just enable seccomp support when
BR2_PACKAGE_LIBSECCOMP=y.
---
package/qemu/qemu.mk | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/package/qemu/qemu.mk b/package/qemu/qemu.mk
index 5ee6abf731..66b74467b9 100644
--- a/package/qemu/qemu.mk
+++ b/package/qemu/qemu.mk
@@ -81,6 +81,13 @@ else
QEMU_OPTS += --disable-tools
endif
+ifeq ($(BR2_PACKAGE_LIBSECCOMP),y)
+QEMU_OPTS += --enable-seccomp
+QEMU_DEPENDENCIES += libseccomp
+else
+QEMU_OPTS += --disable-seccomp
+endif
+
ifeq ($(BR2_PACKAGE_LIBSSH2),y)
QEMU_OPTS += --enable-libssh2
QEMU_DEPENDENCIES += libssh2
@@ -121,7 +128,6 @@ define QEMU_CONFIGURE_CMDS
--disable-libiscsi \
--disable-usb-redir \
--disable-strip \
- --disable-seccomp \
--disable-sparse \
--disable-mpath \
--disable-sanitizers \
--
2.19.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH next v2] qemu: enable seccomp if libseccomp is selected
2018-11-25 1:21 [Buildroot] [PATCH next v2] qemu: enable seccomp if libseccomp is selected Carlos Santos
@ 2018-11-25 8:21 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2018-11-25 8:21 UTC (permalink / raw)
To: buildroot
Hello,
On Sat, 24 Nov 2018 23:21:22 -0200, Carlos Santos wrote:
> It is required to use qemu with libvirt and allows us to resume working
> on the libvirt package (https://patchwork.ozlabs.org/patch/841613).
>
> Signed-off-by: Carlos Santos <casantos@datacom.com.br>
> ---
> Supersedes: https://patchwork.ozlabs.org/patch/1000481/
> ---
> Changes v1->v2:
> - Do not introduce an explicit option, just enable seccomp support when
> BR2_PACKAGE_LIBSECCOMP=y.
> ---
> package/qemu/qemu.mk | 8 +++++++-
> 1 file changed, 7 insertions(+), 1 deletion(-)
Applied to next, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-11-25 8:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-25 1:21 [Buildroot] [PATCH next v2] qemu: enable seccomp if libseccomp is selected Carlos Santos
2018-11-25 8:21 ` Thomas Petazzoni
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.