meta-virtualization/recipes-core/packagegroups/packagegroup-container.bb
Jörg Sommer 002aaf7029 packagegroup-container: require ipv6 for podman
The recipe *podman* requires the distro feature *ipv6*. Using a distro
without it causes the build of *packagegroup-container* fails, even if
*packagegroup-podman* is not used:

    ERROR: Nothing RPROVIDES 'podman' (but /build/../work/layers-3rdparty/meta-virtualization/recipes-core/packagegroups/packagegroup-container.bb RDEPENDS on or otherwise requires it)
    podman was skipped: missing required distro feature 'ipv6' (not in DISTRO_FEATURES)
    NOTE: Runtime target 'podman' is unbuildable, removing...
    Missing or unbuildable dependency chain was: ['podman']
    NOTE: Runtime target 'packagegroup-docker' is unbuildable, removing...
    Missing or unbuildable dependency chain was: ['packagegroup-docker', 'podman']

Signed-off-by: Jörg Sommer <joerg.sommer@navimatix.de>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2023-11-06 16:21:12 +00:00

50 lines
1007 B
BlitzBasic

SUMMARY = "All packages for container host"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
inherit packagegroup
COMPATIBLE_HOST = "^(?!(mips|riscv)).*"
PACKAGES = "\
packagegroup-container \
packagegroup-lxc \
packagegroup-docker \
packagegroup-oci \
${@bb.utils.contains('DISTRO_FEATURES', 'seccomp ipv6', \
'packagegroup-podman', '', d)} \
packagegroup-containerd \
"
# everything and the kitchen sink, used for building/installing
# many things at once.
RDEPENDS:${PN} = " \
packagegroup-lxc \
packagegroup-docker \
packagegroup-oci \
"
RDEPENDS:packagegroup-lxc = " \
lxc \
"
RDEPENDS:packagegroup-docker = " \
docker \
"
RDEPENDS:packagegroup-podman = " \
podman \
"
RDEPENDS:packagegroup-oci = " \
virtual-runc \
oci-systemd-hook \
oci-runtime-tools \
oci-image-tools \
"
RDEPENDS:packagegroup-containerd = " \
virtual-containerd \
"