From fd4b46ce228119b81725e3655ee4ba49df18a51b Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Wed, 30 Jun 2021 11:21:19 -0400 Subject: cri-o: 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 --- recipes-containers/cri-o/cri-o_git.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/recipes-containers/cri-o/cri-o_git.bb b/recipes-containers/cri-o/cri-o_git.bb index 10522193..5adef226 100644 --- a/recipes-containers/cri-o/cri-o_git.bb +++ b/recipes-containers/cri-o/cri-o_git.bb @@ -29,6 +29,9 @@ GO_IMPORT = "import" PV = "1.22.0+git${SRCREV_cri-o}" +inherit features_check +REQUIRED_DISTRO_FEATURES ?= "seccomp" + DEPENDS = " \ glib-2.0 \ btrfs-tools \ -- cgit v1.2.3-54-g00ecf