- 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:
Dirk Mueller 2023-03-28 10:28:50 +00:00 committed by Git OBS Bridge
parent 717a46a1f5
commit 09b26da17b
6 changed files with 39 additions and 21 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c7f01be3afb45453429a88dc6c541f2fed13e186cc2e30c91f7c2eef039602fc
size 1661369

View File

@ -1,11 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQEzBAABCAAdFiEEr2D8o82qberRV+o6Z+OPeouiF3IFAmP8iFgACgkQZ+OPeoui
F3KHxQgAk7ZFn/k7Vqx1iYj1Osg9VoVV9cwMtcpat9Bef43hHm94TPL3d88RhmTl
3nRdKdU3MUjeL+jkJvZ0GHcNuSvjQZePGaiY0W913X8qxjzXu2HyHCCdPmGP8t1m
OMMpR08vsdI7rSaC+1yWMGLaHAT/eE7Z8G54WUxdndtuUIh+6aZr6w7gXs/D80cq
I/DK+k/S4jV6o4vK6oKFrQajF0dyVJ2MQmyLAlWglv1/HOC2LoH692bRIQ2DF6wo
hchKgnvEy18kWnAic3sF6qD6dSvl+4S/Nexo9Pg2YV2k84tvlN6x920Xij+M0AfO
Rp7Ed+4Bv9Ya7v4n4pFnUmNzWLHmAQ==
=3bFX
-----END PGP SIGNATURE-----

3
crun-1.8.3.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7eb2663ddf9a7bcda0b83fd88ea3dbb50f5d5827a85ebc109aec331957510b68
size 1687700

11
crun-1.8.3.tar.gz.asc Normal file
View File

@ -0,0 +1,11 @@
-----BEGIN PGP SIGNATURE-----
iQEzBAABCAAdFiEEr2D8o82qberRV+o6Z+OPeouiF3IFAmQepMgACgkQZ+OPeoui
F3JmJAgAj5R0Xbq3/aee9PltOH1oEfLUIe0mvG+hBdihpW5M+hhy2lb6UfXfrNYz
cONC9V6eAecGYwGHLrA1Cq925/tERoDf7D/tZjfSdNPiwgBAF6YM6gUfmDmegVPi
dCkrABAeEu00Z0UsuRDsKySLg13bZdbIa6Ns8sgPoClwhVzTMp46cyicWnAS2/i0
X3maciBtQ/Cmzr5psxLegXPP2jGfkufh7Rq9pJac6jV6v72yhv+wGNN2wBe+3ATf
yLclkHinsNzpp+vMp+jpDECiXPRSTLwixkcS1Rmz6zE9UPt4HfSFescPWNmiE1K1
WXH9Y5QAQrFAd5X38v/C8dcYrqZn7Q==
=nx71
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,22 @@
-------------------------------------------------------------------
Tue Mar 28 10:27:06 UTC 2023 - Dirk Müller <dmueller@suse.com>
- 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.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Feb 28 20:14:52 UTC 2023 - Niels Abspoel <aboe76@gmail.com> Tue Feb 28 20:14:52 UTC 2023 - Niels Abspoel <aboe76@gmail.com>

View File

@ -16,14 +16,14 @@
# #
Name: crun
Version: 1.8.3
Release: 0
Summary: OCI runtime written in C Summary: OCI runtime written in C
License: GPL-2.0-or-later License: GPL-2.0-or-later
Name: crun URL: https://github.com/containers/crun
Version: 1.8.1
Release: 0
Source0: https://github.com/containers/crun/releases/download/%{version}/%{name}-%{version}.tar.gz 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 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 # We always run autogen.sh
BuildRequires: autoconf BuildRequires: autoconf
BuildRequires: automake BuildRequires: automake
@ -40,7 +40,7 @@ BuildRequires: make
BuildRequires: python3 BuildRequires: python3
BuildRequires: python3-libmount BuildRequires: python3-libmount
BuildRequires: systemd-devel BuildRequires: systemd-devel
%ifnarch %ix86 %ifnarch %{ix86}
BuildRequires: criu-devel >= 3.15 BuildRequires: criu-devel >= 3.15
%endif %endif
%ifarch x86_64 aarch64 %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" export LIBKRUN="--with-libkrun"
%endif %endif
./autogen.sh ./autogen.sh
%configure --disable-silent-rules $LIBKRUN CFLAGS='-I /usr/include/libseccomp' %configure --disable-silent-rules $LIBKRUN CFLAGS='-I %{_includedir}/libseccomp'
%make_build %make_build
# TODO: # TODO:
@ -78,7 +78,6 @@ ln -s %{_bindir}/crun %{buildroot}%{_bindir}/krun
%endif %endif
%files %files
%defattr(-,root,root)
%license COPYING %license COPYING
%doc README.md %doc README.md
%doc SECURITY.md %doc SECURITY.md