crun: add seccomp distro features check

Since seccomp depends on libseccomp, and seccomp is only available
when the distro feature is enabled, we add the same dependency and
distro feature check to this recipe.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
This commit is contained in:
Bruce Ashfield 2021-06-30 11:22:42 -04:00
parent fd4b46ce22
commit b8f2edd39a

View File

@ -24,6 +24,9 @@ inherit autotools-brokensep pkgconfig features_check
PACKAGECONFIG ??= ""
inherit features_check
REQUIRED_DISTRO_FEATURES ?= "seccomp"
DEPENDS = "yajl libcap go-md2man-native m4-native"
# TODO: is there a packageconfig to turn this off ?
DEPENDS += "libseccomp"