meta-virtualization/recipes-containers/crun/crun_git.bb
Bruce Ashfield 28472ab0d6 crun: update to v1.5
Bumping crun to version 1.5-41-gce7533a, which comprises the following commits:

    ad9008b copr: depend on wasmtime-c-api for shared lib
    972d595 krun: add support for krun-sev
    e539aae tests: fix fedora rawhide mockbuild
    559902d autobuild copr rpms with wasmtime support
    d39f45d wasmtime: always grant filesystem capability for wrkdir inside container
    b937322 wasmtime: inherit argv from handler argument instead of process
    477ecc8 crun: restore will work on realpath
    1083f9d tests,podman: skip push to local registry with authorization
    29599a5 tests: disable login/logout tests
    8ff3eba rpm/Makefile: Fix copr build (follow-up on #979)
    f5244c7 rpm/Makefile: install all dependencies on mock environments
    a37b06a rpm/Makefile: install git-core in tarball-prep
    ab18c71 cgroup: change delegate cgroup after cgroupns creation
    4716692 cgroup: add new function libcrun_cgroup_enter_finalize
    9139896 tests: disable broken test
    a45faa2 rpm/Makefile: autobuild rpms on podman-next copr
    7ea284f src: make some error messages lower case
    43f420a syntax-check: enable prohibit atoi and atof
    9920e7b wasmer: move definitions earlier
    54e2519 wasmer: drop not needed indentation
    54fe445 wasmer: fix errors return code
    86f9a5c syntax-check: enable prohibit always true header tests
    a07112c syntax-check: enable no period at end of message check
    2656de5 maint.mk: update from upstream gnulib
    3df1458 linux: fix build with glibc 2.36
    14b2102 pidfd: fallback on ENOSYS
    fd01ef4 nix: allow to pass extra args to the runtime
    a91e905 NEWS: tag 1.5
    2c94290 nix: update nix dependencies
    76ead7b wasm: add support for running containers using wasmtime
    88e8710 python: unset LIBCRUN_RUN_OPTIONS_PREFORK for run
    9ceba95 crun: move config_file* to container
    639c98f cgroup: add fallback to io.weight
    c75b58d wasm,wasmedge: drop support for experimental WasmEdgeProcess

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-08-25 22:55:48 -04:00

48 lines
1.7 KiB
BlitzBasic

DESCRIPTION = "A fast and low-memory footprint OCI Container Runtime fully written in C."
LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
PRIORITY = "optional"
SRCREV_crun = "ce7533af1831880b637900b3d4d1b2d0bce9ef4b"
SRCREV_libocispec = "fb3c221d5849de9184f88b6929ce4a8c8fb55be9"
SRCREV_ispec = "54a822e528b91c8db63b873ad56daf200a2e5e61"
SRCREV_rspec = "8d0d6d41d096a8589dc998fa744e26763986a07b"
SRCREV_yajl = "f344d21280c3e4094919fd318bc5ce75da91fc06"
SRCREV_FORMAT = "crun_rspec"
SRC_URI = "git://github.com/containers/crun.git;branch=main;name=crun;protocol=https \
git://github.com/containers/libocispec.git;branch=main;name=libocispec;destsuffix=git/libocispec;protocol=https \
git://github.com/opencontainers/runtime-spec.git;branch=main;name=rspec;destsuffix=git/libocispec/runtime-spec;protocol=https \
git://github.com/opencontainers/image-spec.git;branch=main;name=ispec;destsuffix=git/libocispec/image-spec;protocol=https \
git://github.com/containers/yajl.git;branch=main;name=yajl;destsuffix=git/libocispec/yajl;protocol=https \
"
PV = "1.5.0+git${SRCREV_crun}"
S = "${WORKDIR}/git"
REQUIRED_DISTRO_FEATURES ?= "systemd"
inherit autotools-brokensep pkgconfig features_check
PACKAGECONFIG ??= ""
inherit features_check
REQUIRED_DISTRO_FEATURES ?= "seccomp"
DEPENDS = "yajl libcap go-md2man-native m4-native"
# TODO: is there a packageconfig to turn this off ?
DEPENDS += "libseccomp"
DEPENDS += "systemd"
DEPENDS += "oci-image-spec oci-runtime-spec"
do_configure:prepend () {
# extracted from autogen.sh in crun source. This avoids
# git submodule fetching.
mkdir -p m4
autoreconf -fi
}
do_install() {
oe_runmake 'DESTDIR=${D}' install
}