deploy: work around a podman bug in CS8

See the comment.

Signed-off-by: Ondřej Budai <ondrej@budai.cz>
This commit is contained in:
Ondřej Budai 2022-03-21 10:01:16 +01:00 committed by Ondřej Budai
parent f0a17d19f0
commit 99aad294dd

View file

@ -68,6 +68,13 @@ if [[ $ID == "rhel" && ${VERSION_ID%.*} == "9" ]]; then
sudo systemctl stop tmp.mount && sudo systemctl mask tmp.mount
fi
if [[ $ID == "centos" && $VERSION_ID == "8" ]]; then
# Workaround for https://bugzilla.redhat.com/show_bug.cgi?id=2065292
# Remove when podman-4.0.2-2.el8 is in Centos 8 repositories
greenprint "Updating libseccomp on Centos 8"
sudo dnf upgrade -y libseccomp
fi
# Distro version that this script is running on.
DISTRO_VERSION=${ID}-${VERSION_ID}