summaryrefslogtreecommitdiff
path: root/contrib/cirrus/packer/fedora_packaging.sh
diff options
context:
space:
mode:
authorChris Evich <cevich@redhat.com>2020-07-29 14:08:41 -0400
committerChris Evich <cevich@redhat.com>2020-07-31 10:10:24 -0400
commitba4a1e64dbfd376eeac21f46549cfc30186c22a2 (patch)
tree5280b582d26bc4f1166621b0fc2c5380499cf07a /contrib/cirrus/packer/fedora_packaging.sh
parent543606c55c05c43bfa11ecee1e3a146c1c717ba0 (diff)
downloadpodman-ba4a1e64dbfd376eeac21f46549cfc30186c22a2.tar.gz
podman-ba4a1e64dbfd376eeac21f46549cfc30186c22a2.tar.bz2
podman-ba4a1e64dbfd376eeac21f46549cfc30186c22a2.zip
Cirrus: Install golang 1.14 on Ubuntu
This more/less reverts efd142214 + updates to 1.13 on all Ubuntus for all `containers` projects. Signed-off-by: Chris Evich <cevich@redhat.com>
Diffstat (limited to 'contrib/cirrus/packer/fedora_packaging.sh')
-rw-r--r--contrib/cirrus/packer/fedora_packaging.sh15
1 files changed, 7 insertions, 8 deletions
diff --git a/contrib/cirrus/packer/fedora_packaging.sh b/contrib/cirrus/packer/fedora_packaging.sh
index e5a2c68e6..4a8f62e45 100644
--- a/contrib/cirrus/packer/fedora_packaging.sh
+++ b/contrib/cirrus/packer/fedora_packaging.sh
@@ -37,14 +37,13 @@ fi
$BIGTO ooe.sh $SUDO dnf update -y
-# While both runc and crun are needed in the support of different distros
-# and environments, packaging will need to instal one and suggesting the other.
-# This can cause some ambiguity for automation, where more concrete, predictable
-# behavior is desirable. Instead of fighting with or complicating the packaging
-# itself, workaround the problem. Always removing 'runc' in Fedora since it's
-# exclusively cgroupsv2 focused as of release 31. However, ensure the runc
-# is downloaded to $PACKAGE_DOWNLOAD_DIR for the minority of use-cases where
-# automation needs to swap it in.
+# Fedora, as of 31, uses cgroups v2 by default. runc does not support
+# cgroups v2, only crun does. (As of 2020-07-30 runc support is
+# forthcoming but not even close to ready yet). To ensure a reliable
+# runtime environment, force-remove runc if it is present.
+# However, because a few other repos. which use these images still need
+# it, ensure the runc package is cached in $PACKAGE_DOWNLOAD_DIR so
+# it may be swap it in when required.
REMOVE_PACKAGES=(runc)
INSTALL_PACKAGES=(\