aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2020-05-14 08:37:18 -0400
committerDaniel J Walsh <dwalsh@redhat.com>2020-05-14 09:38:29 -0400
commit837b80bc07e1720ae70c55d1439a784d2bf29c11 (patch)
tree2a8a385df0f189bbb7da210d7069c063113afe1c
parent150679d7b10ad56b7f41d22810eb2c421edf9da5 (diff)
downloadpodman-837b80bc07e1720ae70c55d1439a784d2bf29c11.tar.gz
podman-837b80bc07e1720ae70c55d1439a784d2bf29c11.tar.bz2
podman-837b80bc07e1720ae70c55d1439a784d2bf29c11.zip
Default podman.spec to use crun
On systems with cgroupV2 runc will not currently work switch the default in spec file to use crun. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
-rw-r--r--contrib/spec/podman.spec.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/spec/podman.spec.in b/contrib/spec/podman.spec.in
index 8f2297a72..e4415c291 100644
--- a/contrib/spec/podman.spec.in
+++ b/contrib/spec/podman.spec.in
@@ -80,13 +80,14 @@ BuildRequires: libselinux-devel
BuildRequires: pkgconfig
BuildRequires: make
BuildRequires: systemd-devel
-Requires: runc
Requires: skopeo-containers
Requires: containernetworking-plugins >= 0.6.0-3
Requires: iptables
%if 0%{?rhel} <= 7
Requires: container-selinux
%else
+Requires: oci-runtime
+Recommends: crun
Recommends: container-selinux
Recommends: slirp4netns
Recommends: fuse-overlayfs