meta-virtualization/recipes-containers/crun/crun_git.bb
Bruce Ashfield c431b46959 crun: update to v1.9.2
Bumping crun to version 1.9.2-12-g8af8ee2, which comprises the following commits:

    bdb95d6 features: export intelRDT status
    e2f9853 update: support update of Intel RDT
    05bc600 libcrun: support update of Intel RDT
    41ae2a2 libcrun: plug Intel RDT support
    52d5faa libcrun: add Intel RDT support functions
    a7a1af9 container: fix early return
    122f8ae linux: open mounts before setgroups if in a userns
    64105d9 Use overlay and single nix derivation
    35274d3 NEWS: tag 1.9.2
    8f6b76f tests, podman: enable more tests
    255268d Reset the inherited cpu affinity after moving to cgroup
    745b6d9 tests, podman: run tests on overlay
    f42e279 tests, podman: get more information on the environment
    379b17c tests, podman: avoid deprecated options
    bd251c9 rpm: do not special case krun man
    fe4e15d build: install krun.1 only if krun is enabled
    0cabf0c rpm: fix manpage installation
    67ee730 Packit: notify @containers/packit-build team on failed tasks
    1f2769e linux: fix fallback mechanism in a userns
    a0b7e18 NEWS: tag 1.9.1
    bb4e975 utils: partially rewrite improve error message patch
    14afa8a utils: fix ignore ENOTSUP when chmod a symlink
    0acb237 oci-validation,test: lock tap to @16.3.8
    bbb1c87 tests: install device-mapper-devel
    75dd83c podman, test: disable more tests failing in the CI
    98db1d2 utils: improve error message for ensure_dir
    57262a2 utils: ignore ENOTSUP when chmod a symlink
    523eed3 linux: add new fallback when mount fails with EBUSY
    2239c50 linux: teach MS_MOVE to do_mount
    c9a1a12 Add man page for krun
    8645d1a Fix CentOS 7 Build by Checking if FSOPEN_CLOEXEC exists
    a538ac4 NEWS: tag 1.9
    1e2f0c4 fix: correctly handle unknow signal string
    41fa779 crun delete: call systemd's reset-failed
    76b80ae fix random errors

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2023-11-06 16:21:12 +00:00

46 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 = "8af8ee2f59ae39adf848b7f6be2193c1eb6bfa0f"
SRCREV_libocispec = "19c05670c37a42c217caa7b141bcaada7867cc15"
SRCREV_ispec = "9615142d016838b5dfe7453f80af0be74feb5c7c"
SRCREV_rspec = "720792f25ae6e9ee6b1332db698f37659e69ce8d"
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.9.2+git${SRCREV_crun}"
S = "${WORKDIR}/git"
REQUIRED_DISTRO_FEATURES ?= "systemd seccomp"
inherit autotools-brokensep pkgconfig features_check
PACKAGECONFIG ??= ""
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"
DEPENDS:append:libc-musl = " argp-standalone"
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
}