conmon: add dependency on libseccomp and seccomp to REQUIRED_DISTRO_FEATURES
PATCH 1/1 conmon: add dependency on libseccomp and seccomp to REQUIRED_DISTRO_FEATURES
* 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 <[email protected]>
--- recipes-containers/conmon/conmon_git.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
recipes-containers/conmon/conmon_git.bb +4 -1
@@ -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 = "\
Signature · 1 line
2.30.2
Thanks Martin,
This is now merged.
Bruce
Quoted 35 lines · 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 <[email protected]>--- recipes-containers/conmon/conmon_git.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)recipes-containers/conmon/conmon_git.bb +4
-2@@ -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
Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II