From: Bruce Ashfield <bruce.ashfield@gmail.com>
To: martin.jansa@gmail.com
Cc: meta-virtualization@lists.yoctoproject.org
Subject: Re: [meta-virtualization] [PATCH] packagegroup-container: respect seccomp in DISTRO_FEATURES
Date: Thu, 21 Nov 2024 04:30:22 +0000 [thread overview]
Message-ID: <Zz63Xqm67muzG4LN@gmail.com> (raw)
In-Reply-To: <20241120085033.3104538-1-martin.jansa@gmail.com>
Thanks for the fixup!
I appreciate the extra / extended builds that you do against
the layers and pickup these sorts of things that my functionality
based testing can miss.
merged.
Bruce
In message: [meta-virtualization] [PATCH] packagegroup-container: respect seccomp in DISTRO_FEATURES
on 20/11/2024 Martin Jansa via lists.yoctoproject.org wrote:
> * fix f53b101d455d7e7447fa83f2faecb5e05d595b3e
>
> * you might want to skip whole packagegroup-netavark without
> seccomp, but without this parsing world in DISTRO without
> seccomp fails with:
>
> ERROR: Nothing RPROVIDES 'netavark' (but meta-virtualization/recipes-core/packagegroups/packagegroup-container.bb RDEPENDS on or otherwise requires it)
> netavark was skipped: missing required distro feature 'seccomp' (not in DISTRO_FEATURES)
> NOTE: Runtime target 'netavark' is unbuildable, removing...
> Missing or unbuildable dependency chain was: ['netavark']
> ERROR: Nothing RPROVIDES 'packagegroup-docker' (but meta-virtualization/recipes-core/packagegroups/packagegroup-container.bb RDEPENDS on or otherwise requires it)
> No eligible RPROVIDERs exist for 'packagegroup-docker'
> NOTE: Runtime target 'packagegroup-docker' is unbuildable, removing...
> Missing or unbuildable dependency chain was: ['packagegroup-docker']
> ERROR: Nothing RPROVIDES 'packagegroup-oci' (but meta-virtualization/recipes-core/packagegroups/packagegroup-container.bb RDEPENDS on or otherwise requires it)
> No eligible RPROVIDERs exist for 'packagegroup-oci'
> NOTE: Runtime target 'packagegroup-oci' is unbuildable, removing...
> Missing or unbuildable dependency chain was: ['packagegroup-oci']
> ERROR: Nothing RPROVIDES 'packagegroup-container' (but meta-virtualization/recipes-core/packagegroups/packagegroup-container.bb RDEPENDS on or otherwise requires it)
> No eligible RPROVIDERs exist for 'packagegroup-container'
> NOTE: Runtime target 'packagegroup-container' is unbuildable, removing...
> Missing or unbuildable dependency chain was: ['packagegroup-container']
> ERROR: Nothing RPROVIDES 'packagegroup-lxc' (but meta-virtualization/recipes-core/packagegroups/packagegroup-container.bb RDEPENDS on or otherwise requires it)
> No eligible RPROVIDERs exist for 'packagegroup-lxc'
> NOTE: Runtime target 'packagegroup-lxc' is unbuildable, removing...
> Missing or unbuildable dependency chain was: ['packagegroup-lxc']
> ERROR: Nothing RPROVIDES 'packagegroup-cni' (but meta-virtualization/recipes-core/packagegroups/packagegroup-container.bb RDEPENDS on or otherwise requires it)
> No eligible RPROVIDERs exist for 'packagegroup-cni'
> NOTE: Runtime target 'packagegroup-cni' is unbuildable, removing...
> Missing or unbuildable dependency chain was: ['packagegroup-cni']
> ERROR: Nothing RPROVIDES 'aardvark-dns' (but meta-virtualization/recipes-core/packagegroups/packagegroup-container.bb RDEPENDS on or otherwise requires it)
> aardvark-dns was skipped: missing required distro feature 'seccomp' (not in DISTRO_FEATURES)
> NOTE: Runtime target 'aardvark-dns' is unbuildable, removing...
> Missing or unbuildable dependency chain was: ['aardvark-dns']
> ERROR: Nothing RPROVIDES 'conmon' (but meta-virtualization/recipes-core/packagegroups/packagegroup-container.bb RDEPENDS on or otherwise requires it)
> conmon was skipped: missing required distro feature 'seccomp' (not in DISTRO_FEATURES)
> NOTE: Runtime target 'conmon' is unbuildable, removing...
> Missing or unbuildable dependency chain was: ['conmon']
>
> Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
> ---
> recipes-core/packagegroups/packagegroup-container.bb | 5 ++---
> 1 file changed, 2 insertions(+), 3 deletions(-)
>
> diff --git a/recipes-core/packagegroups/packagegroup-container.bb b/recipes-core/packagegroups/packagegroup-container.bb
> index aba1d3e1..21402d65 100644
> --- a/recipes-core/packagegroups/packagegroup-container.bb
> +++ b/recipes-core/packagegroups/packagegroup-container.bb
> @@ -48,13 +48,12 @@ RDEPENDS:packagegroup-cni = " \
> "
>
> RDEPENDS:packagegroup-netavark = " \
> - netavark \
> - aardvark-dns \
> + ${@bb.utils.contains('DISTRO_FEATURES', 'seccomp', 'netavark aardvark-dns', '', d)} \
> "
>
> RDEPENDS:packagegroup-container-tools = " \
> skopeo \
> - conmon \
> + ${@bb.utils.contains('DISTRO_FEATURES', 'seccomp', 'conmon', '', d)} \
> umoci \
> ${@bb.utils.contains('VIRTUAL-RUNTIME_container_engine','podman','podman-tui nerdctl podman-compose','',d)} \
> ${@bb.utils.contains_any('VIRTUAL-RUNTIME_container_engine','dcoker docker-moby','docker-compose','',d)} \
> --
> 2.47.0
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#8984): https://lists.yoctoproject.org/g/meta-virtualization/message/8984
> Mute This Topic: https://lists.yoctoproject.org/mt/109681277/1050810
> Group Owner: meta-virtualization+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [bruce.ashfield@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
prev parent reply other threads:[~2024-11-21 4:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-20 8:50 [PATCH] packagegroup-container: respect seccomp in DISTRO_FEATURES Martin Jansa
2024-11-21 4:30 ` Bruce Ashfield [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Zz63Xqm67muzG4LN@gmail.com \
--to=bruce.ashfield@gmail.com \
--cc=martin.jansa@gmail.com \
--cc=meta-virtualization@lists.yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.