From a28e4ab9af9d85aee4e00615859b27cf1855d724 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Budai?= Date: Wed, 16 Dec 2020 12:39:22 +0100 Subject: [PATCH] schutzbot: remove dnf upgrade Fedora 31 is EOL. We don't need this anymore. --- schutzbot/deploy.sh | 9 --------- 1 file changed, 9 deletions(-) diff --git a/schutzbot/deploy.sh b/schutzbot/deploy.sh index 5e73e48..37f908c 100755 --- a/schutzbot/deploy.sh +++ b/schutzbot/deploy.sh @@ -43,15 +43,6 @@ fi # Enable fastestmirror to speed up dnf operations. echo -e "fastestmirror=1" | sudo tee -a /etc/dnf/dnf.conf -# Ensure we are using the latest dnf since early revisions of Fedora 31 had -# some dnf repo priority bugs like BZ 1733582. -# NOTE(mhayden): We can exclude kernel updates here to save time with dracut -# and module updates. The system will not be rebooted in CI anyway, so a -# kernel update is not needed. -if [[ $ID == fedora ]]; then - sudo dnf -y upgrade --exclude kernel --exclude kernel-core -fi - # Add osbuild team ssh keys. cat schutzbot/team_ssh_keys.txt | tee -a ~/.ssh/authorized_keys > /dev/null