From 422281698a4586f4fc6d27e159a4d522732779ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Budai?= Date: Wed, 16 Nov 2022 16:24:57 +0100 Subject: [PATCH] packer: add a workaround for broken podman from 9.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Podman doesn't work when installed from 9.1 repositories on 9.0 image. I found that upgrading the whole system helps. Sadly, that requires removing python-unversioned-command for some reason. Signed-off-by: Ondřej Budai --- tools/appsre-build-worker-packer.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tools/appsre-build-worker-packer.sh b/tools/appsre-build-worker-packer.sh index 2bf850491..ec4367bfb 100755 --- a/tools/appsre-build-worker-packer.sh +++ b/tools/appsre-build-worker-packer.sh @@ -22,6 +22,12 @@ elif [ -n "$GIT_BRANCH" ]; then fi if [ "$ON_JENKINS" = false ]; then + # work around not working podman from 9.1 on a 9.0 image + # see https://bugzilla.redhat.com/show_bug.cgi?id=2143282 + # TODO: Remove me when the bug is fixed or we switch to 9.1 + sudo dnf remove -y python-unversioned-command + sudo dnf upgrade -y + sudo dnf install -y podman jq fi