* [PATCH] packagegroup-container: respect seccomp in DISTRO_FEATURES
@ 2024-11-20 8:50 Martin Jansa
2024-11-21 4:30 ` [meta-virtualization] " Bruce Ashfield
0 siblings, 1 reply; 2+ messages in thread
From: Martin Jansa @ 2024-11-20 8:50 UTC (permalink / raw)
To: meta-virtualization; +Cc: Martin Jansa
* 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
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [meta-virtualization] [PATCH] packagegroup-container: respect seccomp in DISTRO_FEATURES
2024-11-20 8:50 [PATCH] packagegroup-container: respect seccomp in DISTRO_FEATURES Martin Jansa
@ 2024-11-21 4:30 ` Bruce Ashfield
0 siblings, 0 replies; 2+ messages in thread
From: Bruce Ashfield @ 2024-11-21 4:30 UTC (permalink / raw)
To: martin.jansa; +Cc: meta-virtualization
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]
> -=-=-=-=-=-=-=-=-=-=-=-
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-11-21 4:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-20 8:50 [PATCH] packagegroup-container: respect seccomp in DISTRO_FEATURES Martin Jansa
2024-11-21 4:30 ` [meta-virtualization] " Bruce Ashfield
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.