From 3f54467fd490975e89c1957106b6efb0e7ad5a9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Budai?= Date: Fri, 23 Jul 2021 14:31:54 +0200 Subject: [PATCH] deploy: add a workaround for a dnf bug on F34 --- schutzbot/deploy.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/schutzbot/deploy.sh b/schutzbot/deploy.sh index 9ea9311..81acfe5 100755 --- a/schutzbot/deploy.sh +++ b/schutzbot/deploy.sh @@ -83,6 +83,11 @@ gpgcheck=0 priority=5 EOF +# see https://bugzilla.redhat.com/show_bug.cgi?id=1985321 +if [[ $ID == fedora && $VERSION_ID == 34 ]]; then + retry sudo dnf -y upgrade selinux-policy +fi + # Installing koji-osbuild-tests package retry sudo dnf -y install koji-osbuild-tests