mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2026-01-07 17:16:29 +01:00
Bumping crun to version 1.23.1-9-gca8e5c74, which comprises the following commits:
eb9912e0 build: add check for static builds
bb04c555 libocispec: sync
a9d12996 linux: never chown devices
eecadda9 tests: fix test_mount return type
38c5795e tests: add capabilities to net test
d20b23db NEWS: tag 1.23.1
f56fc445 utils: add bounds checking for Unix domain socket paths
59066cc9 ring_buffer: do not use the reserved byte
abc42863 utils: write to ring buffer whenever there is space available
7d21fa1e tests, podman: skip auth test
3fc25616 NEWS: tag version 1.23
69c3ba16 krun: define KRUN_NITRO_IMG_TYPE_EIF if missing
aa9e1c51 krun: drop unused variable
55d603f2 krun: enable virtio-gpu
e76c7451 container: refactor container_init_setup
7acad117 container: refactor libcrun_container_run_internal
e83abf35 linux: refactor do_mounts
f9edd528 container: use xmalloc instead of malloc and OOM
2dbee366 criu: Add support for tcp-close
3040a07f cgroup-resources: extract common pattern
d30d1512 linux: fix regression in libcrun_configure_network
220a39a6 krun: Give container access to nitro_enclaves device
ac297b79 krun: Allow /dev/kvm to be unavailable with nitro
500f1c92 krun: Configure nitro enclave data if enabled
d9ddb935 krun: Use nitro flavor when indicated
702d09b7 krun: Open libkrun-nitro handle during loading
54771724 krun: End loop traversal when SEV device found
72b35020 linux: add missing crun_make_error
e2789c70 container: propagate error from exec setup
4e5375cb libcrun: inline can_skip into write_cgroup_resources_v2
ad9f90b7 tests: add test_bpf_devices
6f466dcc cgroup,systemd: do not install duplicated ebpf
edf66788 cgroup,systemd: check for loaded bpf on update
227bd0f1 cgroup,systemd: use BPFProgram=device if supported
832db004 write_devices_resources_v2: refactor
1dae52ba cgroup,systemd: allow empty slice in cgroupsPath
5610c0cf RPM/Packit: wasmedge support Fedora-only
39bdaaef Packit: disable propose_downstream for CentOS Stream
c6dfc871 RPM: placeholder check to silence rpmlint
8d61001d crun: print version even with invalid rundir
76805119 Remove dead code after exit
0b9aab09 handler: add NULL check to handler_manager_free
a755e043 utils: Add NULL pointer check to cleanup_close_vecp
66d710ce linux: add NULL check to cleanup_free_init_statusp
ce47a219 linux: Add NULL pointer checks to free_remount
54d4b042 string_map: ignore empty map
f25352f9 linux: limit mounts creation outside of namespace
d51df096 lua: clean up unused defines
4b7257d4 linux: fix regression with idmapped mounts
83f601d3 lua: fix build errors
4de19b63 NEWS: tag 1.22
aa082854 tests: install catatonit package
72e5468e tests: improve cpu_weight_systemd coverage
4998c928 cgroup: improve conversion from shares to weight
aaeeefc3 tests: install gperf on alpine
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
57 lines
2.4 KiB
BlitzBasic
57 lines
2.4 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 = "ca8e5c74c13dbd5b1125d0357a9081d283a50971"
|
|
SRCREV_libocispec = "68397329bc51a66c56938fc4111fac751d6fd3b0"
|
|
SRCREV_ispec = "64294bd7a2bf2537e1a6a34d687caae70300b0c4"
|
|
SRCREV_rspec = "82cca47c22f5e87880421381fe1f8e0ef541ab64"
|
|
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=${BB_GIT_DEFAULT_DESTSUFFIX}/libocispec;protocol=https \
|
|
git://github.com/opencontainers/runtime-spec.git;branch=main;name=rspec;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/libocispec/runtime-spec;protocol=https \
|
|
git://github.com/opencontainers/image-spec.git;branch=main;name=ispec;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/libocispec/image-spec;protocol=https \
|
|
git://github.com/containers/yajl.git;branch=main;name=yajl;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/libocispec/yajl;protocol=https \
|
|
"
|
|
|
|
PV = "v1.23.1+git${SRCREV_crun}"
|
|
|
|
inherit autotools-brokensep pkgconfig
|
|
|
|
# if this is true, we'll symlink crun to runc for easier integration
|
|
# with container stacks
|
|
CRUN_AS_RUNC ?= "true"
|
|
|
|
PACKAGECONFIG ??= " \
|
|
caps external-yajl man \
|
|
${@bb.utils.contains('DISTRO_FEATURES', 'seccomp', 'seccomp', '', d)} \
|
|
${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)} \
|
|
"
|
|
|
|
PACKAGECONFIG[caps] = "--enable-caps,--disable-caps,libcap"
|
|
PACKAGECONFIG[external-yajl] = "--disable-embedded-yajl,--enable-embedded-yajl,yajl"
|
|
# whether to regenerate manpages that are already present in the repo
|
|
PACKAGECONFIG[man] = ",,go-md2man-native"
|
|
PACKAGECONFIG[seccomp] = "--enable-seccomp,--disable-seccomp,libseccomp"
|
|
PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd,systemd"
|
|
|
|
DEPENDS = "m4-native"
|
|
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
|
|
if [ -n "${CRUN_AS_RUNC}" ]; then
|
|
ln -sr "${D}/${bindir}/crun" "${D}${bindir}/runc"
|
|
fi
|
|
}
|