* [meta-virtualization][PATCH] conmon: add dependency on libseccomp and seccomp to REQUIRED_DISTRO_FEATURES
@ 2021-06-23 16:35 Martin Jansa
2021-06-24 16:50 ` Bruce Ashfield
0 siblings, 1 reply; 2+ messages in thread
From: Martin Jansa @ 2021-06-23 16:35 UTC (permalink / raw)
To: meta-virtualization; +Cc: Martin Jansa
* added with to v2.0.29 commit:
106cad5 seccomp: add support for seccomp notify
* fixes:
| src/seccomp_notify.c:9:10: fatal error: seccomp.h: No such file or directory
| 9 | #include <seccomp.h>
| | ^~~~~~~~~~~
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
recipes-containers/conmon/conmon_git.bb | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/recipes-containers/conmon/conmon_git.bb b/recipes-containers/conmon/conmon_git.bb
index 5c45ce0..e2f452c 100644
--- a/recipes-containers/conmon/conmon_git.bb
+++ b/recipes-containers/conmon/conmon_git.bb
@@ -4,7 +4,10 @@ HOMEPAGE = "https://github.com/containers/conmon"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=61af0b6932ea7b12fb9142721043bc77"
-DEPENDS = "glib-2.0 go-md2man-native"
+inherit features_check
+REQUIRED_DISTRO_FEATURES ?= "seccomp"
+
+DEPENDS = "glib-2.0 go-md2man-native libseccomp"
SRCREV = "1ef246896b4f6566964ed861b98cd32d0e7bf7a2"
SRC_URI = "\
--
2.30.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [meta-virtualization][PATCH] conmon: add dependency on libseccomp and seccomp to REQUIRED_DISTRO_FEATURES
2021-06-23 16:35 [meta-virtualization][PATCH] conmon: add dependency on libseccomp and seccomp to REQUIRED_DISTRO_FEATURES Martin Jansa
@ 2021-06-24 16:50 ` Bruce Ashfield
0 siblings, 0 replies; 2+ messages in thread
From: Bruce Ashfield @ 2021-06-24 16:50 UTC (permalink / raw)
To: Martin Jansa; +Cc: meta-virtualization
Thanks Martin,
This is now merged.
Bruce
On Wed, Jun 23, 2021 at 12:35 PM Martin Jansa <Martin.Jansa@gmail.com> wrote:
>
> * added with to v2.0.29 commit:
> 106cad5 seccomp: add support for seccomp notify
> * fixes:
> | src/seccomp_notify.c:9:10: fatal error: seccomp.h: No such file or directory
> | 9 | #include <seccomp.h>
> | | ^~~~~~~~~~~
>
> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
> ---
> recipes-containers/conmon/conmon_git.bb | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/recipes-containers/conmon/conmon_git.bb b/recipes-containers/conmon/conmon_git.bb
> index 5c45ce0..e2f452c 100644
> --- a/recipes-containers/conmon/conmon_git.bb
> +++ b/recipes-containers/conmon/conmon_git.bb
> @@ -4,7 +4,10 @@ HOMEPAGE = "https://github.com/containers/conmon"
> LICENSE = "Apache-2.0"
> LIC_FILES_CHKSUM = "file://LICENSE;md5=61af0b6932ea7b12fb9142721043bc77"
>
> -DEPENDS = "glib-2.0 go-md2man-native"
> +inherit features_check
> +REQUIRED_DISTRO_FEATURES ?= "seccomp"
> +
> +DEPENDS = "glib-2.0 go-md2man-native libseccomp"
>
> SRCREV = "1ef246896b4f6566964ed861b98cd32d0e7bf7a2"
> SRC_URI = "\
> --
> 2.30.2
>
>
>
>
--
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-06-24 16:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-23 16:35 [meta-virtualization][PATCH] conmon: add dependency on libseccomp and seccomp to REQUIRED_DISTRO_FEATURES Martin Jansa
2021-06-24 16:50 ` 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.