Thanks Martin,

This is now merged.

Bruce

In message: [meta-virtualization][PATCH 1/2] packagegroup-kubernets: add 
seccomp to REQUIRED_DISTRO_FEATURES
on 02/04/2021 Martin Jansa wrote:

> * 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 <[email protected]>
> ---
>  recipes-core/packagegroups/packagegroup-kubernetes.bb | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> 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 \
> -- 
> 2.30.2
> 

> 
> 
> 

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#6319): 
https://lists.yoctoproject.org/g/meta-virtualization/message/6319
Mute This Topic: https://lists.yoctoproject.org/mt/81797533/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to