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 <bruce.ashfield@gmail.com>
This commit is contained in:
Bruce Ashfield 2025-01-07 22:03:43 +00:00
parent b57f8a25a3
commit f9ba743dad

View File

@ -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