Accepting request 878678 from home:dfaggioli:Virtualization
crun is a fast and low-memory footprint OCI Container Runtime fully written in C. In this package, it is built with the support for libkrun enabled. This means that it will be possible to run containers as lightweight VMs, directly from podman (see here: https://copr.fedorainfracloud.org/coprs/slp/crun-krun/) OBS-URL: https://build.opensuse.org/request/show/878678 OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/crun?expand=0&rev=1
This commit is contained in:
commit
8b50eb06ea
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
3
crun-0.18.tar.gz
Normal file
3
crun-0.18.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:913191076ceaca7d8809f776894bb37be9271de82c06a810697d6a8f4746e241
|
||||||
|
size 1394857
|
2
crun-rpmlintrc
Normal file
2
crun-rpmlintrc
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# the warning is a false positive, as the call to chdir is actually there
|
||||||
|
addFilter (".*missing-call-to-chdir-with-chroot.*")
|
15
crun.changes
Normal file
15
crun.changes
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Mar 13 01:12:19 UTC 2021 - Dario Faggioli <dfaggioli@suse.com>
|
||||||
|
|
||||||
|
- Suppress the (false positive) rpmlint warning
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Mar 13 00:43:54 UTC 2021 - Dario Faggioli <dfaggioli@suse.com>
|
||||||
|
|
||||||
|
- Some fixes to the spec file (add some %doc, remove unused macros, etc)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Mar 11 08:08:36 UTC 2021 - Dario Faggioli <dfaggioli@suse.com>
|
||||||
|
|
||||||
|
- Initial package for 0.18
|
||||||
|
Based on the package by Giuseppe Scrivano <gscrivan@redhat.com>
|
69
crun.spec
Normal file
69
crun.spec
Normal file
@ -0,0 +1,69 @@
|
|||||||
|
#
|
||||||
|
# spec file for package crun
|
||||||
|
#
|
||||||
|
# Copyright (c) 2021 SUSE LLC
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
Summary: OCI runtime written in C
|
||||||
|
Name: crun
|
||||||
|
Version: 0.18
|
||||||
|
Release: 0
|
||||||
|
Source0: https://github.com/containers/crun/releases/download/%{version}/%{name}-%{version}.tar.gz
|
||||||
|
License: GPL-2.0-or-later
|
||||||
|
URL: https://github.com/containers/crun
|
||||||
|
# We always run autogen.sh
|
||||||
|
BuildRequires: autoconf
|
||||||
|
BuildRequires: automake
|
||||||
|
BuildRequires: gcc
|
||||||
|
BuildRequires: python
|
||||||
|
BuildRequires: git-core
|
||||||
|
BuildRequires: libcap-devel
|
||||||
|
BuildRequires: systemd-devel
|
||||||
|
BuildRequires: libyajl-devel
|
||||||
|
BuildRequires: libseccomp-devel
|
||||||
|
BuildRequires: libselinux-devel
|
||||||
|
BuildRequires: python3-libmount
|
||||||
|
BuildRequires: libtool
|
||||||
|
BuildRequires: go-md2man
|
||||||
|
BuildRequires: glibc-devel-static
|
||||||
|
BuildRequires: libkrun-devel >= 0.1.4
|
||||||
|
%ifnarch %ix86
|
||||||
|
BuildRequires: criu-devel >= 3.15
|
||||||
|
%endif
|
||||||
|
Requires: libkrun0 >= 0.1.4
|
||||||
|
|
||||||
|
%description
|
||||||
|
crun is a runtime for running OCI containers. It is built with libkrun support
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup
|
||||||
|
|
||||||
|
%build
|
||||||
|
./autogen.sh
|
||||||
|
%configure --disable-silent-rules --with-libkrun CFLAGS='-I /usr/include/libseccomp'
|
||||||
|
%make_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%make_install
|
||||||
|
rm -rf %{buildroot}/%{_libdir}/lib*
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%license COPYING
|
||||||
|
%doc README.md
|
||||||
|
%doc SECURITY.md
|
||||||
|
%{_bindir}/%{name}
|
||||||
|
%{_mandir}/man1/*
|
||||||
|
|
||||||
|
%changelog
|
Loading…
Reference in New Issue
Block a user