From 9e3e02e693de37bd137d1d72e155e7fe384e5392 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Budai?= Date: Wed, 16 Dec 2020 12:37:31 +0100 Subject: [PATCH] schutzbot: remove dnf hacks We want to use `dnf` in the same way as our users do. This means we want the modular repositories and weak deps enabled. Fastestmirror is fine, it doesn't change the content set nor depsolving. Also, this is a workaround for rhbz#1908352, tl;dr: installing podman without weak deps makes it unusable on Fedora 32. --- schutzbot/deploy.sh | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/schutzbot/deploy.sh b/schutzbot/deploy.sh index 492098f..2d7daee 100755 --- a/schutzbot/deploy.sh +++ b/schutzbot/deploy.sh @@ -43,12 +43,8 @@ fi # Restart systemd to work around some Fedora issues in cloud images. sudo systemctl restart systemd-journald -# Remove Fedora's modular repositories to speed up dnf. -sudo rm -f /etc/yum.repos.d/fedora*modular* - -# Enable fastestmirror and disable weak dependency installation to speed up -# dnf operations. -echo -e "fastestmirror=1\ninstall_weak_deps=0" | sudo tee -a /etc/dnf/dnf.conf +# 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.