diff options
author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2021-06-30 11:21:19 -0400 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2021-06-30 11:21:19 -0400 |
commit | fd4b46ce228119b81725e3655ee4ba49df18a51b (patch) | |
tree | e8ace972a88d7aab7c76a48f596994ee345640a3 | |
parent | 66994bf37e6a94949f12fd3393f2f7e0927ded62 (diff) | |
download | meta-virtualization-fd4b46ce228119b81725e3655ee4ba49df18a51b.tar.gz |
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 <bruce.ashfield@gmail.com>
-rw-r--r-- | recipes-containers/cri-o/cri-o_git.bb | 3 |
1 files changed, 3 insertions, 0 deletions
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" | |||
29 | 29 | ||
30 | PV = "1.22.0+git${SRCREV_cri-o}" | 30 | PV = "1.22.0+git${SRCREV_cri-o}" |
31 | 31 | ||
32 | inherit features_check | ||
33 | REQUIRED_DISTRO_FEATURES ?= "seccomp" | ||
34 | |||
32 | DEPENDS = " \ | 35 | DEPENDS = " \ |
33 | glib-2.0 \ | 36 | glib-2.0 \ |
34 | btrfs-tools \ | 37 | btrfs-tools \ |