From f964138a214566945a7e902ca2b063ed5c4eec7b Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Sat, 1 Apr 2023 14:15:13 +0200 Subject: [PATCH] buildah: add seccomp and ipv6 to REQUIRED_DISTRO_FEATURES * because it rdepends on podman with the same restriction * BTW: .gitignore has: build*/ which gets triggered for buildah as well: meta-virtualization $ git add ./recipes-containers/buildah/buildah_git.bb The following paths are ignored by one of your .gitignore files: recipes-containers/buildah I've adjusted it to /build*/ only. Signed-off-by: Martin Jansa Signed-off-by: Bruce Ashfield --- .gitignore | 2 +- recipes-containers/buildah/buildah_git.bb | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index a61332ef..daeb43d5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ -build*/ +/build*/ pyshtables.py *.swp *.orig diff --git a/recipes-containers/buildah/buildah_git.bb b/recipes-containers/buildah/buildah_git.bb index 3c17c98c..8c6b8f3b 100644 --- a/recipes-containers/buildah/buildah_git.bb +++ b/recipes-containers/buildah/buildah_git.bb @@ -16,6 +16,10 @@ inherit go inherit goarch inherit pkgconfig +# Rdepends on podman which needs seccomp and ipv6 +inherit features_check +REQUIRED_DISTRO_FEATURES = "seccomp ipv6" + GO_IMPORT = "github.com/containers/buildah" GO_INSTALL = "${GO_IMPORT}" GO_WORKDIR = "${GO_INSTALL}"