- update to 1.8.3:
* update: initialize the rt limits only on cgroup v1. * lua bindings for libcrun. * wasmedge: add current directory to preopen paths. * linux: inherit parent mount flags when making a path masked. * libcrun: custom annotation to set the scheduler for the container process. * cgroup: fallback to blkio.bfq files if blkio is not available on cgroup v1. * cgroup: initialize rt limits when using systemd. * tty: chown the tty to the exec user instead of the user specified to create the container. * cgroup: fallback to create cgroupfs as sibling of the current cgroup if there is none specified and it cannot be created in the root cgroup. OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/crun?expand=0&rev=22
This commit is contained in:
13
crun.spec
13
crun.spec
@@ -16,14 +16,14 @@
|
||||
#
|
||||
|
||||
|
||||
Name: crun
|
||||
Version: 1.8.3
|
||||
Release: 0
|
||||
Summary: OCI runtime written in C
|
||||
License: GPL-2.0-or-later
|
||||
Name: crun
|
||||
Version: 1.8.1
|
||||
Release: 0
|
||||
URL: https://github.com/containers/crun
|
||||
Source0: https://github.com/containers/crun/releases/download/%{version}/%{name}-%{version}.tar.gz
|
||||
Source1: https://github.com/containers/crun/releases/download/%{version}/%{name}-%{version}.tar.gz.asc
|
||||
URL: https://github.com/containers/crun
|
||||
# We always run autogen.sh
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
@@ -40,7 +40,7 @@ BuildRequires: make
|
||||
BuildRequires: python3
|
||||
BuildRequires: python3-libmount
|
||||
BuildRequires: systemd-devel
|
||||
%ifnarch %ix86
|
||||
%ifnarch %{ix86}
|
||||
BuildRequires: criu-devel >= 3.15
|
||||
%endif
|
||||
%ifarch x86_64 aarch64
|
||||
@@ -59,7 +59,7 @@ crun is a runtime for running OCI containers. It is built with libkrun support
|
||||
export LIBKRUN="--with-libkrun"
|
||||
%endif
|
||||
./autogen.sh
|
||||
%configure --disable-silent-rules $LIBKRUN CFLAGS='-I /usr/include/libseccomp'
|
||||
%configure --disable-silent-rules $LIBKRUN CFLAGS='-I %{_includedir}/libseccomp'
|
||||
%make_build
|
||||
|
||||
# TODO:
|
||||
@@ -78,7 +78,6 @@ ln -s %{_bindir}/crun %{buildroot}%{_bindir}/krun
|
||||
%endif
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%license COPYING
|
||||
%doc README.md
|
||||
%doc SECURITY.md
|
||||
|
Reference in New Issue
Block a user