mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 12:50:22 +02:00

* 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>
45 lines
955 B
BlitzBasic
45 lines
955 B
BlitzBasic
SUMMARY = "packagegroups for various kubernets (and variants) roles"
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
|
|
|
|
inherit packagegroup
|
|
|
|
# k3s has this restriction
|
|
inherit features_check
|
|
REQUIRED_DISTRO_FEATURES ?= "seccomp"
|
|
|
|
PACKAGES = "\
|
|
packagegroup-kubernetes-base \
|
|
packagegroup-k8s-host \
|
|
packagegroup-k8s-node \
|
|
packagegroup-k3s-host \
|
|
packagegroup-k3s-node \
|
|
"
|
|
|
|
KUBERNETES_CRI ?= "containerd"
|
|
|
|
RDEPENDS_packagegroup-kubernetes-base = " \
|
|
packagegroup-${KUBERNETES_CRI} \
|
|
packagegroup-oci \
|
|
"
|
|
|
|
RDEPENDS_packagegroup-k8s-host = " \
|
|
packagegroup-kubernetes-base \
|
|
"
|
|
|
|
RDEPENDS_packagegroup-k8s-node = " \
|
|
packagegroup-kubernetes-base \
|
|
"
|
|
|
|
RDEPENDS_packagegroup-k3s-host = " \
|
|
packagegroup-kubernetes-base \
|
|
k3s-server \
|
|
k3s-cni \
|
|
"
|
|
|
|
RDEPENDS_packagegroup-k3s-node = " \
|
|
packagegroup-kubernetes-base \
|
|
k3s-agent \
|
|
k3s-cni \
|
|
"
|