From f9ba743dad694445f7b7385e03aa0c62cbd71a9d Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Tue, 7 Jan 2025 22:03:43 +0000 Subject: docker: check for seccomp and ipv6 Without these (and their associated packageconfig options) docker may build, but it won't run correctly. Signed-off-by: Bruce Ashfield --- recipes-containers/docker/docker.inc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/recipes-containers/docker/docker.inc b/recipes-containers/docker/docker.inc index 8aabd154..2abca502 100644 --- a/recipes-containers/docker/docker.inc +++ b/recipes-containers/docker/docker.inc @@ -36,11 +36,15 @@ GO_IMPORT = "import" S = "${WORKDIR}/git" + inherit systemd update-rc.d inherit go inherit goarch inherit pkgconfig +REQUIRED_DISTRO_FEATURES ?= "seccomp ipv6" +inherit features_check + do_configure[noexec] = "1" # Export for possible use in Makefiles, default value comes from go.bbclass -- cgit v1.2.3-54-g00ecf