diff options
author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2021-06-30 11:22:42 -0400 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2021-06-30 11:22:42 -0400 |
commit | b8f2edd39af6b7ac4461158b0d0382e88e93d6f1 (patch) | |
tree | 6bceee7c5174fe4fe32308567afbbb492351546c /recipes-containers | |
parent | fd4b46ce228119b81725e3655ee4ba49df18a51b (diff) | |
download | meta-virtualization-b8f2edd39af6b7ac4461158b0d0382e88e93d6f1.tar.gz |
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>
Diffstat (limited to 'recipes-containers')
-rw-r--r-- | recipes-containers/crun/crun_git.bb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/recipes-containers/crun/crun_git.bb b/recipes-containers/crun/crun_git.bb index 8c483e55..ea7faa13 100644 --- a/recipes-containers/crun/crun_git.bb +++ b/recipes-containers/crun/crun_git.bb | |||
@@ -24,6 +24,9 @@ inherit autotools-brokensep pkgconfig features_check | |||
24 | 24 | ||
25 | PACKAGECONFIG ??= "" | 25 | PACKAGECONFIG ??= "" |
26 | 26 | ||
27 | inherit features_check | ||
28 | REQUIRED_DISTRO_FEATURES ?= "seccomp" | ||
29 | |||
27 | DEPENDS = "yajl libcap go-md2man-native m4-native" | 30 | DEPENDS = "yajl libcap go-md2man-native m4-native" |
28 | # TODO: is there a packageconfig to turn this off ? | 31 | # TODO: is there a packageconfig to turn this off ? |
29 | DEPENDS += "libseccomp" | 32 | DEPENDS += "libseccomp" |