summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivan@redhat.com>2021-12-21 15:39:34 +0100
committerGiuseppe Scrivano <gscrivan@redhat.com>2021-12-21 15:49:32 +0100
commitfca66b6cb56c4cff69e995c8076599d63d75b6a5 (patch)
treee628132c044d5d86bdc2b18d931fb30897e53339 /contrib
parentf3d6672c7d95e09b312ac8db43e54618d4dd1662 (diff)
downloadpodman-fca66b6cb56c4cff69e995c8076599d63d75b6a5.tar.gz
podman-fca66b6cb56c4cff69e995c8076599d63d75b6a5.tar.bz2
podman-fca66b6cb56c4cff69e995c8076599d63d75b6a5.zip
ci: force scratch build for crun
force a version with this fix: https://github.com/containers/crun/pull/819 Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/cirrus/setup_environment.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/cirrus/setup_environment.sh b/contrib/cirrus/setup_environment.sh
index 8f535c7e7..43c709228 100755
--- a/contrib/cirrus/setup_environment.sh
+++ b/contrib/cirrus/setup_environment.sh
@@ -118,6 +118,11 @@ fi
case "$OS_RELEASE_ID" in
ubuntu) ;;
fedora)
+ # Force a crun version that has this fix: https://github.com/containers/crun/pull/819
+ # FIXME: Remove once a fixed crun made its way into Fedora
+ if test "$OS_RELEASE_VER" == "35"; then
+ yum upgrade -y https://kojipkgs.fedoraproject.org//work/tasks/684/80280684/crun-1.3-2.fc35.x86_64.rpm
+ fi
if ((CONTAINER==0)); then
# All SELinux distros need this for systemd-in-a-container
msg "Enabling container_manage_cgroup"