aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2021-04-02 09:02:43 +0200
committerBruce Ashfield <bruce.ashfield@gmail.com>2021-04-06 20:27:38 -0400
commit1dda063e0cd9084697e6c205baf44e6b2397ad1a (patch)
treef8f3b7b7ec5bcf3956f05426969a67d32e9431ef
parent5be55ac5cfb266d01bfa272f4c94832b21eb7ad4 (diff)
downloadmeta-virtualization-1dda063e0cd9084697e6c205baf44e6b2397ad1a.tar.gz
meta-virtualization-1dda063e0cd9084697e6c205baf44e6b2397ad1a.tar.bz2
meta-virtualization-1dda063e0cd9084697e6c205baf44e6b2397ad1a.zip
packagegroup-kubernets: add seccomp to REQUIRED_DISTRO_FEATURES
* fixes world build: ERROR: Nothing RPROVIDES 'k3s-server' (but meta-virtualization/recipes-core/packagegroups/packagegroup-kubernetes.bb RDEPENDS on or otherwise requires it) k3s RPROVIDES k3s-server but was skipped: missing required distro feature 'seccomp' (not in DISTRO_FEATURES) NOTE: Runtime target 'k3s-server' is unbuildable, removing... Missing or unbuildable dependency chain was: ['k3s-server'] ERROR: Required build target 'meta-world-pkgdata' has no buildable providers. Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'packagegroup-kubernetes', 'k3s-server'] Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
-rw-r--r--recipes-core/packagegroups/packagegroup-kubernetes.bb4
1 files changed, 4 insertions, 0 deletions
diff --git a/recipes-core/packagegroups/packagegroup-kubernetes.bb b/recipes-core/packagegroups/packagegroup-kubernetes.bb
index ec528e0..237e72e 100644
--- a/recipes-core/packagegroups/packagegroup-kubernetes.bb
+++ b/recipes-core/packagegroups/packagegroup-kubernetes.bb
@@ -4,6 +4,10 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda
inherit packagegroup
+# k3s has this restriction
+inherit features_check
+REQUIRED_DISTRO_FEATURES ?= "seccomp"
+
PACKAGES = "\
packagegroup-kubernetes-base \
packagegroup-k8s-host \