mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 12:50:22 +02:00
k3s: add seccomp distro feature requirement
k3s requires seccomp, and a runc with seccomp enabled for proper operation. runc has a distro feature check to enable seccomp, so if we enforce it as k3s feature, we'll also get a properly built runc and we'll work out of the box. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
This commit is contained in:
parent
5ee98852fb
commit
98daf1fa93
|
@ -33,6 +33,9 @@ GO_BUILD_LDFLAGS = "-X github.com/rancher/k3s/pkg/version.Version=${PV} \
|
|||
"
|
||||
BIN_PREFIX ?= "${exec_prefix}/local"
|
||||
|
||||
inherit features_check
|
||||
REQUIRED_DISTRO_FEATURES ?= "seccomp"
|
||||
|
||||
do_compile() {
|
||||
export GOPATH="${S}/src/import/.gopath:${S}/src/import/vendor:${STAGING_DIR_TARGET}/${prefix}/local/go"
|
||||
export CGO_ENABLED="1"
|
||||
|
|
Loading…
Reference in New Issue
Block a user